Changing Color Scales in Graph Builder when Using a Data FilterI'm creating an X-Y plot in Graph Builder and Using a 3rd continuous variable, Z, to create a color map at the X-Y values. Further in a Data Filter I'm using a 4th variable that is a time based variable to show how the color map changes as a function of that 4th variable. Using the animation feature is great for showing this.
The problem is that as in the animation JMP apparently defaults to using the entire range of the color variable (Z) to set the scale. I want the color scale and hence the colors in the X-Y plot to change as the 4th variable goes through it's sequence. The entire data set (range of Z) covers a large range and so at any particular value of the animation variable, the color map is a solid color.
Is there a way to change the color scale as you step through the values in the data filter?
Re: Changing Color Scales in Graph Builder when Using a Data FilterOk, here is the script that I used to test legends and filters using Graph Builder, with JMP 14. In this example, the legend updates each time the filter changes.
Open("$SAMPLE_DATA/Big Class.jmp");
Graph Builder(
Show Control Panel( 0 ),
Variables( X( :sex ), Y( :height ), Color( :weight ) ),
Elements( Points( X, Y, Legend( 14 ) ) ),
Local Data Filter(
Add Filter(
columns( :age ),
Where( :age == 12 ),
Display( :age, Size( 160, 90 ), List Display )
)
)
);
The next thing that comes to mind is that the data table may contain a column property that specifies gradient limits:

Do you have a sample table with script that you can provide that demonstrates the issue?
Re: Changing Color Scales in Graph Builder when Using a Data FilterNo, lock scales is not selected.
Re: Changing Color Scales in Graph Builder when Using a Data FilterDo you have Lock Scales selected in the Graph Builder options?

Lock Scales applies to both axis scales as well as color gradient scales and will maintain the min/max settings during filter or data table interaction.