Very nice, thank you. 

Have a nice day!


2012/12/12 Vries, J.J. de <[log in to unmask]>
Should read:
DrawAdjust(ADJ_AREAMATRIX, t,1);
It's a predefined integer constant, not a string.

Regards,
Jaap

Van: The ox-users list is aimed at all Ox users [[log in to unmask]] namens Victor E [[log in to unmask]]
Verzonden: woensdag 12 december 2012 12:25
To: [log in to unmask]
Onderwerp: DrawAdjust("ADJ_AREAMATRIX") - not responding

Hello again. 

Does anyone have any idea why the function for adjusting the graph-area matrix may not be "responding"? I am trying to change a 2x2 layout into a 4x1 by code. The first time I ran it, it worked. Now it's not responding.  
 
My tryout code is the following: 


In text: 

decl u = rann(100,1), x = cumulate(ones(100,1)), t;
t = 0;

SetDrawWindow("test");

DrawXMatrix(t, u', "", x', "", 1,1); ++t;
DrawXMatrix(t, u', "", x', "", 1,1); ++t;
DrawXMatrix(t, u', "", x', "", 1,1); ++t;
DrawXMatrix(t, u', "", x', "", 1,1); ++t;

DrawAdjust("ADJ_AREAMATRIX", t,1);
ShowDrawWindow();

Any thoughts are appreciated. Thanks! 

Regards, Victor. 




--
mvh
Victor Elleskov