# lorenz_commands.txt # # Usage: # gnuplot < lorenz_commands.txt # set term png set output "lorenz_time.png" set xlabel "<--- T --->" set ylabel "<--- X(T), Y(T), Z(T) --->" set title "X(T), Y(T), Z(T) versus Time" set grid set style data lines set timestamp plot "lorenz_data.txt" using 1:2 lw 3 linecolor rgb "blue",\ "" using 1:3 lw 3 linecolor rgb "red",\ "" using 1:4 lw 3 linecolor rgb "green" # # Second plot. # set output "lorenz_3d.png" set xlabel "<--- X(T) --->" set ylabel "<--- Y(T) --->" set zlabel "<--- Z(T) --->" set title "(X(T),Y(T),Z(T)) trajectory" set grid set style data lines set timestamp splot "lorenz_data.txt" using 2:3:4 lw 1 linecolor rgb "blue"