Le 21/10/2019 à 12:04, Perrichon a écrit :

Dear all,

Generally, when plotting, curves’s color are taken in the range color [1 3 5 7 9 11 13 15], where 1 is the black color.

So, the first curve is black

Is there a general way to modify this vector as to get another one with blue as first curve.


cm = gdf().color_map;
gdf().color_map(1:2,:) = cm([2 1],:);

But then, in all forthcoming graphical figures, blue and black colors of the default color map will be switched, for all kinds of plots.
Not sure that's a good idea.


_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users

Reply via email to