C++Guns – RoboBlog

19.04.2018

Gnuplot

Filed under: — Thomas @ 08:04

Paar Beispile aus dem täglich Gnuplot Leben

Interne Zählervariable für die X Achse nutzen
plot "data.dat" using ($0):1 with lines

Mehrere Spalten gleichzeitig plotten. Spalte 6 bis 9
plot for [col=6:9] "data.dat" using col with lines

Nur jede 100. Zeile plotten
plot "data.dat" every 100 using 1 with lines

Hoehenverteilung .dat
plot "buhne.dat" using ($0 <= 1 ? d=0:  d=d+sqrt(($2-lastx)**2+($3-lasty)**2), lastx=$2, lasty=$3, d ):4 with lines

Balken/Histogram
set style fill solid
plot "hist2.dat" with boxes

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress