[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: seeing red (in postscript output)
- Subject: Re: seeing red (in postscript output)
- From: davidf(at)dfanning.com (David Fanning)
- Date: Wed, 14 Mar 2001 19:48:06 -0700
- Newsgroups: comp.lang.idl-pvwave
- Organization: Fanning Software Consulting
- References: <3AB01942.9820BE22@wellesley.edu>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:23986
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