Re: Angled axis labels?

From: Dmitry Kotov <dmitriy.kotov_at_gmail.com>
Date: Thu, 5 May 2011 23:53:29 +0400


Sometimes it's just faster to do smth by hand rather than spend couple of hours figuring out how does this thing actually work :) Of course it always depends on a particular case. Be patient, when someone from root experts is around, you'll finally get the solution!

Dmitry

On Thu, May 5, 2011 at 11:22 PM, Philip Rodrigues < p.rodrigues1_at_physics.ox.ac.uk> wrote:

> Hi Dmitry,
> Thanks for the suggestion. I'd really like a general solution, but if it
> comes
> to that I might have to spend the time floating labels by hand...
>
> Phil
>
> On Thursday, May 05, 2011 03:14:54 pm Dmitry Kotov wrote:
> > Hey Phil,
> >
> > If you don't need to produce say 100 of plots, you can just substitute
> axis
> > labels with usual AddText and turn them to whatever angle you need. Right
> > on canvas in real-time.
> > Hope this helps.
> >
> > Cheers,
> > Dmitry
> >
> > On Thu, May 5, 2011 at 11:07 PM, Philip Rodrigues <
> >
> > p.rodrigues1_at_physics.ox.ac.uk> wrote:
> > > Hi roottalk,
> > > Is it possible to draw axis labels at an angle (specifically, for plots
> > > where
> > > the x axis labels are dates)? I see that TGaxis has a SetTextAngle
> > > function,
> > > but I couldn't work out how to get it to do anything...
> > >
> > > Thanks,
> > > Phil
>

-- 
Dmitry Kotov, Junior Researcher
Petersburg Nuclear Physics Institute

High Energy Physics Department                       Phone:  +7-81371-46136
Orlova Roshca, Gatchina, Russia, 188300           E-mail:
kotovdo_at_mail.pnpi.spb.ru


<mnaglis_at_rcf.rhic.bnl.gov>
Received on Thu May 05 2011 - 21:53:56 CEST

This archive was generated by hypermail 2.2.0 : Sat May 07 2011 - 05:50:01 CEST