# In a TMultigraph, how can i set different draw options for different Tgraphs

**URL:** <https://root-forum.cern.ch/t/in-a-tmultigraph-how-can-i-set-different-draw-options-for-different-tgraphs/49204>\
**Category:** Newbie\
**Created:** [March 16, 2022, 5:52am UTC](https://root-forum.cern.ch/t/in-a-tmultigraph-how-can-i-set-different-draw-options-for-different-tgraphs/49204 "2022-03-16T05:52:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Towseef\_Rehman](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/e495f1/32.png) [@Towseef\_Rehman](https://root-forum.cern.ch/u/Towseef_Rehman)\
**Post date:** [March 16, 2022, 5:52am UTC](https://root-forum.cern.ch/t/in-a-tmultigraph-how-can-i-set-different-draw-options-for-different-tgraphs/49204/1 "2022-03-16T05:52:39Z")

</div>

Hi Rooters,

I have added different graphs using TMultigraph, and want to set different draw options for each graph. Like in one graph I want to draw only symbols at the data points and in another, I want to draw a smooth line with points.  
Anyone who can help me out?

_ROOT Version:_ 6.16/00  
_Platform:_ Ubuntu 20.04

* * *

---

<div class="post-metadata">

**Author:** ![couet](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/couet/32/12037_2.png) [@couet](https://root-forum.cern.ch/u/couet)\
**Post date:** [March 16, 2022, 7:38am UTC](https://root-forum.cern.ch/t/in-a-tmultigraph-how-can-i-set-different-draw-options-for-different-tgraphs/49204/2 "2022-03-16T07:38:46Z")

</div>

Use the [option of the Add method](https://root.cern/doc/master/classTMultiGraph.html#a2e3c69dd70582da81cf1e32414cc5e2d).

---

<div class="post-metadata">

**Author:** ![dastudillo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/dastudillo/32/17280_2.png) [@dastudillo](https://root-forum.cern.ch/u/dastudillo)\
**Post date:** [March 16, 2022, 8:28am UTC](https://root-forum.cern.ch/t/in-a-tmultigraph-how-can-i-set-different-draw-options-for-different-tgraphs/49204/3 "2022-03-16T08:28:56Z")

</div>

And you can see the plotting options here:  
[https://root.cern/doc/master/classTGraphPainter.html](https://root.cern/doc/master/classTGraphPainter.html)
