grayplot and contour plots the transpose of the surface.
Reported by Holger Nahrstaedt
-- Bug description --
grayplot and contour plots the transpose of the surface.
-- Scilab error message --
-- How to reproduce the bug --
Created an attachment (id=1976)
grayplot_bug
x=-1:.1:1;
y=-1:.1:1;
[X,Y]=meshgrid(x,y);
Z=X.^2-Y.^2;
//The maximum of the sourface is at x(11)=0,y(1)=-1 and x(11)=0, y(21)=1
// if i am doing a mesh plot everything is fine
mesh(X,Y,Z);
// but the grayplot plots Z'
grayplot(x,y,Z);colorbar(-1,1);
// grayplot seems to exchange x and y
// grayplot(x,y,Z) gives the same results as mesh
// same ploblem with contour and contour2d