Re: Colomap question



Hmm. My guess would be that it's exactly what you say the
problem is -- I think it may actually be working and you're
just not realizing it? Try setting your colormap, instead
of spectrum RGB, to a random vector like I did. See if it
changes when you replot it. Then set the vector to all red,
or something. Try it again. If the graph is responding, and
showing up in the proper colours, then it's probably
working.

Note that the default colormap IS jet, which, when plotted
over a range, does go from blue -> green -> red. It may
appear to be what you're looking for when in fact your
spectrumRGB vector is correct. I'm not quite sure how to
help you anymore than this, seeing as I can't make my code
break like yours without using the data you are.

"Ken Fleisher" <k-fleisher.donotspamme@xxxxxxx> wrote in
message <flil7l$8o6$1@xxxxxxxxxxxxxxxxxx>...
Thanks for looking into this, but I don't think that's it.
The code where I call the colormap is the one that "does"
work. It's when I next supply scatter with the RGB
triplets
directly that it seems to fail. Now, it's possible that my
RGB values are being displayed correctly, but why then
would
the colormap code display something different (which
happens
to be more like what I expect it to be--namely the pure
spectral colors).

I should also note that I get the same "incorrect" result
when I use the RGB triplets with the plot() function to
fill
in the color below the spectrum. (I'm trying to plot a
spectrum, such as D65, and fill in the graph between the
x-axis and the D65 line with the spectral colors that
correspond to the wavelength.)

Thanks.

Ken

.



Relevant Pages

  • Re: Colomap question
    ... The code where I call the colormap is the one that "does" ... It's when I next supply scatter with the RGB triplets ... when I use the RGB triplets with the plot() function to fill ... in the color below the spectrum. ...
    (comp.soft-sys.matlab)
  • Re: Contious optical receiver
    ... What differ a prism from a RGB mask? ... Well visible light have a range Wikipedia"The visible spectrum (or ... It isn't simply pure wavelength. ... RGB OR CMYK IS JUST FILTERS FOR "ONE WAVE LENGTH" YOU COULD PROBABLY ...
    (sci.physics)
  • Re: Yellow
    ... determined from the broadcast RGB signal. ... sub-pixel is fired and the R and G are dimmed to compensate. ... to have seven sub-pixels (ROYGBIV) and to process the RGB input to ... For light you simply record the spectrum with a decent spectrometer to get the intensity against wavelength. ...
    (uk.tech.digital-tv)
  • Re: Yellow
    ... technology Sharp is using to create images is mimicking critical ... determined from the broadcast RGB signal. ... sub-pixel is fired and the R and G are dimmed to compensate. ... For light you simply record the spectrum with a decent spectrometer to get the intensity against wavelength. ...
    (uk.tech.digital-tv)
  • Re: A Two to RGB Color Conversion Function in Greek Atom Theory.
    ... RGB theory was to confuse the issue of color ...  And to devise the method of translated color ... Atom as causal number was so defining a color that third atom was ... It is a fraction of the spectrum width. ...
    (sci.physics)