Is it possible to have different colours in my plot in Scilab? I use the mtlb_hold to hold the graph and it works fine, but my problem is that then I have the same colours in my graph. In Matlab with the hold command, I have different colours. Is it possible to have different colours in Scilab too?
Thank you in advance.
Is it possible to have different colours in my plot in Scilab? I use
Share
Just found it. In the
plotfunction, for exampleplot(), you can pass a second argument which specifies the color that will be used. For example, you can use usebfor blue color,gfor green,rfor red and callplot()like this:plot(z,"r").