|
From: Andrew K. <ndr...@gm...> - 2010-01-22 22:21:36
|
So twiny() is up and running with a FixedLocator and Formatter for the ticks
on the upper xAxis but am now unable to rotate these tick labels. Is there
a special method to set the rotation, etc with FixedLocators?
On Thu, Jan 21, 2010 at 3:09 PM, Jae-Joon Lee <lee...@gm...> wrote:
> On Thu, Jan 21, 2010 at 2:31 PM, Andrew Kelly <ndr...@gm...> wrote:
> > Turning label2On = true turned on the labels as directed. However, the
> > function label2.set_text("New Tick Label") does not update the
> > actual text. I can set_size(), etc and it works, but set_text() does not
> > update. Any ideas why?
> >
>
> You should not call set_text directly, instead you need to call
> Axis.set_ticklabels.
> If you want the top (right) ticks have different ticklabels than the
> bottom (left) ticks, that is not possible.
> You need to make another axes by calling twin*.
>
> -JJ
>
|