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

Home » Public Forums » archive » OK, I'm stumped
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
OK, I'm stumped [message #11992] Sat, 20 June 1998 00:00
William H Dorin IV is currently offline  William H Dorin IV
Messages: 5
Registered: June 1998
Junior Member
<HTML>
I'm rather new to IDL, and have been having trouble with what is probably
a trivial question (I have, however, read the faq, help files, and class
manual).&nbsp; The problem is as follows:

<P>I have a proceedure which reads in a 180*360 array of data and creates
a nice color contour plot, then plots a few points and some text (with
underwritten white test for visibility), then plots it to a XWindows screen,
and saves it to a gif file.&nbsp; My problem is that I cannot seem to figure
out how to save this file to a postscript format.

<P>&nbsp;&nbsp;&nbsp; I've been using XV to port each gif to ps, so I can
print these plots on the color postscript printer we have, but this is
becoming an unsatisfactory method.
<BR>&nbsp;&nbsp;&nbsp; So, I modified my code as follows:

<P>Set_plot, 'PS'
<BR>Device, /color, file='my_plot.ps'

<P>map_set
<BR>contour, my data
<BR>xyouts, 'text' (several of these)
<BR>plots, some points

<P>set_plot, 'X'

<P>This generates an unreadable file.&nbsp; If I leave off the /color keyword
in device, a readable file is generated, but is not in color, not in portrait
format, is not set correctly and cut off by the window, and the text is
not placed correctly and is overwritten.&nbsp; I've also tried the /encapsulated
keyword, but this seems to be of no help also.

<P>I would really appreciate any help you (collective) can offer.&nbsp;
I know this must seem like a walk in the park to experienced IDLers, but
I can't seem to make any headway whatsoever.&nbsp; Furthermore, the online
help is pretty bad in regard to this sort of thing.

<P>Thanks,
<BR>Wm.
<PRE>--&nbsp;
&nbsp;&nbsp;&nbsp; ****************************
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; William H Dorin IV&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NIS-1, LANL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; 505-665-7682</PRE>
&nbsp;</HTML>
[Message index]
 
Read Message
Previous Topic: Re: middle mouse button???
Next Topic: To found the size(area) of a certain domain.

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

Current Time: Sat Oct 11 23:20:29 PDT 2025

Total time taken to generate the page: 0.90032 seconds