-- Bug description --
Hi, about "colorbar" the users manual state that "The function may be called BEFORE the plot3d, fec, Sgrayplot,... because its sets and changes the frame for the plot" which does not seem to be the case following the script below. Has anyone an idea to correct this ? Thanks. Fred.
-- Scilab error message --
-- How to reproduce the bug --
// unconsistency between colorbar and grayplot (Sgrayplot) ?
// (script tested on Scilab 5.1.1, and 4.1.2 as well, on Linux Debian lenny)
x= [ 1., 2., 3.]
y= [ 1., 2., 3.]
v= linspace( 1.0, 9.0, 9) // i.e. min = 1 and max = 9
m= matrix( v, 3, 3)
scf( 0);
colorbar( 1.0, 9.0); // with true min and max
grayplot( x, y, m); // OK colorbar & plot consistent
scf( 1);
colorbar( -10.0, 20.0); // with a larger range
grayplot( x, y, m); // scale unconsistent here
scf( 2);
colorbar( +10.0, 20.0); // with min & max out of range,
grayplot( x, y, m); // min and max specified
// definitely ineffective!?