On Wed, Nov 10, 2010 at 7:44 AM, Christian Meesters <
meest...@imbie.uni-bonn.de> wrote:
> Hi,
>
> Honestly, I neglected my mpl skills lately, so I don't know whether docs
> on this topic are available, but I couldn't find them either.
>
> I would like to create a forest plot using horizontal errorbars.
> Currently my marker is simply 'kd' in pylab.errorbar, where 'd' is
> similar to LaTeX's \blacklozenge.
>
> Is there a way to rotate the marker such that long cross section is
> horizontal (rotation by 90 degree) and not vertical anymore?
>
> TIA
> Christian
>
>
>
Christian,
Looking through the code for drawing the "thin diamond", I think you might
be able to get what you want by specifying the fillstyle. It appears that
different rotations are applied when the fillstyle is set to one of
"bottom", "top", or "left". "full" is another available fillstyle, which
appears to take a unit rectangle and rotates that 45 degrees.
Probably your best bet would be the 'top' fillstyle, which looks like it
does a 90 degree rotation.
I hope this helps,
Ben Root
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users