I can't seem to find a way to change the size of the font in my key. The key's font is the same size as the font of the x and y labels, but I want it to be smaller. I'm using set terminal postscript eps enhanced color and the key is set to top right outside reverse enhanced samplen 2.
Is there a simple way shrink the key's font, without having to edit the eps files?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The font and size of the key text is defined by the default of the terminal driver. The PostScript driver has an option to change that at "set term" time. This changes the size of all other text plot elements that don't have their own font/size specification, though.
For "enhanced" mode, you can instead change the font on the spot. See "help enhanced".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After the "set terminal poscript" command, I have sucessfully managed to independently change the font of the xlabels, ylabels, xtics, ytics, and title. However, "set key font" command does not exist. How exactly do I change the key font in the postscript terminal? I have tried looking at "help enhanced" but that didn't tell me what I needed to know.
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I already told you: the key font is whatever you specified as the font directly in 'set term postscript'.
I have no idea how 'help enhanced' could fail to teach you how to change font and size from inside any string output by gnuplot. It even has examples doing exactly that!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok, I understand now that you have to type {/*0.75 text} if you want your text to be 75% of it original size. I just thought that there would be a simpler way to change the size of the font's key rather than going though and putting {/*75 text} for each one of my individual titles. There should be a set key font command.
My next problem is that I want to make the font of the key smaller in a histogram, using autotitles. How would I do that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't seem to find a way to change the size of the font in my key. The key's font is the same size as the font of the x and y labels, but I want it to be smaller. I'm using set terminal postscript eps enhanced color and the key is set to top right outside reverse enhanced samplen 2.
Is there a simple way shrink the key's font, without having to edit the eps files?
The font and size of the key text is defined by the default of the terminal driver. The PostScript driver has an option to change that at "set term" time. This changes the size of all other text plot elements that don't have their own font/size specification, though.
For "enhanced" mode, you can instead change the font on the spot. See "help enhanced".
After the "set terminal poscript" command, I have sucessfully managed to independently change the font of the xlabels, ylabels, xtics, ytics, and title. However, "set key font" command does not exist. How exactly do I change the key font in the postscript terminal? I have tried looking at "help enhanced" but that didn't tell me what I needed to know.
Thanks
I already told you: the key font is whatever you specified as the font directly in 'set term postscript'.
I have no idea how 'help enhanced' could fail to teach you how to change font and size from inside any string output by gnuplot. It even has examples doing exactly that!
Ok, I understand now that you have to type {/*0.75 text} if you want your text to be 75% of it original size. I just thought that there would be a simpler way to change the size of the font's key rather than going though and putting {/*75 text} for each one of my individual titles. There should be a set key font command.
My next problem is that I want to make the font of the key smaller in a histogram, using autotitles. How would I do that?
never mind...I've worked it out