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

Home » Public Forums » archive » Is it possible to do overplot in xplot?
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
Is it possible to do overplot in xplot? [message #62880] Mon, 13 October 2008 22:47 Go to next message
mystea is currently offline  mystea
Messages: 16
Registered: October 2007
Junior Member
Hi IDLers,

I found David's xplot procedure very helpful, because one can easily
produce a postscript without typing bunches of commands for setting
devices!

However, I don't know how to do overplot or xyouts with it, nor can I
create new plot without destroying the old object. (like what we used
to do in direct graphics)

Is this the limitation of object graphics? Or there is some way to
add these features into the existing code?

Gene
Re: Is it possible to do overplot in xplot? [message #62931 is a reply to message #62880] Wed, 15 October 2008 06:40 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
pgrigis@gmail.com writes:

> Ever heard of "copy & paste"?

Or journaling (JOURNAL), or, even, writing an IDL program!
You won't have to read far in my book to learn how to write
a program that works both on the display and in a PostScript
file. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Is it possible to do overplot in xplot? [message #62932 is a reply to message #62880] Wed, 15 October 2008 06:30 Go to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
mystea wrote:
> Hi David,
>
> The MPI_plot procedure is indeed very helpful. However, does it
> support
> things like xyouts?
>
> For me, the most desirable feature for plotting is the ability to
> print the
> plot on a direct graphics window directly to ps/eps/printer. Retyping
> all
> the previous commands into ps/printer is truly tiresome,

Ever heard of "copy & paste"?

Ciao,
Paolo

> the worst
> part is
> when one makes a tiny mistake, everything must be redone from the
> start!
>
> While I noticed there are procedures like TVRead, the quality of
> output is
> not as good as I would like it to be.
>
> I wish I will learn enough IDL to participate in the open source
> project
> one day...
>
> Gene
>
> Gene
>
>
>
> On Oct 14, 5:56 am, David Fanning <n...@dfanning.com> wrote:
>> mystea writes:
>>> I found David's xplot procedure very helpful, because one can easily
>>> produce a postscript without typing bunches of commands for setting
>>> devices!
>>
>>> However, I don't know how to do overplot or xyouts with it, nor can I
>>> create new plot without destroying the old object. (like what we used
>>> to do in direct graphics)
>>
>>> Is this the limitation of object graphics? Or there is some way to
>>> add these features into the existing code?
>>
>> First of all, I don't know about iPlot. I've never used
>> it. It is not so much a limitation of object graphics,
>> as one of its strengths. You can do *everything* in
>> object graphics, if you are willing to spend months
>> figuring out how to do it.
>>
>> I'd give MPI_PLOT a go. It is easy to overplot with that,
>> and you get most of the supposed "advantages" of iPlot,
>> without the god awful complexity.
>>
>> http://www.dfanning.com/programs/mpi_plot.zip
>>
>> Cheers,
>>
>> David
>>
>> P.S. I'll be talking about how to build this *exact*
>> application (in about 20 minutes!) at the IDL Users
>> Group meeting on Thursday. This will correspond, roughly,
>> with the release of my Catalyst Library as an Open Source
>> software project. I'm thinking this might well result in
>> iTool-like programs that even somebody like me can program. :-)
>> --
>> David Fanning, Ph.D.
>> Fanning Software Consulting, Inc.
>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Is it possible to do overplot in xplot? [message #62933 is a reply to message #62880] Wed, 15 October 2008 06:26 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mystea writes:

> The MPI_plot procedure is indeed very helpful. However, does it
> support
> things like xyouts?

I always said that if I ever released that Catalyst Library,
the very first thing I would do is write a Plot program that
allowed things like overplotting and adding annotations.
I'm suppose be to hiring a student programmer this morning.
That might be a good project to get her started on. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.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: matlab
Next Topic: Re: Catalyst Library Going Open Source

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

Current Time: Wed Oct 08 13:39:24 PDT 2025

Total time taken to generate the page: 0.00558 seconds