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

Home » Public Forums » archive » Re: Postscript in IDL ..
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: Postscript in IDL .. [message #25254 is a reply to message #25250] Fri, 01 June 2001 06:49 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Dear R.A.


"R.Aspey" wrote:
>
> I am looking at using IDL to publish some pictures in a
> TeX document. Lets say I have data sets in either
> CSV or tab delimited.

You may use our read_data_file,

http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_source/idl_ html/dbase/download/read_data_file.tar.gz

This routine reads directly a whole datafile into a structure.
You have only to select the filename.

Restriction:
data is a tabular without text


For licensing please have a look at

http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

>
> Can I produce postscript oe EPS files directly and
> if so does anyone have a srcipt they could send me
> with most of the stuff in to save me having to read manuals..

Yes!
To get a very good output as EPS or PS or on Screen we have
developed a plot environment
I have written a publication with lots of examples to explain this in
more detail.

http://www.fz-juelich.de/zb/text/publikation/juel3786.html


PRO example

D=read_data_file('file.txt')

x=(d.data[0,*])[*]
y1=(d.data[1,*])[*]

plotprepare,plot

plot.stamp=0
plot.psflag=2
plot.psfile='example'

plotinit,plot
plotxy,plot,x=x,y=y1
plotend,plot
END

With the plot.psflag you can switch between different output devices

for example
0 is output on screen
1 is PS
2 is EPS
and some others

the plotxy handles the thickness of lines, charsize and symbols,
page layout and positions for all different outputs.

So you get on each device a very good result.

The package includes XY, error bars, probability, 2D, XY_2D, Maps and 3D
at the moment.

>
> What is the default data file format used for ascii import using IDL?

there is no default, but it's alway good not mixing text and numbers
in a table.

>
> A few things but I dont really want to spend my life
> learning things I may only use once every now and then

How old are you ?

>
> Any comments would be very much appreciated.
>
> regards
> R.A.
> raspey@liv.ac.uk

cia
Reimar

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
=============================================
a IDL library at ForschungsZentrum J�lich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Determining circularity
Next Topic: Removing stray clusters of points

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

Current Time: Fri Oct 10 21:34:23 PDT 2025

Total time taken to generate the page: 1.12470 seconds