grayplot scaling
Bouchra Bensiali
bouchra.bensiali at yahoo.fr
Sat Nov 6 23:11:47 CET 2010
Hello,
Is there an equivalent in Scilab to the Matlab caxis Pseudocolor axis scaling? I
want to do something like that:
--
figure,
x = linspace(0,1,101);
z = cos(2*pi*x)'*sin(2*pi*x);
zm = min(min(z)); zM = max(max(z));
pcolor(x,x,z), shading flat,
caxis manual; caxis([zm zM]);
colorbar
figure,
z2 = x'*x*0.4;
pcolor(x,x,z2), shading flat,
caxis manual; caxis([zm zM]);
colorbar
--
Thank your for your help.
More information about the users
mailing list