Re: strange postscript error on certain IDL plots [message #89647 is a reply to message #89646] |
Wed, 05 November 2014 07:16   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Brian McNoldy writes:
>
> I have some code that has been around and working perfectly for probably 10 years. It creates an EPS file, nothing fancy. I just tried using it this week and now I'm unable to view or convert the EPS file... I get the following error from ghostscript or ImageMagick:
> Error: /rangecheck in --colorimage--
>
> I am able to view and convert other EPS files, even others made by IDL in other programs. I'm using IDL 8.2, and my DEVICE command is simply:
> device,file=path+title+'.eps',/encapsulated,/portrait,/inche s,$
> xsize=xs,ysize=ys,/color,bits=8
>
> This program does make plots using two separate color tables, one after the other. I plot topography in grayscale and then overlay contours in color. This was never a problem before though. If I comment out the topography plotting, it works, and I can view/convert the resulting EPS file. Will IDL no longer allow me to do this? An example plot can be found at http://andrew.rsmas.miami.edu/bmcnoldy/tmp/MAY_2000-2009_SST .eps-1.png
>
> My question to the group is what could possibly be causing this new postscript error?
How long have you been working with computers? Practically anything, I
would say. QuiƩn sabe!
Cheers,
David
P.S. I doubt this has anything to do with IDL, though. Do you have
example code to create the PostScript file?
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|