>> > Hi, me again :)
>> >
>> > I'm looking for a way to have the xlabels on the top (instead of
>> bottom),
>> > and the ylabels on the right (instead of left). I guess I could do
>> > something with twinx / twiny and just not use the left/bottom axis,
>> but
>> > I'm sure there is some more elegant way ...
>>
>> I need to correct myself: I want the xticklabels / yticklabels to be on
>> top/right.
>>
>>
> I believe you are looking for tick_params():
> http://matplotlib.org/api/axes_api.html?highlight=tick_param#matplotlib.axes.Axes.tick_params
>
> ax.tick_params(axis='x', labelbottom=False, labeltop=True)
> ax.tick_params(axis='y', labelleft=False, labelright=True)

Yes, that's it, Ben. Thanks!



------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to