I think you have to flip the x-axis of the left plot by for instance
ax1 = subplot(121, xlim=(1, 0))
and I think than hist(data, orientation='horizontal') or manually using
barh-plots works fine.
On Thursday 07 January 2010 22:12:56 Renato Alves wrote:
> What I'm trying to accomplish is something like:
> For that I was trying to use subplots where both draw in horizontal
> orientation but one will be flipped or mirrored.
> I couldn't find any parameter to do so. There is left for horizontal
> plots but no right. The same goes for bottom, but no top.
> Is there any way to achieve this?
Quoting Matthias Michler on 01/08/2010 08:00 AM:
> Hi Renato,
> I think you have to flip the x-axis of the left plot by for instance
> ax1 = subplot(121, xlim=(1, 0))
> and I think than hist(data, orientation='horizontal') or manually using
> barh-plots works fine.
> Kind regards,
Thanks for your tip, this solved the first problem.
But it seems the approach I was trying is not as flexible as I thought
it would be.
Right now I'm trying mpl_toolkits.axes_grid.axes_divider but I still
have a problem on locating the yaxis labels in a centered format.
Anyway this is a bit out of the scope of the initial thread.
Get latest updates about Open Source Projects, Conferences and News.