Thomas Wagner
unread,Dec 5, 2012, 1:45:35 PM12/5/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hello everybody,
I am trying to put a label somewhere on a graph using the "set label"
command but with a font other than that defined with the terminal.
Please have a look at the following example script:
set terminal pngcairo color enhanced font "Arial,18"
set output "GnuplotFontTest.png"
set label 1 "ABCDEFG" at -9,-17
set label 2 "ABCDEFG" at -9,-20 font "Arial Bold,18"
set label 3 "{/Arial Bold=18 ABCDEFG}" at -9,-23
plot tan(x)
unset output
Labels 1 and 2 are printed exactly like intended, label 3 is not. It
seems as if font names consisting of more than a single word (like
"Arial Bold") are not properly recognized when using code like the one
for label 3. Surrounding the font name by {} or "" also does not help.
Should I submit the font name in a different way? I am using GNUPLOT
Version 4.7 patchlevel 0 (last modified 2012-07-05, Build System:
MS-Windows 32 bit) on a Windows 7 computer.
Thanks in advance,
Thomas