Jae-Joon,

Thanks! That worked perfectly.

Brad

On Tue, Sep 6, 2011 at 6:46 PM, Jae-Joon Lee <lee.j.j...@gmail.com> wrote:

> In matplotlib, patches have two colors; facecolor and edgecolor.
> So, try something like this
>
>         arrowprops=dict(facecolor=((0.549,0.176,0.0156)),
>                          edgecolor=(0.549,0.176,0.0156),
>                          shrink=0.02,width=1,headwidth=6,frac=0.05),
>
> Regards,
>
> -JJ
>
>
> On Wed, Sep 7, 2011 at 10:35 AM, Brad Malone <brad.mal...@gmail.com>
> wrote:
> > Hi, I am trying to draw a brown arrow to a particular part of my figure
> but
> > am having some difficulty. The code I'm currently using is something
> like:
> >>
> >> annotate('notice
> >> this',xy=(119.628,-7.9158),xytext=(0.8,0.5),textcoords='axes fraction'
> >>
> >>
> ,arrowprops=dict(facecolor=((0.549,0.176,0.0156)),shrink=0.02,width=1,headwidth=
> >>
> >>
> 6,frac=0.05),fontsize=12,horizontalalignment='right',verticalalignment='top',color=((0.549,0.176,0.0156)))
> >
> > However, when I do this it only makes the HEAD of the arrow brown, while
> the
> > body of the arrow is still black. What am I missing?
> > Lastly (and unrelated to the topic) when I insert such a figure in Latex
> it
> > looks fine in my later-generated PDF. But if I increase the fontsize part
> of
> > the figure gets cut off. What's the best way to fix this? In the past I
> > would usually just toy around and mess with the BoundingBox in the *eps
> > file, but I wondered if there was a more legitimate way.
> > Thanks for the help! I appreciate it.
> > Brad
> >
> ------------------------------------------------------------------------------
> > Using storage to extend the benefits of virtualization and iSCSI
> > Virtualization increases hardware utilization and delivers a new level of
> > agility. Learn what those decisions are and how to modernize your storage
> > and backup environments for virtualization.
> > http://www.accelacomm.com/jaw/sfnl/114/51434361/
> > _______________________________________________
> > Matplotlib-users mailing list
> > Matplotlib-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> >
> >
>
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to