RosettaCodeData/Task/Yellowstone-sequence/Zkl/yellowstone-sequence-3.zkl
2023-07-01 13:44:08 -04:00

6 lines
240 B
Text

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();