[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Colour Tables
- Subject: Re: Colour Tables
- From: mallors(at)msfc.nasa.gov (Robert S. Mallozzi)
- Date: 26 Mar 1999 23:18:47 GMT
- Newsgroups: comp.lang.idl-pvwave
- Organization: http://www.msfc.nasa.gov/
- References: <7dfd41$48g$1@nnrp1.dejanews.com>
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:14117
[Posted and mailed]
In article <7dfd41$48g$1@nnrp1.dejanews.com>,
philaldis@geocities.com writes:
> Okay does anyone have a good routine for creating
> colour tables - because I
> can't get xpalette to work. It is one of the most
> unintuitive programs I've
> ever seen. The interpolating thing is quite random
> and the fact that you have
> to keep moving off a square then back on to see
> how it's chnaged is quite
> frankly very annoying.
>
> What I'd really want is nothing too fancy. The best
> situation would be if it
> was like the screen you can get to someone from xpalette
> where you add
> control points and stuff. Well if you could do that on a
> plot which had range
> 000000 -> FFFFFF and then add the control points and the
> prog used congrid to make the table.
>
> If no-one's written one then I think I'll do it.
> Any suggestions? Have others
> had the same annoyances with xpalette?
Well, I've not used xpalette, but I do have an object that will
create indexed color tables. By default the object contains
a six color table, but you can define your own tables. If you
want to select the colors interactively, then this won't help
you. It will allow you to define a set of colors, then let
the user select from those colors. See
http://cspar.uah.edu/~mallozzir/software/idl/info/color_obj.html
Maybe this will help you, or perhaps you could subclass
it to do what you want.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert S. Mallozzi 256-544-0887
Mail Code ES 84
Work: http://www.batse.msfc.nasa.gov/ Marshall Space Flight Center
Play: http://cspar.uah.edu/~mallozzir/ Huntsville, AL 35812
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~