mirror of
https://github.com/aportelli/LatAnalyze.git
synced 2025-04-11 03:20:46 +01:00
special macro to plot correlation matrices
This commit is contained in:
parent
8cd29c2bee
commit
e4cefae515
@ -193,6 +193,11 @@ PlotRange(Axis::x, -.5, (m).cols() - .5) <<\
|
|||||||
PlotRange(Axis::y, (m).rows() - .5, -.5) <<\
|
PlotRange(Axis::y, (m).rows() - .5, -.5) <<\
|
||||||
PlotMatrixNoRange(m)
|
PlotMatrixNoRange(m)
|
||||||
|
|
||||||
|
#define PlotCorrMatrix(m)\
|
||||||
|
PlotHeadCommand("set cbrange [-1:1]") <<\
|
||||||
|
PlotHeadCommand("set palette defined (0 'blue', 1 'white', 2 'red')") <<\
|
||||||
|
PlotMatrix(m)
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
* Plot modifiers *
|
* Plot modifiers *
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user