Fix test win64b: test_run('graphics', 'contour2d')
[scilab.git] / scilab / modules / graphics / tests / nonreg_tests / bug_4221.dia.ref
index ede6047..ce9e901 100644 (file)
 //
 // <-- Short Description -->
 // graypolarplot uses to much memory.
-//
-stacksize(200000000);
+// 
+stacksize('max');
 rho=1:256;
 theta=(1:360)./180.*%pi;
-z=30+round(theta'*(1+rho^2));
+z=30+round(theta'*(1+rho.^2));
 f=gcf();
 f.color_map= hotcolormap(128);
-clf();graypolarplot(theta,rho,z);
+clf();
+graypolarplot(theta,rho,z);
+xdel(winsid());
 // It's just a 256x360 matrix, it should not complain about memory