in reply to Re: Intro to plotting with perl
in thread Intro to plotting with perl
However, the linked node has a bunch of extraneous garbage. (Also, it doesn't even work, since it doesn't bother to flush the temporary file before using it.) All you really need is some version of:
open DATAFILE, ">$whatever"; # write data to DATAFILE close DATAFILE; open PLOT, "| gnuplot"; print PLOT <<EOS; ... p '$whatever' ... (gnuplot options) ... ... EOS close PLOT;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Intro to plotting with perl
by RichardK (Parson) on Jan 04, 2012 at 12:32 UTC | |
|
Re^3: Intro to plotting with perl
by Lotus1 (Vicar) on Jan 04, 2012 at 15:19 UTC | |
by educated_foo (Vicar) on Jan 04, 2012 at 22:44 UTC | |
by GrandFather (Saint) on Jan 05, 2012 at 06:41 UTC |