Subscribe Bookmark RSS Feed

Animate color map on correlations

mark_wolff

Staff

Joined:

Oct 7, 2015

In an analysis I did some time ago I was able to create an animation of a color map using correlations.

I started with a table,  each column was an event and each row contained a value for frequency of that event as a function of date.

Using the Data Filter and animation option, I created a movie that showed the color of each cell changing as a function of time.

I must be forgetting something asI can recreate the color map, but selecting animation in the data filter has no effect.

For an example see the enclosed movie.

Any help here to jar my memory as to how I did this would be greatly appreciated.

3 REPLIES
ian_jmp

Staff

Joined:

Jun 23, 2011

The code below works for me. Do you see anything in the log window?

dt = Open("$SAMPLE_DATA/Semiconductor Capability.jmp");

dt << Multivariate(

Y( :NPN1, :PNP1, :PNP2, :NPN2, :PNP3, :IVP1, :PNP4, :NPN3, :IVP2, :NPN4 ),

Estimation Method( "Row-wise" ),

Matrix Format( "Square" ),

Scatterplot Matrix( 0 ),

Correlations Multivariate( 0 ),

Color Map On Correlations( 1 ),

Local Data Filter(

Mode,

Add Filter(

columns( :Wafer ID in lot ID ),

Where( :Wafer ID in lot ID == "lot1_16" ),

Display( :Wafer ID in lot ID, Size( 210, 235 ), List Display )

),

Animation( Animate Column( :Wafer ID in lot ID ), Animate Rate( 78 ) )

)

);


mark_wolff

Staff

Joined:

Oct 7, 2015

Ian, thanks for the response. 

I was hoping I could figure out how I did this originally by using just the available options.

I'm not very competent at scripting.

ian_jmp

Staff

Joined:

Jun 23, 2011

Sorry Mark. Just do File > New > New Script', then cut and paste the script above into this window. Then Do 'Edit > Run Script' to see something happen. This should allow you to then look at the 'red triangle' options that have been used.