diff options
Revamp gnuplot plotting to generate better output
Using the pdfcairo terminal for generating fluid flow plots in gnuplot
using raw paraview-generated CSV exports generates high quality results.
Sadly the resulting files are both unoptimized and quite big which leads
to both large and unperformant documents (i.e. some PDF readers even crash)
As an alternative this new gnuplot structure generates the fluid plot
itself using the pngcairo terminal and includes the resulting
high-resolution PNG image into a normal pdfcairo plot. This works out
quite well.
As a side benefit the plot scripts are now much easier to maintain.
Diffstat (limited to 'img/common/velocity_fluid.gnuplot')
-rw-r--r-- | img/common/velocity_fluid.gnuplot | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/img/common/velocity_fluid.gnuplot b/img/common/velocity_fluid.gnuplot new file mode 100644 index 0000000..bd8e194 --- /dev/null +++ b/img/common/velocity_fluid.gnuplot @@ -0,0 +1,19 @@ +set terminal pngcairo size 3520, 656 + +set output 'tmp/'.plotname.'.png' + +load 'common/moreland.pal' + +set datafile separator ',' + +set size 1,1 +set margin 0,0,0,0 + +set yrange [0:4.1] +set xrange [0:22] +set cbrange [0:1.5] + +unset colorbox +unset key +unset tics +unset border |