How to print tickname in exponential format as '10^2' [message #57741] |
Thu, 20 December 2007 17:19 |
duxiyu@gmail.com
Messages: 88 Registered: March 2007
|
Member |
|
|
Using format code '(e)', I can print 100 as '1.00e+002'.
But I want to print it in exponential format as '10^2' and 2 is
superscript for 10.
I want to print it like this in a log-log plot as the tickname.
For example, when I set yrange=[0.001,10000], the yticknames are shown
in exponential format I described above.
When I set yrange=[0.001,100], the yticknames are shown as 0.001, 0.1
and so on.
I want to take the yticknames in the second situation shown as the
same format as it in the first situation.
But I don't find the appropriate format code for this purpose.
Best regards,
Du
|
|
|