3

I want to make the labels and title of the plot bold. I know how to change size, i.e.

set title font ',30'

I looked at a question here which state to do this:

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

But it works only for tics. How to do it for labels and titles also?

Sahil
  • 256
  • 1
  • 7

1 Answers1

4

Which gnuplot version and which terminal are you using? The following should work from gnuplot >=5.0.0 with wxt terminal.

Code:

### 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

Result:

enter image description here

theozh
  • 22,244
  • 5
  • 28
  • 72