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

Home » Public Forums » archive » questions regarding using cgWindow, cgLoadCT, and something else
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
questions regarding using cgWindow, cgLoadCT, and something else [message #78115] Thu, 27 October 2011 09:32 Go to next message
Bill Murong is currently offline  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 Go to previous message
David Fanning is currently offline  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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Function to find value in IDL
Next Topic: Clustering

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

Current Time: Wed Oct 08 09:11:41 PDT 2025

Total time taken to generate the page: 0.00648 seconds