gctl_potential/data/shell2d/plot.gnu
2025-01-17 13:17:10 +08:00

31 lines
997 B
Gnuplot
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# png"plot.png"
set terminal png size 800,600
set output "plot.png"
#
set datafile separator ","
set key outside
# 21
set multiplot layout 2,1
#
set xlabel "angle (deg)"
set ylabel "gravity (mGal)"
set xrange [10:-10]
set key top left inside
plot "data/shell2d/shell2d_model_out.csv" using 2:3 with lines title "Vx", \
"data/shell2d/shell2d_model_out.csv" using 2:4 with lines title "Vz"
#
set xlabel "angle (deg)"
set ylabel "gradient (Eo)"
set xrange [10:-10]
set key top left inside
plot "data/shell2d/shell2d_model_out.csv" using 2:5 with lines title "Vxx", \
"data/shell2d/shell2d_model_out.csv" using 2:6 with lines title "Vxz", \
"data/shell2d/shell2d_model_out.csv" using 2:7 with lines title "Vzx", \
"data/shell2d/shell2d_model_out.csv" using 2:8 with lines title "Vzz"
#
unset multiplot