# Two scales defined by a function

**URL:** <https://root-forum.cern.ch/t/two-scales-defined-by-a-function/58273>\
**Category:** Newbie\
**Created:** [February 23, 2024, 2:38pm UTC](https://root-forum.cern.ch/t/two-scales-defined-by-a-function/58273 "2024-02-23T14:38:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![SRLeX](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/s/779978/32.png) [@SRLeX](https://root-forum.cern.ch/u/SRLeX)\
**Post date:** [February 26, 2024, 11:39am UTC](https://root-forum.cern.ch/t/two-scales-defined-by-a-function/58273/3 "2024-02-26T11:39:56Z")

</div>

Thank you in advance!

Minor correction to exactly reproduce my figure:  
I forgot to update my example code in the original post (it uses `wmin = 1`, `wmax = 4.12`) and I cannot edit it now unfortunately. So as I said in the text I manually set `wmin = 3`, `wmax = 9`, that translates to code like this:

```auto
// draw manual axis with manual limits with an offset then color it blue
TGaxis *axis2 = new TGaxis(gPad->GetUxmin(), gPad->GetUymax()-20,
                               gPad->GetUxmax(), gPad->GetUymax()-20, 3, 9, 510, "+L");

```

I would also appreciate if you could mention to him my other topic [TRatioPlot confidence bands - limiting, asymmetry](https://root-forum.cern.ch/t/tratioplot-confidence-bands-limiting-asymmetry/58045), which I have not received a reply to for some time.

If you need further clarification about my problems, feel free to ask!

Cheers,  
Lex

---

_[View the full topic](https://root-forum.cern.ch/t/two-scales-defined-by-a-function/58273)._
