Re: IMDISP and writing to Postscript [message #65911 is a reply to message #65910] |
Thu, 26 March 2009 17:42   |
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
|
|
|