# Ftimedisplay and SetTimeDisplay()

**URL:** <https://root-forum.cern.ch/t/ftimedisplay-and-settimedisplay/38299>\
**Category:** Newbie\
**Created:** [March 6, 2020, 7:01pm UTC](https://root-forum.cern.ch/t/ftimedisplay-and-settimedisplay/38299 "2020-03-06T19:01:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinlinxc](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/kevinlinxc/32/21030_2.png) [@kevinlinxc](https://root-forum.cern.ch/u/kevinlinxc)\
**Post date:** [March 6, 2020, 7:01pm UTC](https://root-forum.cern.ch/t/ftimedisplay-and-settimedisplay/38299/1 "2020-03-06T19:01:01Z")

</div>

Can anyone explain how these work?  
Specifically, what does SetTimeDisplay(1) do to a graph and what are the preconditions for that to work? Does the graph already need to have an x axis?

_ROOT Version:_ 6.18/04  
_Platform:_ Windows  
_Compiler:_ Not Provided

* * *

---

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 6, 2020, 7:17pm UTC](https://root-forum.cern.ch/t/ftimedisplay-and-settimedisplay/38299/2 "2020-03-06T19:17:55Z")

</div>

See: [`${ROOTSYS}/tutorials/graphs/time*`](https://root.cern.ch/doc/master/group __tutorial__ graphs.html)
