Hello, I have installed gnuplot on our cluster, and am seeing the above message when I try to run the following script. Can someone please educate me? :-) Thanks!
set term png
set output '| display png:-' # cool trick
plot sin(x) with lines
Setting the term font does not help:
set term png font arial 14 size 800,600
Also, according to
https://groups.google.com/forum/?fromgroups#!topic/opentsdb/iVXcPyy5e9I, I should be able to use the liberation fonts, which I have found in usr/share/fonts/liberation
rcook@rzgpu2 (gnuplot): ls /usr/share/fonts/liberation
LiberationMono-Bold.ttf LiberationSans-Regular.ttf
LiberationMono-BoldItalic.ttf LiberationSerif-Bold.ttf
LiberationMono-Italic.ttf LiberationSerif-BoldItalic.ttf
LiberationMono-Regular.ttf LiberationSerif-Italic.ttf
LiberationSans-Bold.ttf LiberationSerif-Regular.ttf
LiberationSans-BoldItalic.ttf fonts.dir
LiberationSans-Italic.ttf fonts.scale
But when I try setting GDFONTPATH, it still gets the same error:
rcook@rzgpu2 (gnuplot): export GDFONTPATH=/usr/share/fonts
rcook@rzgpu2 (gnuplot): gnuplot newtest.gnuplot
Could not find/open font when opening font "arial", using internal non-scalable font
rcook@rzgpu2 (gnuplot): export GDFONTPATH=/usr/share/fonts/liberation
rcook@rzgpu2 (gnuplot): gnuplot newtest.gnuplot
Could not find/open font when opening font "arial", using internal non-scalable font