Is it possible to do overplot in xplot? [message #62880] |
Mon, 13 October 2008 22:47  |
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 #62932 is a reply to message #62880] |
Wed, 15 October 2008 06:30  |
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  |
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.")
|
|
|