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

Home » Public Forums » archive » Re: plotting and colors
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: plotting and colors [message #45943] Tue, 18 October 2005 09:10 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
rlayberry wrote:
> I have always had problems plotting with colors. For example, I am
> using a PC remotely connected to a linux machine running idl.
>
>
> if i do...
>
> a=findgen(1000)/10.0
>
> window,1,retain=2
> plot,sin(a),background=255
>
>
> then I get black on a red background, whereas the help says I should
> get black on a white background...
>

A classic FAQ. Check out David Fanning's website www.dfanning.com.
While there, you may want to check out this:

http://www.dfanning.com/color_tips/colors24.html

I recommend his book. It is well worth it and you won't feel so guilty
using all of his code :)


You may also want to consider running your X server in 8-bit mode.

-Rick
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: plotting and colors
Next Topic: declare variables

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

Current Time: Fri Oct 10 22:08:20 PDT 2025

Total time taken to generate the page: 0.15985 seconds