News for hackers. Stuff that matters.
Re:Gnuplotlib: Non-Painful Plotting for NumPy by ISL on Wednesday January 31, 2024 @09:43PM (#39212243)
Does it implement the greedy matching/parsing of gnuplot? Doesn't look like it?

  pl 'data.dat' u 1:3 w p pt 7 lc 3 tit 'Interesting measurements'
flows from my mind like breathing. I miss that brevity and speed so much when exploring datasets quickly in other languages....

It's not nearly as maintainable as more-verbose and well-specified languages, but it's far more readable than regex :).

Edit to add: simply plotting a two-column data file in Gnuplot is as simple as:

  pl 'data.dat'
the above plots the third column against the first column with blue circular dots and applies annotated text to the key/legend, as I prefer to do when exploring data for the first time...
Re:Gnuplotlib: Non-Painful Plotting for NumPy by 7thaccount on Wednesday January 31, 2024 @09:46PM (#39212259)
Just curious....can you tell me what that means? I was actually looking at gnuplot earlier, but it always intimidates me.

Edit: you responded fast with your edit, but can you explain the full command -verbose? :)

Re:Gnuplotlib: Non-Painful Plotting for NumPy by rwxrwxrwx on Wednesday January 31, 2024 @10:27PM (#39212455)
The command is equivalent to the more verbose:

  plot 'data.dat' using 1:3 with points pointtype 7 linecolor 3 title 'Interesting measurements'
Re:Gnuplotlib: Non-Painful Plotting for NumPy by 7thaccount on Thursday February 01, 2024 @11:18AM (#39217584)
Thank you!