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

Home » Public Forums » archive » iplot
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
iplot [message #41807] Fri, 26 November 2004 06:25 Go to next message
maarten is currently offline  maarten
Messages: 30
Registered: April 2002
Member
Hello,

I know not everybody is too pleased with itools, but i managed to create
a nice plot using iplot (for the first time)
The big problem however is: how do i save this plot. it seems that i can
only save it as .isv (which is only readable by iplot itself)
is it possible to save a plot as an eps (or other vector image)?

many thanks maarten
Re: iplot [message #41945 is a reply to message #41807] Sun, 28 November 2004 18:47 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Hadfield writes:

> You have upgraded to IDL 6.1.1, right? Vector output in 6.1 had ... issues.

Oh, no, not yet. Been travelin'. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: iplot [message #41946 is a reply to message #41807] Sun, 28 November 2004 18:26 Go to previous messageGo to next message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
David Fanning wrote:
> I just tried this. The plot shows up all right, and looks
> good. But the axes annotation is missing. :-(
>
> Is this a Ghostview problem? A preview problem? Or are they
> really gone? (I don't have a PostScript printer at the moment.)
> I see the annotations if I choose Bitmap output, but not if
> I choose vector output.

You have upgraded to IDL 6.1.1, right? Vector output in 6.1 had ... issues.


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
Re: iplot [message #41947 is a reply to message #41807] Sun, 28 November 2004 17:19 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Mark Hadfield writes:

> Choose the "File/Export..." menu command to bring up the IDL Data Export
> wizard. At Step 1, select the "To a File" radio button and press the
> "Next..." button. At Step 2, select "Window" and press "Next" (though
> you may want to play with the other possibilities later). At Step 3,
> choose the "File Type" you want and enter a file name, then press "Finish".
>
> The facility to export to EPS was added in 6.1. You should upgrade to
> this version if you are serious about using iTools, as the iTools system
> is being developed and improved with each new version.
>
> By default, the iTools system produces EPS files containing bitmap data.
> (This is not very useful IMHO, because bitmap data data can be stored
> more effectively in an image-oriented format like PNG). To change this,
> choose the "File/Preferences..." menu item and select "Settings/File
> Writers/Encapsulated Postscript" in the tree view. Set "Graphics format"
> to "Vector". The change should affect the all iTools for the current
> user. Be aware that IDL Object Graphics (on which the iTools are based)
> has various limitations when producing vector output.
>
> I've just notied that the EPS file writer dialogue also has an option to
> choose bitmap or vector output. Cool!

I just tried this. The plot shows up all right, and looks
good. But the axes annotation is missing. :-(

Is this a Ghostview problem? A preview problem? Or are they
really gone? (I don't have a PostScript printer at the moment.)
I see the annotations if I choose Bitmap output, but not if
I choose vector output.

Cheers,

David

P.S. Does this mean I have to separately annotate all my iTool
output in Adobe Illustrator to get high quality graphics? :-)

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Re: iplot [message #41948 is a reply to message #41807] Sun, 28 November 2004 17:04 Go to previous messageGo to next message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
maarten wrote:
> Hello,
>
> I know not everybody is too pleased with itools, but i managed to create
> a nice plot using iplot (for the first time)
> The big problem however is: how do i save this plot. it seems that i can
> only save it as .isv (which is only readable by iplot itself)
> is it possible to save a plot as an eps (or other vector image)?
>

Choose the "File/Export..." menu command to bring up the IDL Data Export
wizard. At Step 1, select the "To a File" radio button and press the
"Next..." button. At Step 2, select "Window" and press "Next" (though
you may want to play with the other possibilities later). At Step 3,
choose the "File Type" you want and enter a file name, then press "Finish".

The facility to export to EPS was added in 6.1. You should upgrade to
this version if you are serious about using iTools, as the iTools system
is being developed and improved with each new version.

By default, the iTools system produces EPS files containing bitmap data.
(This is not very useful IMHO, because bitmap data data can be stored
more effectively in an image-oriented format like PNG). To change this,
choose the "File/Preferences..." menu item and select "Settings/File
Writers/Encapsulated Postscript" in the tree view. Set "Graphics format"
to "Vector". The change should affect the all iTools for the current
user. Be aware that IDL Object Graphics (on which the iTools are based)
has various limitations when producing vector output.

I've just notied that the EPS file writer dialogue also has an option to
choose bitmap or vector output. Cool!

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
Re: iplot [message #42025 is a reply to message #41807] Tue, 14 December 2004 01:34 Go to previous messageGo to next message
maarten is currently offline  maarten
Messages: 30
Registered: April 2002
Member
p.sommer@comcast.net wrote:
> See: http://www.rsinc.com/codebank/search.asp?FID=263
>

thanks. I looked into it myself a little bit more and found that by
adding a new dataspace similar results are obtained
Re: iplot [message #42031 is a reply to message #41807] Mon, 13 December 2004 09:43 Go to previous messageGo to next message
p.sommer is currently offline  p.sommer
Messages: 20
Registered: April 2004
Junior Member
See: http://www.rsinc.com/codebank/search.asp?FID=263
Re: IPLOT [message #79072 is a reply to message #41807] Sat, 28 January 2012 09:43 Go to previous message
d.poreh is currently offline  d.poreh
Messages: 406
Registered: October 2007
Senior Member
On Jan 28, 8:37 am, Paulo Penteado <pp.pente...@gmail.com> wrote:
> I think you will have to loop over the points with itext.
>
> On Jan 28, 10:34 am, DavePoreh <d.po...@gmail.com> wrote:
>
>
>
>
>
>
>
>> Folks
>> hi,
>> I need to add the year that i have in my ASCII file to the iplot
>> ( http://imageshack.us/photo/my-images/846/20120128132324.png/) that i
>> have. That means i have a 3 columns data: first and second are x and y
>> and 3 rd one is the year that i have for each x&y i just want to put
>> the year on the iplot.
>> Any idea would be appreciated.
>> Cheers,
>> Dave

Thanks works like a charm.
Cheers,
Dave
Re: IPLOT [message #79073 is a reply to message #41807] Sat, 28 January 2012 08:37 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
I think you will have to loop over the points with itext.

On Jan 28, 10:34 am, DavePoreh <d.po...@gmail.com> wrote:
> Folks
> hi,
> I need to add the year that i have in my ASCII file to the iplot
> ( http://imageshack.us/photo/my-images/846/20120128132324.png/) that i
> have. That means i have a 3 columns data: first and second are x and y
> and 3 rd one is the year that i have for each x&y i just want to put
> the year on the iplot.
> Any idea would be appreciated.
> Cheers,
> Dave
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IPLOT
Next Topic: Minimum and location of minimum through interpolation

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

Current Time: Wed Oct 08 19:12:22 PDT 2025

Total time taken to generate the page: 0.00560 seconds