Re: New to IDL and having troubles [message #15952] |
Fri, 25 June 1999 00:00 |
Med Bennett
Messages: 109 Registered: April 1997
|
Senior Member |
|
|
Be sure to do a 'device,/close' command after issuing your postscript
commands. If you don't, the file is still open, and printing it will often
give you only partial or garbled output.
Kurki wrote:
> I looked for a FAQ regarding this NG and didn't find one, so I'm going
> to just jump right in --
>
> I was just introduced to IDL last week and given a few *.pro files that
> gereated postscript files of graphs from external data files and I was
> told to modify one of them to display my data -- well, no such luck. I
> did get to the point of have about 2/3 of one of the plots on my graph.
> The situation is this -- I have a file with 6 space delimited colums and
> 126 rows. I want to plot the column 1 vs. column 3 and column 5. Most
> of the time I'm just getting one axis and maybe the title of the graph
> in my postscript file.
>
> My boss gave me a few books, including the "Using IDL" manual and I read
> the chapter on graphing and tried to do some of thier examples, but they
> didn't work for me either!
>
> Now, I'm not new programming (I'm also not a serious programmer, but I
> can get by) and this is frustrating the heck out of me. Does anybody
> know what might be wrong?
>
> Thanks for any help you can giv
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
|
|
|
Re: New to IDL and having troubles [message #16007 is a reply to message #15952] |
Tue, 22 June 1999 00:00  |
Martin Schultz
Messages: 515 Registered: August 1997
|
Senior Member |
|
|
Kurki wrote:
>
> I looked for a FAQ regarding this NG and didn't find one, so I'm going
> to just jump right in --
>
> I was just introduced to IDL last week and given a few *.pro files that
> gereated postscript files of graphs from external data files and I was
> told to modify one of them to display my data -- well, no such luck. I
> did get to the point of have about 2/3 of one of the plots on my graph.
> The situation is this -- I have a file with 6 space delimited colums and
> 126 rows. I want to plot the column 1 vs. column 3 and column 5. Most
> of the time I'm just getting one axis and maybe the title of the graph
> in my postscript file.
>
> My boss gave me a few books, including the "Using IDL" manual and I read
> the chapter on graphing and tried to do some of thier examples, but they
> didn't work for me either!
>
> Now, I'm not new programming (I'm also not a serious programmer, but I
> can get by) and this is frustrating the heck out of me. Does anybody
> know what might be wrong?
>
> Thanks for any help you can giv
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
here is a copy from a recent post by Mike Schienle who maintains the
FAQ:
<http://www.ivsoftware.com:8000/FAQ/> is the location for the FAQ.
< http://www.ivsoftware.com/pub/faq/IDL_FAQ_Update19990515.htm l> is a
snapshot containing the changed or added items from
May 01, through May 15,
1999.
<http://www.ivsoftware.com/pub/faq/IDL_FAQ_19990515.html> is a snapshot
containing the latest version of the FAQ as of May 15,
1999.
Also, check out the Coyote website by David Fanning:
http://www.dfanning.com/
If your boss gives you books about IDL, ask him to purchase David's book
(which he can do from that website)!
Regards,
Martin.
--
|||||||||||||||\\\\\\\\\\\\\-------------------///////////// //|||||||||||||||
Martin Schultz, DEAS, Harvard University, 29 Oxford St., Pierce 109,
Cambridge, MA 02138 phone (617) 496 8318 fax (617) 495 4551
e-mail mgs@io.harvard.edu web http://www-as/people/staff/mgs/
|
|
|
Re: New to IDL and having troubles [message #16008 is a reply to message #16007] |
Tue, 22 June 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Kurki (kurki15@my-deja.com) writes:
> I looked for a FAQ regarding this NG and didn't find one, so I'm going
> to just jump right in --
Hooray for you! :-)
You can find the FAQ here:
http://www.ivsoftware.com:8000/FAQ/default.htm
> I was just introduced to IDL last week and given a few *.pro files that
> gereated postscript files of graphs from external data files and I was
> told to modify one of them to display my data -- well, no such luck. I
> did get to the point of have about 2/3 of one of the plots on my graph.
> The situation is this -- I have a file with 6 space delimited colums and
> 126 rows. I want to plot the column 1 vs. column 3 and column 5. Most
> of the time I'm just getting one axis and maybe the title of the graph
> in my postscript file.
Well, you could be doing any number of things wrong. You may want
to read the series of articles on my web page entitled "Producing
Perfect PostScript Output" for some clues:
http://www.dfanning.com/documents/tips.html
My guess is that you have set the PostScript page up in such
as way that you are clipping the plot. My program PSWindow
might help you out with this. It creates a window on the PostScript
page with the same aspect ratio as your display window:
http://www.dfanning.com/programs/pswindow.pro
> My boss gave me a few books, including the "Using IDL" manual and I read
> the chapter on graphing and tried to do some of thier examples, but they
> didn't work for me either!
Your boss is giving you the wrong books. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|