colorbar not working for handles of type "Fac3d"
Reported by Vincent Azzopardi
BUG DESCRIPTION:
----------------
colorbar function raise an error when called for handle of type "Fac3d"
ERROR LOG:
----------
(Log in french)
Opération indéfinie pour les opérandes données.
vérifier ou définir la fonction %l_e pour la surcharge.
HOW TO REPRODUCE THE BUG:
-------------------------
f = scf();
// code extracted from plot3d2 examples
u = linspace(-%pi/2,%pi/2,40);
v = linspace(0,2*%pi,20);
X = cos(u)'*cos(v);
Y = cos(u)'*sin(v);
Z = sin(u)'*ones(v);
plot3d2(X,Y,Z)
h = gca().children; // handle of type "Fac3d"
colorbar(min(Z), max(Z)); // raise an error
OTHER INFORMATION:
------------------