Home »
Public Forums »
archive »
Re: seeing red (in postscript output)
Re: seeing red (in postscript output) [message #24215] |
Wed, 14 March 2001 18:48 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Richard G. French (rfrench@wellesley.edu) writes:
> I'm posting this for my brother - trying to maintain inter-family
> harmony here. it's an IDL routine that creates
> a PostScript file containing a TV image and an overplotted
> set of axes. The problem is that the output has an extra column
> of pixels - all red, in this case - that extend outside of the plot
> boundary. I know that there are other ways to do what is
> being done here, but my immediate question is:
>
> Is there an easy way to modify THIS code so that the
> extra column of pixels is not present?
>
> Thanks for any tips!
Actually, this program is working perfectly. You
simply forgot to set the BITS_PER_PIXEL keyword
equal to 8 on the PostScript DEVICE command. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Current Time: Wed Oct 08 13:04:49 PDT 2025
Total time taken to generate the page: 0.00386 seconds