iplot [message #41807] |
Fri, 26 November 2004 06:25  |
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 #41947 is a reply to message #41807] |
Sun, 28 November 2004 17:19   |
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   |
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 #79072 is a reply to message #41807] |
Sat, 28 January 2012 09:43  |
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  |
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
|
|
|