老师,您好!
gnuplot> set xlabel"月份"
gnuplot> set ylabel"降水量(毫米)"
gnuplot> set title"wosdhuf"
gnuplot> unset key
gnuplot> set xtics 1,1,12
gnuplot> plot"dataflie.dat"
warning: Cannot find or open file "dataflie.dat"
No data in plot
请教您这是什么原因
博主您好,非常感谢你的blog让让我对gnuplot有了基本的了解。小试试后发现用
set term pdfcairo lw 1 font "Times New Roman,8"
set output "test.pdf" # (数据只有2列)
plot "test.txt" w lp lc 7 lw 1 pt -1
set output
输出的PDF仍然是点线图,但是输出png图却是正常的pt -1结构 ,请问博主这是什么原因呀?谢谢!!!
您好,我想请教一个关于epslatex的问题。在看了您的书以后,我模仿其中例子写了一段程序,但是其中设置字体的部分总是报错,生成的.tex文件提示说size*.clo文件找不到。我的系统是ubuntu的,latex装了完整的,gnuplot也是apt-get install 最新的。
set term epslatex standalone color 11
set xlabel '$T$(GeV)'
set ylabel '$\frac{\chi_m}{T^2}$'
set label '$\omega=0.45$' at 0.15,60 rotate by 45
set label '$\omega=0.44$' at 0.15,48 rotate by 45
set output '3-3-1.tex'
plot [0.144:0.19][35:70] './OUTw44tebag.txt' u 2:($3)/$2/$2 lt 66 notitle,'./OUTw45tebag.txt' u 2:($3)/($2)/($2) lt 67 notitle
set output
.tex文件有一段是:
% Set font size
\makeatletter
\def\@ptsize{1}
\InputIfFileExists{size11.clo}{}{%
\GenericError{(gnuplot) \space\space\space\@spaces}{%
Gnuplot Error: File `size11.clo' not found! Could not set font size%
}{See the gnuplot documentation for explanation.%
}{For using a font size a file `size<fontsize>.clo' has to exist.
Falling back ^^Jto default fontsize 10pt.}%
\def\@ptsize{0}
\input{size10.clo}%
}%
请问如何破解?