@olamundo I didn’t know about py-gnuplot, but I used to use the other one back when I was using Python for analysis. It’s convenient, but not really necessary, as you can talk to gnuplot through a pipe.
@olamundo s/LSON/JSON/
@olamundo
Thanks! One thing about Panflute: I think it’s obsolete now, in a sense. I mean, it will continue to work, and you can use it if you have a deep need to use Python. But Pandoc has evolved to have native support for filters written in Lua, and they should be much, much faster than Python filters. That’s because Lua filters can operate directly on Pandoc’s internal data structures, while for Python filters to work, that needs to be serialized into LSON and then de-serialized back into the Pandoc AST. I have a vague plan to convert my filters into Lua, and I should add a note to my article with this.
@olamundo
Good luck. glad to help further if needed.
array data[4] = [-2, 3.14159, 3.5, 4.2]
set xrange [-5:5]
set yrange [-1:1]
set style fill solid
set border 0
set xzeroaxis
unset ytics
set xtics nomirror
unset key
set size 1, 0.3
set xtics axis
do for [i = 1:4] {
set object i circle at data[i], 0 fc "blue" size 0.05
}
plot NaN