[Scilab-users] Curves color when plotting
Samuel Gougeon
sgougeon at free.fr
Mon Oct 28 13:49:55 CET 2019
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191028/4237b5f5/attachment.htm>
More information about the users
mailing list