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

Home » Public Forums » archive » Re: Any known bug with PS output?
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
Re: Any known bug with PS output? [message #52794] Sat, 03 March 2007 20:12
win.trivit is currently offline  win.trivit
Messages: 3
Registered: March 2007
Junior Member
On Mar 3, 10:40 pm, "Kenneth P. Bowman" <k-bow...@removethis.tamu.edu>
wrote:

> Are you doing this at the end of your program?
>
> DEVICE, /CLOSE

Yes, I did use Device, /close
Re: Any known bug with PS output? [message #52795 is a reply to message #52794] Sat, 03 March 2007 19:51 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
win.trivit@gmail.com writes:

> I've been having problem when plotting to postscript file in a way
> that the things I want to plot just went missing, while the same plot
> outputted to X window work fine. Here's some more detail...
> - plot type: contour and some map projection (imagine global map
> with contour plot and a color bar on the side)
> (the colorbar is also plotted using contour)
> - multi-plotting using !p.multi
> - position configuration using !p.position
> - add some figure title using xyouts
>
> When I plot to PS, the last thing being plotted is missing in the PS
> file, for example, if the order is
> - map plot, title, colorbar: then some of the colorbar label would
> be missing
> - map plot, colorbar, title: then some of the title character would
> be missing
> - colorbar, title, map plot: then some of the map projection is
> missing e.g. europe outline is just not there.
>
> I am not sure if anyone ever experience such problem... please help.

Using !P.MULTI and !P.POSITION *together* is sure to cause
problems. But it is impossible to say exactly what is going
on without seeing the code. I'd probably ditch !P.MULTI in
this situation and become familiar with the NOERASE keyword.
That would more than likely solve all your problems.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Any known bug with PS output? [message #52796 is a reply to message #52795] Sat, 03 March 2007 19:40 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <1172977626.577836.296860@n33g2000cwc.googlegroups.com>,
win.trivit@gmail.com wrote:

> I've been having problem when plotting to postscript file in a way
> that the things I want to plot just went missing, while the same plot
> outputted to X window work fine. Here's some more detail...
> - plot type: contour and some map projection (imagine global map
> with contour plot and a color bar on the side)
> (the colorbar is also plotted using contour)
> - multi-plotting using !p.multi
> - position configuration using !p.position
> - add some figure title using xyouts
>
> When I plot to PS, the last thing being plotted is missing in the PS
> file, for example, if the order is
> - map plot, title, colorbar: then some of the colorbar label would
> be missing
> - map plot, colorbar, title: then some of the title character would
> be missing
> - colorbar, title, map plot: then some of the map projection is
> missing e.g. europe outline is just not there.
>
> I am not sure if anyone ever experience such problem... please help.

Are you doing this at the end of your program?

DEVICE, /CLOSE

If you don't, the output buffer doesn't get flushed and some PS commands
don't make it into the PS file.

Ken Bowman
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDLanROI:Computemask , bug or featur???
Next Topic: Everything about Printable Camo Stencil

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

Current Time: Wed Oct 08 17:58:47 PDT 2025

Total time taken to generate the page: 0.00307 seconds