Hi. I am plotting optical bandpass filters from measurments and want to colour each point depending on where it is on the spectrum. My x values are wavelength (488 = blue, 532 = green and 670 = red). For each point i plot, I want to be able to plot it in a colour that represents its true colour.
Im not sure how to firstly create the colormap, and secondly apply this to the plot(x,y function).
Best Answer