If I generate a plot I use the WXT Terminal for an immediate check if
everything is plotted as desired.
Besides that, I would like to the have the same plot also in PNG, PDF
and SVG format.
When I use in gnuplot 5 the widget at the top of the plot window to
*manually* save the plots it seems that I get pretty "identical" PNG,
PDF, SVG plots.
However, I expected that with the following code the default settings
are such that I get (most) identical plots, but obviously some
adjustments are needed.
For example, the font in PNG is larger than in WXT.
reset
set output "Plot.png"
set term pngcairo enhanced size 742,525
plot sin(x)
set output "Plot.pdf"
set term pngcairo enhanced size 7.42cm,5.25cm # maybe needs adjustment?
replot
set output "Plot.svg"
set term svg enhanced size 742,525
replot
set term wxt enhanced size 742,525
replot
Which parameters need to be considered and adjusted (the widget
obviously does it) to always get the (most) identical look?
size, font, fontsize, fontscale, linewidth, others... ?
|