Am 16. Oktober 2015 02:38:45 MESZ, schrieb Allin Cottrell <cottrell@wfu.edu>:
On Thu, 15 Oct 2015, Matteo Pelagatti wrote:
Hi all,
I am having a problem with the titles of the plots saved as pdf or eps when
variable names include underscores.
It seems like underscores are interpreted as in LaTeX formulas when the plot
is saved as pdf and eps.
Is this a bug? Is there a workaround?
I attach the same plot saved as bmp and pdf and you'll see the difference.
This is due to a change in behavior in gnuplot 5 relative to earlier
versions. Before, an underscore was by default just an underscore
but now "enhanced" mode is the default for titles, labels and so on,
and in that mode underscore produces a subscript.
In gretl's standard PNG output we've turned off enhanced mode to
avoid that problem but it seems we've forgotten to
do that for pdf
and eps (?). The trick is to include "noenhanced" in the line
of the gnuplot file that selects the "terminal" (output) type.
I'll look into it.
Allin Cottrell
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users