ColorScales for Gizmo scatter plots
Fri, 05/15/2009 - 10:59 pm
I ran into a problem regarding ColorScales with Gizmo: I have chemical data from inclusion measurements, which I like to plot in ternary diagrams as shown in Fig. 1 for Al,Ca and S (=SW). The color of the data points corresponds to the inclusion size on a log-scale and is set using the "ModifyGraph zColor" operation. The log-size data are therefore stored in a 1D wave.
Fig. 2 is a plot of the same data set including Mg as fourth component in a quaternary diagram. I'd like to set the color scale according to the ternary diagram, thus log-size as color of the data points. If i didn't miss anything in the Gizmo documentation, I need to set up a 4-column 2D wave, containing r,g,b,a values running from 0 to 1. The question is now: How do I translate my log-size data into such a scheme which is identical with the color scale I applied in the ternary (in this case it's Rainbow16)?
Any ideas are welcome!