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

Home » Public Forums » archive » Re: cgArrow Solid keyword with a cgWindow
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: cgArrow Solid keyword with a cgWindow [message #83913 is a reply to message #83912] Fri, 19 April 2013 03:01 Go to previous messageGo to previous message
seanelvidge is currently offline  seanelvidge
Messages: 11
Registered: January 2013
Junior Member
On Thursday, 18 April 2013 14:54:46 UTC+1, David Fanning wrote:
> I do notice that this works correctly, if you use the WINDOW keyword, as
> the documentation specifies, rather than the ADDCMD keyword, which is
> not defined for this routine. :-)
>

I tried to use the /WINDOW keyword, (as the documentation
specifies ;)) first, but I found that the plotted arrow appears in a
new cgWindow rather than the current one. That is (using Revision 1200
of the SVN repo, before your latest update):

cgWindow,'cgPlot',INDGEN(10),/NoData
cgArrow, 2, 2, 5, 5, /Data, /WINDOW

Which isn't what I was after, but since you say this works correctly
perhaps I am doing something wrong.

David Fanning wrote:
> David Fanning writes:
> By the way, I do recommend people read the documentation. It's often
> enlightening. ;-)

It's always enlightening :)

I just tried the new cgArrow (Revision 1201), but now I can't get any
of the arrow to plot in the cgWindow, using /AddCmd or /WINDOW.
Perhaps it is what I am doing, since I couldn't get it to work in
either revision? Here is an example:

cgWindow, 'cgPlot', INDGEN(10), /NoData
cgArrow, 2, 2, 5, 5, /Data, /AddCmd
cgArrow, 2, 2, 5, 5, /Data, /Window

Both those cgArrow commands plot an arrow in a new Window rather than
in the existing cgWindow.

Any suggestions?


Thanks,

Sean.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to Zip cross-platform from IDL?
Next Topic: Re: issue with CMSAVE

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

Current Time: Fri Oct 10 19:40:39 PDT 2025

Total time taken to generate the page: 1.68105 seconds