Ausgabe Rendern
Aus ProgrammingWiki
Wiki-Quelltext dieser Seite.
<language>Java</language>
== Anzeige umwandeln ==
Die Ausgabe des letzten RUN Elements kann als Quelle für die Weiterbearbeitung in GNUPlot oder SVG verwendet werden.
<pre> <rendergnuplot></rendergnuplot> </pre>
<pre> <rendersvg></rendersvg> </pre>
== GNUPlot anzeigen ==
<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>
== SVG Anzeigen ==
<run id="4f413100694fc">
System.out.println("<?xml version='1.0' encoding='utf-8'?>");
System.out.println("<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>");
System.out.println("<svg xmlns='http://www.w3.org/2000/svg' width = '85mm' height = '54mm'>");
System.out.println("<text x='27' y='110' id='nameKomplett' style='font-size:8px'>Prof.Dr. Bjoern Adam Gustavsonn M. D. </text><text x='140' y='175' id='emailTEXT' style='font-size:6px'>E-Mail:</text> ");
System.out.println("<text x='175' y='175' id='email' style='font-size:6px'>derbjoern@adam.no</text> ");
System.out.println("<text x='140' y='165' id='webTEXT' style='font-size:6px'>Web:</text> ");
System.out.println("<text x='175' y='165' id='web' style='font-size:6px'>http://www.the.fishmaker.no/bjoern</text> ");
System.out.println("<text x='27' y='130' id='strasse' style='font-size:6px'>Am Fjord 5</text> ");
System.out.println("<text x='27' y='140' id='postleit' style='font-size:6px'>03624</text> ");
System.out.println("<text x='27' y='150' id='ort' style='font-size:6px'>Eisbergen</text> ");
System.out.println("<text x='27' y='160' id='bundesland' style='font-size:6px'>VC</text> ");
System.out.println("<text x='27' y='170' id='land' style='font-size:6px'>Norwegen</text> ");
System.out.println("<text x='140' y='125' id='firmaTEXT' style='font-size:6px'>Firma:</text> ");
System.out.println("<text x='175' y='125' id='firma' style='font-size:6px'>TheFishmaker GmbH </text> ");
System.out.println("<text x='140' y='135' id='positionTEXT' style='font-size:6px'>Position:</text> ");
System.out.println("<text x='175' y='135' id='position' style='font-size:6px'>Fishmaster</text> ");
System.out.println("<text x='140' y='145' id='telefonTEXT' style='font-size:6px'>Telefon:</text> ");
System.out.println("<text x='175' y='145' id='telefon' style='font-size:6px'>09183/91875-12</text> ");
System.out.println("<text x='140' y='155' id='mobilTEXT' style='font-size:6px'>Mobil:</text> ");
System.out.println("<text x='175' y='155' id='mobil' style='font-size:6px'>+310892/825943</text> ");
System.out.println("<rect style='opacity:0.20;fill:#5aa02c' id='rechteck1' width='210' height='38' x='75' y='55' rx='6' ry='10' />");
System.out.println("<rect style='opacity:0.20;fill:#447821' id='rechteck2' width='280' height='60' x='9.5' y='11.5' rx='6' ry='8' />");
System.out.println("<rect style='opacity:0.25;fill:#c6e9af' id='rechteck3' width='300' height='190' x='0' y='0' rx='7' ry='65' />");
System.out.println("<path style ='fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.14px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1' d='M 25.086584,116 L 163.77511,116 L 174.95967,116' id='linie1'/>");
System.out.println("</svg>");
</run>
<rendersvg></rendersvg>