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

Home » Public Forums » archive » Re: IMDISP and writing 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
Re: IMDISP and writing to Postscript [message #65911 is a reply to message #65910] Thu, 26 March 2009 17:42 Go to previous messageGo to previous message
mooner is currently offline  mooner
Messages: 3
Registered: March 2009
Junior Member
On Mar 27, 11:31 am, David Fanning <n...@dfanning.com> wrote:
> mooner writes:
>> Hi, I am using IDL to display some data. I find IMDISP to be perfect
>> for this and it works great in 'x' windows. My image is (forgive me,
>> I'm not quite sure how to describe this) is low resolution and I want
>> it to be displayed as individual squares (of different colors) which
>> IDL happily does in my x window. However when I write to postscript
>> the image is 'blured' (I don't get well defined flat squares). I've
>> played with all the keywords in device and imdsp but with no luck.
>
>> Any suggestions?
>
> Humm. Sure you are using the latest version? It certainly
> doesn't do that for me. Maybe we could see the code
> you are using.
>
> 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.")

Sure, for example:

set_plot, 'PS'
device, /color, bits_per_pixel=8, filename=outname+'.ps'
loadct, 13
imdisp, findgen(5,5)
device, /close

If I exlucde the postscipt and plot in an x window I get a 5X5 box
with 25 individual squares. But when I plot to postscript the
individual squares are blended, appearing like a gradient with more
than 25 colors.

Emily
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to programmatically access the Available Band List
Next Topic: Maps and interpolation w/ invalid data points

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

Current Time: Fri Oct 10 06:17:40 PDT 2025

Total time taken to generate the page: 0.63902 seconds