Re: heatmap of correlation matrix w/o varstocases
Posted by
Jon Peck on
Mar 29, 2020; 10:29pm
URL: http://spssx-discussion.165.s1.nabble.com/heatmap-of-correlation-matrix-w-o-varstocases-tp5738932p5738935.html
There are a few functions in the customstylefunctions.py module that is installed with the SPSSINC MODIFY TABLES extension command that do things like this. It would be easy to write another one for that command that colored backgrounds (or foregrounds) according to the cell values. Of course, that wouldn't affect the area though one could vary the font size by value or make other appearance modifications.
So you can do the equivalent VARSTOCASES transform within GPL is one way
(although IIRC you need to spell out the individual columns to do it, you
can't do shortcuts like X1-X10)
Maybe another is to use a table instead of a graph. I bet JP did some code
to highlight cells of a table that could be adapted to do a table heatmap
instead of a graph.
-----
Andy W
[hidden email]
http://andrewpwheeler.wordpress.com/
--
Sent from: http://spssx-discussion.1045642.n5.nabble.com/
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
--
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD