chaitanya majjari
chaitanya majjari

Reputation: 271

adapting set label command in Gnuplot

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

Upvotes: 2

Views: 457

Answers (1)

Tom Solid
Tom Solid

Reputation: 2344

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 ;-) )

Upvotes: 1

Related Questions