gnuplot: subtitle with smaller fontsize

后端 未结 2 1244
深忆病人
深忆病人 2021-02-08 05:24

Does somebody know how you can insert a subtitle with a smaller fontsize in gnuplot?

Currently, the way I create a subtitle is by using \\n in the title. A

2条回答
  •  执念已碎
    2021-02-08 05:58

    This works for the postscript terminal at least (for some reason x11 didn't want to scale my font. Perhaps it is a bug...):

    set term  enhanced
    set output ""
    set title "Big Title\n{/*0.5 subtitle}"
    

    The {/*0.5} scales the fontsize to be half of the current active fontsize. You can also specify fontsizes explicitly:

    set title "{/=20 Big} Medium {/=5 Small}"
    

    Or you can change the font for a region of text:

    set title "{/Helvetica foo} {/Symbol G}"
    

    These forms can be combined to change the font and size in a particular region of text as well:

    set title "This is a big gamma {/Symbol=20 G}"
    

    For more information about enhanced text, see help enhanced.

提交回复
热议问题