Hi all. The title says it all. The code below produces an example plotmatrix. Note that I have commented out the problematic line - but if you include this line, plotmatrix returns the error "invalid syntax". This is most dissatisfying as the labels are critical here.
Any ideas? Using combinations of "labels" or `"labels" ' or even "` "label1" "label2" "etc" '' ' has not helped.
Any ideas? Using combinations of "labels" or `"labels" ' or even "` "label1" "label2" "etc" '' ' has not helped.
Code:
matrix def x = 0,0,0,0,2,5\2,4,2,5,19,43\7,6,8,12,51,161\10,11,12,31,84,190\4,5,13,24,57,96 local rows 80-100 60-80 40-60 20-40 0-20 local cols 0-2 2-4 4-6 6-8 8-10 10-12 matrix rownames x=`rows' *matrix colnames x=`cols' //this line causes the error mat li x plotmatrix, mat(x) split(0(30)210) freq formatcells(%2.0f) title("Example") ylabel(, labsize(small)) xlabel(, labsize(small))
Comment