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

Home » Public Forums » archive » Problem of converting plots with both plotimage and multiplot to postscript
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Problem of converting plots with both plotimage and multiplot to postscript [message #86069] Mon, 30 September 2013 03:21 Go to previous message
Jeffrey Chan is currently offline  Jeffrey Chan
Messages: 3
Registered: May 2011
Junior Member
Hi all,

I was trying to plot some fits images using a combination plotimage.pro and multiplot.pro, it appears fine on my screen as well as output as PNG using write_png.pro. Below is what it look like when I export the plot as PNG:

http://i.imgur.com/XKYK8mX.png

But when I export it to PostScript, after conversion it appears to be something like this:

http://i.imgur.com/b2CfdF5.png

As you can see there's weird pixels plotted on my PS. I set it in IDL like this:

set_plot,'ps'
!p.font=0
device,filename= outfile,$
xsize= some number,$
ysize= some number,$
/encapsulate

multiplot,[0,3,6,0,0],xxxxxxx
....
plotimage, xxxx
....
multiplot,/reset

and of course, device,/close at the bottom.

It happens when I run my code on either my Linux machine or my Mac. I have never encountered such a problem when I plot postscript using plotimage nor multiplot before.

Thanks!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting plot boundaries
Next Topic: IDL Java Bridge and bio-format

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

Current Time: Wed Oct 08 16:15:51 PDT 2025

Total time taken to generate the page: 0.00230 seconds