JAVA Plot
Aus ProgrammingWiki
Wiki-Quelltext dieser Seite.
<language>Java</language>
<run id="4f3ea87354e63">
System.out.println("plot [x=0:5]exp(x),exp(4*x), 3**x, 10*3**x, 10**(2*x)");
</run>
<rendergnuplot></rendergnuplot>
<run id="4f3ead90503cd">
System.out.println("set xlabel 'n'");
System.out.println("set ylabel 'T(n)'");
System.out.println("set data style lines");
// wichtig für inline Daten die Quelle "-"
System.out.println("plot '-' using 1:2 ");
System.out.println("10 105 ");
System.out.println("60 2570 ");
System.out.println("110 11640 ");
System.out.println("160 27885 ");
System.out.println("210 41715 ");
System.out.println("260 73269 ");
System.out.println("310 100959 ");
System.out.println("360 143735 ");
System.out.println("410 174574 ");
System.out.println("460 242307 ");
System.out.println("510 301169 ");
System.out.println("560 357982 ");
System.out.println("610 422730 ");
System.out.println("");
</run>
<rendergnuplot></rendergnuplot>