On Thu, 1 Jul 2021, Cristián Arturo Ducoing Ruiz wrote:
Dear Gretl users/developers
One small problem that I don't know how to solve. I have done some graphs
and I have saved them as icons. I have modified the font size in the plot
set term pngcairo font "Arial Narrow,12" size 680,400 enhanced
When I save the graph as .png the size comes back to Arial 8. All the rest
of the changes are ok (line width, axis title, etc.) .
If you're editing a graph via the GUI with a view to having gretl save
it to file, you need to use the font selection mechanism in the GUI
editor. Than your choice will carry over to the PNG (or whatever)
If you specify a font by editing the "set term" line in the plot
commands window, then you'll need to save the gnuplot input file to
disk and run gnuplot on it yourself. Gretl doesn't preserve anything
from the user's "set term" line, since it may well be inappropriate
given the choice of output format via the menu.
One further suggestion: you can get gretl to save a graph as gnuplot
input, as in
gnuplot ... --output=mygraph.plt
then take charge of the details (including the "term" line), and
invoke gnuplot to produce the image in your format of choice.