plot - 如何在 gnuplot 中使标签和标题加粗?

标签 plot gnuplot bold

我想把情节的标签和标题加粗。我知道如何改变尺寸,即

set title font ',30'

我在这里看到了一个问题,该在哪个状态下执行此操作:

set ytics format "{/:Bold {/=14 %h}}"

但它只适用于抽搐。如何为标签和标题做这件事?

最佳答案

您使用的是哪个 gnuplot 版本和哪个终端?以下应该在 gnuplot >=5.0.0 和 wxt 终端上工作。

代码:

### bold labels and title
reset
set term wxt enhanced

set title  "{/:Bold My Title in bold}"
set xlabel "{/:Bold my xlabel in bold}"
set ylabel "{/:Bold my ylabel in bold}"

plot x
### end of code

结果:

enter image description here

关于plot - 如何在 gnuplot 中使标签和标题加粗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67970819/

相关文章:

python - 创建具有相等轴比例的子图,Python,matplotlib

plot - gnuplot - 用不同的颜色绘制不同的 block

python-2.7 - 我可以对自变量进行数学计算,以便在 Gnuplot 中的 x 轴上显示吗?

vector - gnuplot 矢量箭头长度和流线

python - Pandas、Python、Excel、使用条件格式加粗一行没有解决方案

objective-c - IOS:字符串强调和粗体

cocoa - 如何在 NStextview 中使选择内容变为粗体?

matlab - 匹配轴刻度

matlab - 在 Matlab 中绘制 K 均值结果

python - 用 Pandas 条形图上的值注释条形图