How to adjust line color and add lines in figure window

Hello,

Having previously worked with Mathworks software, I was accustomed to adding lines or modifying line attributes such as color through the figure environment menu bar. I’m wondering if a similar functionality exists in Scilab. While I’ve noticed that I can click on a curve to move or delete it,

I had hoped to be able to adjust the line style by right-clicking on the line and accessing a context menu.

Best regards,

Hello,

The graphical entity editor does work only on Windows and Linux. See ged - Scilab Graphic Editor

As the example in the above reference does not cover your case, try this one:

clf
plot(1:10,sin(1:10))
ged(10)

the 10 means “launch the entity picker”. If you click on the curve, a window with all its properties will open and allow you to edit them (you can also navigate in the graphical entities tree):

S.

1 Like

Hello S.,

I attempted to use your example with Scilab 2024.0.0, but regrettably, the Polyline Editor isn’t appearing. Is there something I might be overlooking?

Best regards,

Hello,

You have to left-click on a graphic entity (as displayed in the bottom message bar of the window).

S.

1 Like