Impossible to set mark_background as a column vector in Scilab 6.0.1 (same for mark_foreground)
Reported by Vincent Azzopardi
BUG DESCRIPTION:
----------------
When the graphic property mark_foreground or mark_background has a dimension higher than 1, it is impossible to update its value by a new vector with the same dimension.
ERROR LOG:
----------
In french :
"Dimension erronée de la propriété 'mark_background' : Un vecteur ligne attendu."
or
"Dimension erronée de la propriété 'mark_foreground' : Un vecteur ligne attendu."
HOW TO REPRODUCE THE BUG:
-------------------------
f = scf();
plot([[1 2]; [1 3]], [[3 4]; [4 5]], "o");
e = gce();
h = e.children;
size(h.mark_background)
size(h.mark_foreground)
// sizes are the same
h.mark_background = h.mark_foreground ==> bug
h.mark_foreground = h.mark_background ==> bug
h.mark_background = ones(h.mark_background) ==> bug
h.mark_foreground = ones(h.mark_foreground) ==> bug
OTHER INFORMATION:
------------------