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

Home » Public Forums » archive » Re: questions regarding using cgWindow, cgLoadCT, and something else
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: questions regarding using cgWindow, cgLoadCT, and something else [message #78208 is a reply to message #78109] Thu, 27 October 2011 15:44 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Bill Murong writes:

> About the PS font problem, you can find a figure converted from a ps file from
>
> https://lh4.googleusercontent.com/-NKlI5Se06t0/TqnN3NYCkRI/A AAAAAAAABU/2xbcSNP1zRA/s800/ps.jpg
>
> The corresponding command to generate the figure is:
>
> cgplot, [1e-10, 1], /ystyle, /ylog, ytickv = [6e-9, 7e-4], yticks = 1, /window
>
> and then save the window as jpeg via ImageMagick. You can note the tick marks of y axis are not displayed correctly. There is no problem with the Heyshey font or TrueType fonts.

Ah, yes, the proper labeling of logarithmic axes has
been a problem since the beginning of time. Or, at least,
the beginning of IDL:

http://www.idlcoyote.com/graphics_tips/minorlog.html

You may wish to use the LogLevels function described in
the article above. Something like this, probably:

cgplot, [1e-10, 1], /ystyle, /ylog, ytickv = LogLevels(), /window

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: ENVI Navigating GeoTiff Image Incorrectly?
Next Topic: Re: questions regarding using cgWindow, cgLoadCT, and something else

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

Current Time: Wed Oct 08 13:40:23 PDT 2025

Total time taken to generate the page: 0.00445 seconds