Re: questions regarding using cgWindow, cgLoadCT, and something else [message #78205 is a reply to message #78204] |
Thu, 27 October 2011 16:51   |
Bill Murong
Messages: 3 Registered: October 2011
|
Junior Member |
|
|
I think I would prefer to have IDL do this kind of low-level job
automatically for us. :)
Thanks,
Bill
On Oct 27, 3:59 pm, David Fanning <n...@dfanning.com> wrote:
> 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 AAAAAAAAB...
>
>> 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.
>
> This will work for your original question:
>
> t = ['6x10!A-4!x', '7x10!A-4!x']
> cgplot, [1e-10, 1], /ystyle, /ylog, ytickv = [6e-9, 7e-4], $
> yticks = 1, ytickname=t, /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.")
|
|
|