# Multigraph with ULs

**URL:** <https://root-forum.cern.ch/t/multigraph-with-uls/62804>\
**Category:** ROOT\
**Created:** [February 1, 2025, 4:32pm UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804 "2025-02-01T16:32:14Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![faca87](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@faca87](https://root-forum.cern.ch/u/faca87)\
**Post date:** [February 1, 2025, 4:32pm UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/1 "2025-02-01T16:32:14Z")

</div>

Hello,  
is it possible to delete the markers in the ULs and only shows an arrow like this  
 ![image](https://root-forum.cern.ch/uploads/default/original/3X/f/b/fb9485778d43e34e3b64adc31fae82b45f8adce9.png)  
???

I get the ULs, but it draws the ULs with the marker

 ![SED](https://root-forum.cern.ch/uploads/default/original/3X/3/6/36b67ce160955ec883bcd441e3496dadaa66dd51.png)  
[archival\_tab.txt](https://root-forum.cern.ch/uploads/short-url/rh4EfJVIljgSYCmZCSZLHeVeDd9.txt) (1.8 KB)  
[flare\_tab.txt](https://root-forum.cern.ch/uploads/short-url/37fXbZae47wW6FvLyX4NFHlCZwI.txt) (3.6 KB)  
[multul.cpp](https://root-forum.cern.ch/uploads/short-url/8NMfdby2JfeDLG6BQzQ42DCNrGi.cpp) (4.0 KB)

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [February 1, 2025, 5:04pm UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/2 "2025-02-01T17:04:00Z")

</div>

Hi,

Thanks for the visual examples. Could you perhaps try to share a bit more context? What is the behaviour you want to achieve and what is wrong with the one you have now?

Cheers,  
D

---

<div class="post-metadata">

**Author:** ![faca87](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@faca87](https://root-forum.cern.ch/u/faca87)\
**Post date:** [February 1, 2025, 5:49pm UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/3 "2025-02-01T17:49:18Z")

</div>

Thank you Danilo.  
Looking to the plot you see, ULs have the marker (i.e. the star and the top upward triangle) + the arrow indicating it’s an UL.

 ![36b67ce160955ec883bcd441e3496dadaa66dd51](https://root-forum.cern.ch/uploads/default/original/3X/c/f/cf445c1c93c729de44c1974d4ced25616a5496e5.png)

Would be possible to change the marker for the ULs? i.e. drawing only the arrow (and the error bar) like in this image

![image](https://root-forum.cern.ch/uploads/default/original/3X/f/b/fb9485778d43e34e3b64adc31fae82b45f8adce9.png)

or drawing a specific marker for the ULs (for example, instad of the star and the triangle, drawing all ULs with a circle).

---

<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:** [February 2, 2025, 4:20am UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/4 "2025-02-02T04:20:37Z")

</div>

Not sure what you mean by “UL” (try to be clear when asking) but guessing from your code, you are declaring the “upper limits…” points as TArrow, so you should look at the arrot drawing options ([TArrow doc](https://root.cern/doc/master/classTArrow.html)). If you don’t like the arrow options, you can choose some TPolyMarker instead:  
[https://root.cern/doc/master/classTPolyMarker.html](https://root.cern/doc/master/classTPolyMarker.html)  
[https://root.cern/doc/master/classTAttMarker.html](https://root.cern/doc/master/classTAttMarker.html)

---

<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:** [February 3, 2025, 10:13am UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/5 "2025-02-03T10:13:30Z")

</div>

> [@faca87](#):
>
> is it possible to delete the markers in the ULs and only shows an arrow like this

Choose the dot marker.

---

<div class="post-metadata">

**Author:** ![faca87](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@faca87](https://root-forum.cern.ch/u/faca87)\
**Post date:** [February 4, 2025, 7:09am UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/6 "2025-02-04T07:09:02Z")

</div>

Hello thank you the both @dastudillo and @couet

yes UL=Upper Limit

@couet: thank you, but if I change the marker, I will change it for the data (i.e. no ULs too)…I was asking if it’s possible to change only the marker of the ULs.

@dastudillo thank you, I will check your links

---

<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:** [February 4, 2025, 8:39am UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/7 "2025-02-04T08:39:21Z")

</div>

> [@faca87](#):
>
> thank you, but if I change the marker, I will change it for the data (i.e. no ULs too)…I was asking if it’s possible to change only the marker of the ULs.

The UL is not a marker. It is an arrow.

---

<div class="post-metadata">

**Author:** ![faca87](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@faca87](https://root-forum.cern.ch/u/faca87)\
**Post date:** [February 4, 2025, 6:19pm UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/8 "2025-02-04T18:19:42Z")

</div>

Yes, but actually it looks like that root writes the arrow with the marker too…  
In my plot I get the error but also the marker

---

<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:** [February 5, 2025, 7:31am UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/9 "2025-02-05T07:31:41Z")

</div>

> [@faca87](#):
>
> Yes, but actually it looks like that root writes the arrow with the marker too…

No, arrows’ heads are not markers, they are drawn as polygons (triangles) or lines.

---

<div class="post-metadata">

**Author:** ![system](https://root-forum.cern.ch/uploads/default/original/3X/e/f/efe4f24398fd8ffeb76bccb6ecc46d9d9c003376.png) [@system](https://root-forum.cern.ch/u/system)\
**Post date:** [February 19, 2025, 7:32am UTC](https://root-forum.cern.ch/t/multigraph-with-uls/62804/10 "2025-02-19T07:32:24Z")

</div>

Closed on February 19, 2025, 7:32am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
