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

Home » Public Forums » archive » cgPlot equivalent to graphic = PLOT(Equation,... ?
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: cgPlot equivalent to graphic = PLOT(Equation,... ? [message #90326 is a reply to message #90325] Fri, 20 February 2015 07:34 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Chris Torrence writes:

> But this won't give you the fancy equation feature. You won't be able to zoom or pan around in the plot and have it automatically update. To do this with "cg" you would need to have some sort of event handler, and then manually update the data or something.
>
> Advantage, new graphics. ;-)

If you want to zoom or pan around, you have to use cgZPlot:

cgZPlot, FINDGEN(101)/100 * 20 - 1

No doubt, you could figure out how to override the event handing there.
:-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A Calculus-level language, FortranCalculus, Compiler for Tweaking Parameters.
Next Topic: [start:final:step] bug

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

Current Time: Wed Oct 08 15:20:22 PDT 2025

Total time taken to generate the page: 0.00186 seconds