comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to print tickname in exponential format as '10^2'
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to print tickname in exponential format as '10^2' [message #57741] Thu, 20 December 2007 17:19
duxiyu@gmail.com is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 7 on Ubuntu
Next Topic: Debugging in IDL 7

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:53:31 PDT 2025

Total time taken to generate the page: 0.00468 seconds