# How to adjust line color and add lines in figure window

**URL:** <https://scilab.discourse.group/t/how-to-adjust-line-color-and-add-lines-in-figure-window/240>\
**Category:** Graphics and plotting\
**Created:** [November 16, 2023, 11:02am UTC](https://scilab.discourse.group/t/how-to-adjust-line-color-and-add-lines-in-figure-window/240 "2023-11-16T11:02:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Smart](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Smart](https://scilab.discourse.group/u/Smart)\
**Post date:** [November 16, 2023, 11:02am UTC](https://scilab.discourse.group/t/how-to-adjust-line-color-and-add-lines-in-figure-window/240/1 "2023-11-16T11:02:45Z")

</div>

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,

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [November 21, 2023, 10:57am UTC](https://scilab.discourse.group/t/how-to-adjust-line-color-and-add-lines-in-figure-window/240/2 "2023-11-21T10:57:01Z")

</div>

Hello,

The graphical entity editor does work only on Windows and Linux. See [ged - Scilab Graphic Editor](https://help.scilab.org/docs/2024.0.0/en_US/ged.html)

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

```auto
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):

 ![Capture d’écran 2023-11-21 à 11.55.47](https://global.discourse-cdn.com/free1/uploads/utc/original/1X/1549651f96cba123fe4fa342a89c1520d43feb77.jpeg)

S.

---

<div class="post-metadata">

**Author:** ![Smart](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Smart](https://scilab.discourse.group/u/Smart)\
**Post date:** [November 23, 2023, 9:04am UTC](https://scilab.discourse.group/t/how-to-adjust-line-color-and-add-lines-in-figure-window/240/3 "2023-11-23T09:04:45Z")

</div>

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,

 ![Unbenannt](https://global.discourse-cdn.com/free1/uploads/utc/original/1X/008aaee883ae720096cd62ecacb4fc560a543e08.png)

---

<div class="post-metadata">

**Author:** ![mottelet](https://yyz2.discourse-cdn.com/free1/user_avatar/scilab.discourse.group/mottelet/32/13_2.png) [@mottelet](https://scilab.discourse.group/u/mottelet)\
**Post date:** [November 23, 2023, 9:50am UTC](https://scilab.discourse.group/t/how-to-adjust-line-color-and-add-lines-in-figure-window/240/4 "2023-11-23T09:50:39Z")

</div>

Hello,

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

S.
