I have a set of number data in properties under subtrees. Anyone knows of a food way to plot this in a graph, a basic line chart?

The headers are nested, not all numbers are under the same level.

If not in emacs, what software would you recommend?

@jrss
I remember seeing a way to so that with python and octave, check the org babble documentation.

@yisraeldov

Did you mean this:
orgmode.org/worg/org-contrib/b

which is based on gnuplot?

I haven't heard of before but it seems easy enough (I only want to create a simple graph with x and y).

I'll keep looking into it, need to get my date sorted so it's in a table, at least.

@jrss Actually I was referring to this. But I'm sure there is a way to do what you want with only elisp and gnuplot.

orgmode.org/worg/org-contrib/b

@jrss @ljwrites I hacked something together for this to make sure my estimated page counts (in properties) summed up below 15, but I think it could be modified to support plotting instead.

In an elisp code block, I copied and pasted the definition of the built in org function org-property-values and modified it to allow duplicate values. With that I bet you could have your elisp block generate an org table, and then use org-plot: orgmode.org/manual/Org-Plot.ht

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!