RosettaCodeData/Task/Yellowstone-sequence/Zkl/yellowstone-sequence-3.zkl

7 lines
240 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
gnuplot:=System.popen("gnuplot","w");
gnuplot.writeln("unset key; plot '-'");
yellowstoneW().pump(1_000, gnuplot.writeln.fp(" ")); // " 1\n", " 2\n", ...
gnuplot.writeln("e");
gnuplot.flush();
ask("Hit return to finish"); gnuplot.close();