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

Home » Public Forums » archive » Coyote Graphics Correct Usage
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
Coyote Graphics Correct Usage [message #83159] Sat, 09 February 2013 17:25
Phillip Bitzer is currently offline  Phillip Bitzer
Messages: 223
Registered: June 2006
Senior Member
All (but maybe mostly David)-

I'm a big fan of Coyote's routines, especially since I'm still in IDL 7.1 land. However, I'm running into this problem when using them:

cgPlot, dist(10), XTICK_GET=xTickVals
help, xTickVals
----> XTICKVALS DOUBLE = Array[6]

No problem there. But, when I want to put this into a cgWindow:

delVar, xTickVals
cgWINDOW
cgPlot, dist(10), XTICK_GET=xTickVals, /ADD
help, xTickVals
--->XTICKVALS UNDEFINED = <Undefined>

Digging a little into the code, I find that "extra" in cgPlot has a XTICK_GET, but once I step into cgWINDOW, the "extra" structure no longer has a tag for XTICKVALS. Is this a problem with how I'm using CG? I'll admit I don't totally understand if I should use /WINDOW or /ADD in the call to cgPlot, but I don't think it matters here, since it's the first command.

Has anyone else run into this? Or have any ideas around it? I could just put the output of the initial cgPlot call into a pixmap, but I was hoping I was just missing something.

Cheers,
Phillip
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDLWAVE installation
Next Topic: Re: Coyote Graphics Correct Usage

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

Current Time: Wed Oct 08 15:07:14 PDT 2025

Total time taken to generate the page: 0.00344 seconds