[Scilab-users] grayplot - colorbar
SCHULZ Wolfgang
W.Schulz at ove.at
Wed Nov 23 16:05:12 CET 2016
Hello,
I'm using Scilab 6 beta 2 under Win 10 and I have a problem with grayplot and a colorbar.
With the following script I would expect to have at least 1 square colored in red because I scale the colorbar to the maximum of the matrix but with grayplot it doesn't work:
map = jetcolormap(64);
f=get("current_figure");
f.color_map = map;
dxp=0:5:10;
dyp=0:5:10;
nb_xy=[64 30 2; 4 5 6; 7 8 33]
colorbar(1,max(nb_xy),[1 64]);
grayplot(dxp,dyp,nb_xy)
Using Sgrayplot shows 1 corner in red but in this case I cannot see the individual grid cells what is absolutely necessary for me.
What can I do? What is my mistake?
Thanks for your help.
Wolfgang
More information about the users
mailing list