Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以指导我如何在 Gnuplot 中增加图例的大小。
我希望将传说放在外面: set key outside top
set key outside top
但现在我希望图例看起来更大。如何才能做到这一点?
字体规范可以遵循 key 的设置,从help key:
help key
{font "<face>,<size>"}
如果您只想更改大小,则不需要指定面,例如将字体大小设置为 16,请执行以下操作:
echo 'set key outside top font ",16"; plot sin(x) w l' | gnuplot --persist
哪些字体可用取决于终端设置,例如,如果您的终端是 wxt,您可以通过运行help wxt等找到更多信息。
help wxt