On Sat, 2011-09-17 at 19:19 -0500, John Hunter wrote:
> The artist tutorial covers drawing directly to a figure
>
> http://matplotlib.sourceforge.net/users/artists.html#figure-container
>
> I believe you could adapt the patches.FancyArrow to the same approach.
Thanks, John! I got JJ's approach
On Fri, Sep 16, 2011 at 4:10 PM, John Ladasky
wrote:
> Now I would like to add the axis lines and arrows. In fact, I would
> prefer a FancyArrow object.
>
> I can see how to add non-text objects to an Axes, e.g.:
>
> ax = fig.add_subplot(111)
> ax.add_patch(my_arrow)
>
> But that isn't my goal h
Hi, JJ,
Thanks for the reply.
On Sat, 2011-09-17 at 23:04 +0900, Jae-Joon Lee wrote:
> Adding a patch to an axes does not mean it cannot be drawn outside of
> axes. As far as you set (or unset) proper clip box, artists can be
> drawn anywhere in the canvas regardless of the axes it belongs to.
>
Hi folks,
I am pleased to announce a new release of glumpy, a small python library for
the (very) fast vizualization of numpy arrays, (mainly two dimensional) that
has been designed with efficiency in mind. If you want to draw nice figures for
inclusion in a scientific article, you’d better us
Yes, that seems the right way
I used it before but forgot it in the mean time
On Sat, Sep 17, 2011 at 10:56 PM, Benjamin Root wrote:
> On Sat, Sep 17, 2011 at 3:51 PM, Klonuo Umom wrote:
>>
>> I want to plot multiple plot lines, and would prefer lines to start at
>> x-axis beginning (so they "so
On Sat, Sep 17, 2011 at 3:51 PM, Klonuo Umom wrote:
> I want to plot multiple plot lines, and would prefer lines to start at
> x-axis beginning (so they "source" vertically from y-axis)
> If I use suggested method from current replies lines would not start
> from x-axis beginning, but I guess I'l
I want to plot multiple plot lines, and would prefer lines to start at
x-axis beginning (so they "source" vertically from y-axis)
If I use suggested method from current replies lines would not start
from x-axis beginning, but I guess I'll need to look in Axes module
and make my preferences.
Thanks
On Sat, Sep 17, 2011 at 3:33 PM, Klonuo Umom wrote:
> Hm.. it not within matplotlib.pyplot module... needs more digging
> OK, thanks
>
> On Sat, Sep 17, 2011 at 10:27 PM, Benjamin Root wrote:
> >
> > On Sat, Sep 17, 2011 at 3:22 PM, Klonuo Umom wrote:
> >>
> >> Thanks for your fast replies.
> >
Yes, I noticed the same and indeed I used sorted values in original problem
I forgot to add it in my simplified snippet
On Sat, Sep 17, 2011 at 10:34 PM, John Hunter wrote:
>
> While this is safe because calls to keys and values will return lists
> in congruent order of no intervening dict modifi
On Sat, Sep 17, 2011 at 3:09 PM, Eric Firing wrote:
> On 09/17/2011 09:57 AM, Klonuo Umom wrote:
>> Hi,
>> please consider this snippet:
>>
>> import matplotlib.pyplot as plt
>>
>> d={}
>> for i in range(1,21):
>> d[i] = i**2
>>
>> plt.plot(d.values())
>
> This is plotting values against the ze
Hm.. it not within matplotlib.pyplot module... needs more digging
OK, thanks
On Sat, Sep 17, 2011 at 10:27 PM, Benjamin Root wrote:
>
> On Sat, Sep 17, 2011 at 3:22 PM, Klonuo Umom wrote:
>>
>> Thanks for your fast replies.
>> One more thing if possible: How can I tell xticks() to start at 0 (at
On Sat, Sep 17, 2011 at 3:22 PM, Klonuo Umom wrote:
> Thanks for your fast replies.
>
> One more thing if possible: How can I tell xticks() to start at 0 (at
> x-axis start)
>
Maybe what you want is xtick_labels()? xticks() merely tells mpl where on
the x-axis you want ticks to show up. xtick_
Thanks for your fast replies.
One more thing if possible: How can I tell xticks() to start at 0 (at x-axis
start)
--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2__
On Saturday, September 17, 2011, Klonuo Umom wrote:
> Hi,
> please consider this snippet:
> import matplotlib.pyplot as plt
> d={}
> for i in range(1,21):
> d[i] = i**2
> plt.plot(d.values())
> plt.xticks(d.keys())
> plt.show()
>
> As it can be seen from attached screenshot, xticks values are sh
On 09/17/2011 09:57 AM, Klonuo Umom wrote:
> Hi,
> please consider this snippet:
>
> import matplotlib.pyplot as plt
>
> d={}
> for i in range(1,21):
>d[i] = i**2
>
> plt.plot(d.values())
This is plotting values against the zero-based index. What you want is
plt.plot(d.keys(), d.values())
>
Hi,
please consider this snippet:
import matplotlib.pyplot as plt
d={}
for i in range(1,21):
d[i] = i**2
plt.plot(d.values())
plt.xticks(d.keys())
plt.show()
As it can be seen from attached screenshot, xticks values are shifted to
right (by 1).
Seems strange, but perhaps something to do wit
Hi folks,
I am pleased to announce a new release of glumpy, a small python library for
the (very) fast vizualization of numpy arrays, (mainly two dimensional) that
has been designed with efficiency in mind. If you want to draw nice figures for
inclusion in a scientific article, you’d better us
Am 17.09.2011 um 15:38 schrieb Jae-Joon Lee:
> Thanks for reporting this.
> I opened a pull request that I believe fixes this problem.
> https://github.com/matplotlib/matplotlib/pull/472
Thank you very much!
> Please test this if you can.
I hope next week.
> Depending on your need, you may wo
On Sat, Sep 17, 2011 at 6:10 AM, John Ladasky
wrote:
> But that isn't my goal here. I want to add lines to the FIGURE, outside
> of any Axes. Does anyone know how to accomplish this? Thanks!
Not sure what you mean here.
Adding a patch to an axes does not mean it cannot be drawn outside of
axes
Thanks for reporting this.
This is now fixed in the v1.0.x-maint branch and the master branch.
Regards,
-JJ
On Sat, Sep 17, 2011 at 10:33 AM, Daniel Hyams wrote:
> In http://matplotlib.sourceforge.net/users/annotations_guide.html ,
> about 1/3 of the way down, there is a little demonstrator f
Thanks for reporting this.
I opened a pull request that I believe fixes this problem.
https://github.com/matplotlib/matplotlib/pull/472
Please test this if you can.
Depending on your need, you may work around this by calling all the
set_position method always after all the GridSpec.update call.
On Thu, Sep 15, 2011 at 10:33 PM, Jonathan Slavin
wrote:
> I'm wondering if there is some way to do cross hatching as a way to fill
> contours rather than colors (using contourf). The only references to
> cross hatching I see in the documentation are for patches type objects.
> As far as I can te
22 matches
Mail list logo