questions regarding using cgWindow, cgLoadCT, and something else [message #78115] |
Thu, 27 October 2011 09:32  |
Bill Murong
Messages: 3 Registered: October 2011
|
Junior Member |
|
|
Hi,
I'm a beginner of using David's cgWindow. I'm wondering how to
display two images using two different color tables in a cgWindow?
I've tried a few things, but all failed.
A second quesiton I'm having is when I issue the command: "cgloadct,
13, /addcmd". It will pop up two resizable windows: one with black
background and one with white background.
My final question is regarding using postscript font in IDL 7.0. When
I generate a postscript file with ps font, the "multiple" sign cannot
be displayed correctly (displayed as a "dot"); e.g., 6x10^5 will be
displayed as 6*10^5. I have tried this on various computers with both
Win and Mac. All give the same results.
I'm wondering whether someone can help me with these IDL questions.
Many thanks in advance.
Bill
|
|
|
Re: questions regarding using cgWindow, cgLoadCT, and something else [message #78206 is a reply to message #78115] |
Thu, 27 October 2011 16:04  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> 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
Whoops! The variable t should be this, of course:
t = ['6x10!A-9!x', '7x10!A-4!x']
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.")
|
|
|