2
votes

I have some problem with adapting the set label command as per my requirement. I have to insert a label on the top left of the plot. My label contain mathemaical exponent. so I used the following command

set label 1 '$\times10^{-7}$' at graph 0,1.025

I have used epslatex output terminal and the result I have got is not as expected. enter image description here

1
This looks like a latex problem rather than a gnuplot problem. I have no trouble rendering your label with pdflatex and the epslatex terminal. - Miguel

1 Answers

1
votes

You have to use double '\' (\\). And should have to put a white space between \\times and 10 (but I'm not sure now).

set label 1 "$\\times 10^{-7}$" at graph 0,1.025

(PS.: I prefer cdot instead of times ;-) )