On Sun, 16 Apr 2017, Artur Tarassow wrote:
Dear all,
I am experiencing some minor issues when trying to plot things. Actually, I
am not sure whether these are problems related to gnuplot or to gretl.
First, I really like the new "--font=fontspec" option; thanks again for
implementing this. I wrote a small function for plotting vectors which allows
the user to set a bunch of different options. You can find the function at
the bottom
I ran the following 5 scenarios of which only scenario 1 works as intended.
First there seems to be a problem with the ""literal set mono" option
which
rules out controlling the line width under both the "display" and
"pdf"
output.
Second, when the output format is pdf, I also can't control the font size;
irrespective of the dashed and monochrome options.
A couple of quick reactions. First, the new --font option is at
present only hooked up for PNG/display. I guess it should be
extended to PDF and EMF output, at least. Second, it seems that "set
mono" doesn't play nicely with "set linetype" specifications.
Here's
a minimal test case:
<gnuplot>
# set mono
set linetype 1 lw 5
plot sin(x)
</gnuplot>
As is, you get a line of width 5, but uncomment "set mono" and the
line is width 1. I'm not sure if this counts as a gnuplot bug, but
it looks like it.
Allin