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

Home » Public Forums » archive » Re: Is there a way to undo a plot?
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: Is there a way to undo a plot? [message #56154] Fri, 05 October 2007 10:57 Go to previous message
Jim Pendleton, ITT Vi is currently offline  Jim Pendleton, ITT Vi
Messages: 13
Registered: August 2006
Junior Member
If you're using IDL 6.2 or later, you can grab your command history
buffer, edit any necessary lines, and paste them back to the command
line.

A couple years ago I wrote a handy utility for managing the command history
buffer. It's available at

http://www.ittvis.com/codebank/search.asp?FID=350

When the command history window is in focus, you can edit the text, select
the lines you want to execute and copy them. Then switch focus to the
IDE command line and paste them in for execution.

When you find you have a group of commands that you execute often, paste
them into a .pro file and you've got the start of your very own utility
library.

Jim P.

"mystea" <idllearner@gmail.com> wrote in message
news:1191577059.313766.196290@y42g2000hsy.googlegroups.com.. .
> To myself, one of the attractive features of IDL is its ability to try
> out "what's going to happen" in the terminal mode before writing a
> full program. For example, I can try plotting my data with different
> keywords on screen, figure out which set of keywords does the job,
> then copy them and paste them to my code.
>
> However, sometimes I do make a mistake on a plot. Instead of starting
> the whole plot again(say, my plot is composed of many overplots), I
> only want to undo one step and continue my experiment. Is there anyway
> to do this?
>
> Thank you,
>
> Gene
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Compass Rose
Next Topic: Re: envi_setup_head for TIFF

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

Current Time: Wed Oct 08 15:34:15 PDT 2025

Total time taken to generate the page: 0.00390 seconds