Re: [Scilab-users] Generic plot command draws automatically _which_ coloured curves

2023-03-22 Thread Jean-Yves Baudais
Hello, Le 21/03/2023 à 19:55, Stéphane Mottelet a écrit : The colors and order of color cycling when using multiple pairs (x,y) is arbitrary in Scilab. Ok, no problem with that, but where is it defined? As Heinz Nabielik wrote, if I want to use the same color (which are nice :-), I need to

Re: [Scilab-users] Generic plot command draws automatically _which_ coloured curves

2023-03-21 Thread Heinz Nabielek
On 21.03.2023, at 17:17, Jean-Yves Baudais wrote: > > Hello, > > Le 20/03/2023 à 14:40, Samuel Gougeon a écrit : >> getcolor() tells it to you, in the infobar for the selected color: > > > plot((1:10)',rand(10,6),"-*");legend("1","2","3","4","5","6") Sorry, colleagues, I am still at a loss. At

Re: [Scilab-users] Generic plot command draws automatically _which_ coloured curves

2023-03-21 Thread Stéphane Mottelet
The colors and order of color cycling when using multiple pairs (x,y) (or plotting (x,y) when at least y is a matrix) is arbitrary in Scilab. Scilab mimics (very approximately) Matlab behavior, but Matlab has a "ColorOrder" property (even a "LineStyleOrder") which defines the colors (by r,g,b

Re: [Scilab-users] Generic plot command draws automatically _which_ coloured curves

2023-03-21 Thread Jean-Yves Baudais
Hello, Le 20/03/2023 à 14:40, Samuel Gougeon a écrit : getcolor() tells it to you, in the infobar for the selected color: > plot((1:10)',rand(10,6),"-*");legend("1","2","3","4","5","6") > gcf().color_map gvf().color_map gives the same color as getcolor() does, but it is not the six colors

Re: [Scilab-users] Generic plot command draws automatically _which_ coloured curves

2023-03-20 Thread Samuel Gougeon
Le 20/03/2023 à 13:13, Heinz Nabielek a écrit : size(E4)= 81. 1. size(D) =81. 7. plot (E4,D,'-') This generic plot command draws automatically coloured curves in blue, green, red, etcetera What are the following colours? I know that 8 is white getcolor() tells it to you, in