Export plot #1056
Replies: 5 comments 15 replies
-
I don't believe there are any plot exporters at this time. Though that sounds like a wonderful idea if you wanted to create a plugin. For now you need to save your filtered data to a file and then use something like R or gnuplot to generate the graph you wanted. I would really like to see the ability to create more types of plots, and the ability to save to a format that could be used by a web browser. Maybe someone else has a better suggestion. |
Beta Was this translation helpful? Give feedback.
-
My vision for this is a plugin that produces a Vega-Lite spec and/or a gnuplot script with the data inline, which can be piped to the appropriate utility perhaps after some customization. We're all terminal lovers here and both of those plotting programs are widely available/portable and good at what they do. My quick inspiration story goes like this: I have a three-month-old daughter and I saw the doctor plotting her weight curve along with various percentile curves. I found the baby weight data here, https://www.cdc.gov/growthcharts/html_charts/wtageinf.htm and after something like 22 keystrokes in VisiData, I had exactly what I had seen in the doctor's office. This is just amazing and everyone involved in achieving this result should be very proud. But it was a bit like going 1000 mph down a dead end. The decisions VisiData made regarding the plot were all great: axis labels, et cetera. But, what if I wanted to add my daughter's data and then publish the result? I'd be starting from scratch in gnuplot or Vega-Lite and it would take a lot longer to get the same plot. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
@saulpw I'm having a lot of fun with this thing so: more gratitude to you and the other contributors and maintainers. Since you have made
|
Beta Was this translation helpful? Give feedback.
-
+1 for |
Beta Was this translation helpful? Give feedback.
-
@hoclun-rigsep I just found this after working on my own version... See: |
Beta Was this translation helpful? Give feedback.
-
Hello.
Like many, I've been amazed by how quickly I can do what I want to do with Visidata. For instance I took the infant weight data from the CDC and very quickly plotted the various percentile tracks.
But what if I want to get the plot in some other format than terminal display? Is there an 'export to (svg/png/etc)' feature that I'm unaware of, or some sensible pipeline?
Beta Was this translation helpful? Give feedback.
All reactions