简体   繁体   English

Gnuplot epslatex 中的字体大小

[英]Fontsize in Gnuplot epslatex

I would like to increase the size of the fonts in the x and y axis, as well as in the key.我想在 x 和 y 轴以及键中增加 fonts 的大小。 I do not wish to change the size of the image.我不想改变图像的大小。 Using epslatex in gnuplot, can anyone suggest how to change the font size?在 gnuplot 中使用 epslatex,任何人都可以建议如何更改字体大小?

set terminal epslatex color size 7.0in,7.00in standalone
set out 'profile2.tex'
set xrange [400:600]
set yrange [150:280]
set size ratio 1.25
f(x)= -0.02*(x-500)**2+250
g(x)= -0.025*(x-500)**2+250
set xlabel "$x$"
set ylabel "$y$"
set key at 580,265 
plot f(x) w l lw 2.0 title "Initial condition"#, g(x) w l lw 3.0 dt 4 title "$\\alpha=0.025$"
set out
system('latex profile2.tex && dvips profile2.dvi && ps2pdf profile2.ps')
system('mv profile2.ps profile_TEST.eps')
unset terminal
set out

I have tried using我试过使用

set terminal epslatex color size 7.0in,7.00in font '20' standalone

but the font remains unchanged但字体保持不变

The syntax font ",20" works.语法font ",20"有效。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM