Gnuplot

De whats Wiki

Dreceres ràpides: navegació, cerca

Contingut

Establir el títol

gnuplot> set title "Throughput vs MessaLoad average vs Time"

Etiquetes per els eixos

gnuplot> set ylabel "Throughput (Bytes)" gnuplot> set xlabel "Message size (Bytes)"

Cuadricula

gnuplot> set grid

Rang en l'eix X

gnuplot> set xrange [0:90]

Volcar en un fitxer

gnuplot> set terminal png Terminal type set to 'png' Options are 'nocrop medium ' gnuplot> set output "grafica1.png"

Generar la grafica

gnuplot> plot "planetx.scs.cs.nyu.edu" using 1:2 with lines title "planetx.scs.cs.nyu.edu", "planet1.colbud.hu" using 1:2 with lines title "planetx.scs.cs.nyu.edu", "planetlab2.cs.unibo.it" using 1:2 with lines title "planetlab2.cs.unibo.it", "planet1.scs.cs.nyu.edu" using 1:2 with lines title "planet1.scs.cs.nyu.edu", "planetlab2.ucsd.edu" using 1:2 with lines title "planetlab2.ucsd.edu"


Link amb molta documentació

http://t16web.lanl.gov/Kawano/gnuplot/index-e.html