On Tue, Sep 28, 2010 at 1:36 AM, Aman Thakral wrote:
> Hi,
>
> Is there a way to change the way a Pick event occurs? Instead of a mouse
> click, is it possible to use a mouse hover? I'm just curious because I'm
> developing a wx application and would like to have a Tooltip over various
> artists.
On Sun, Sep 26, 2010 at 4:11 AM, Jouni K. Seppänen wrote:
> I'm not sure either. It seems that the two-number form of the bounding
> box is meant to create a degenerate bounding box so that any kind of
> location specifier ("upper right", "lower center", etc) will always hit
> that exact place, bu
On Mon, Sep 27, 2010 at 20:10, Jae-Joon Lee wrote:
> For your original script that uses axes_grid1 toolkit, you can do something
> like
>
> host.axis["left"].major_ticklabels.set_color(p1.get_color())
> par1.axis["right"].major_ticklabels.set_color(p2.get_color())
> par2.axis["right"].ma
For your original script that uses axes_grid1 toolkit, you can do something like
host.axis["left"].major_ticklabels.set_color(p1.get_color())
par1.axis["right"].major_ticklabels.set_color(p2.get_color())
par2.axis["right"].major_ticklabels.set_color(p3.get_color())
Note that these are
Hi, all!
How to build a surface from a file?
I could read data : x,y,z = loadtxt('data.txt', usecols=[0,1,2],
unpack=True), but was unable to draw :-((
In a file stored vertices rectangular sites:
-3.7169418696 -1.1272630211 2.3019377358
-3.8909157412 -2.0312577759 1.7469796037
-3.5817236434
When performing interactive plotting from a script (i.e.
matplotlib.interactive(True) followed by my plotting code, no show() calls
involved but sometimes draw()) I am getting plot windows that initially show
a plot, but upon attempts at interaction hang and go blank. Unfortunately, I
cannot repro
On Mon, Sep 27, 2010 at 14:15, Aman Thakral wrote:
> I think you're looking at an old example. Have a look at this one:
>
> http://matplotlib.sourceforge.net/examples/pylab_examples/multiple_yaxis_with_spines.html
>
> Is that the desire effect?
Yes, thanks.
> Regards,
>
> Aman
>
> It did not t
In article <4ca0549d.3060...@hawaii.edu>,
Eric Firing wrote:
> On 09/26/2010 09:43 PM, Fernando Perez wrote:
> > Mmh,
> >
> > On Sun, Sep 26, 2010 at 10:56 PM, Jae-Joon
> > Lee wrote:
> >>
> >> Did you try autoscale_view method?
> >>
> >> http://matplotlib.sourceforge.net/api/axes_api.html?hig
Hi,
Is there a way to change the way a Pick event occurs? Instead of a mouse
click, is it possible to use a mouse hover? I'm just curious because I'm
developing a wx application and would like to have a Tooltip over various
artists.
Thanks,
Aman
--
I was wondering if there is a way to get a effect similar to this example:
http://matplotlib.sourceforge.net/examples/api/two_scales.html?highlight=codex%20two%20scale
Here The yticklabels have the same color as the label, but using host/parasite:
http://matplotlib.sourceforge.net/examples/axes_
On 27 September 2010 15:37, radfahrer wrote:
> I am trying to plot a triangular grid from a textfile using triplot, but
> all
> I get is some wired straight line
>
Your triangulation consists of just two triangles, the first with vertices
(0, 0) (0.1, 0.1) (0.1, 0.1) and the second (0, 0), (0.1,
Hi,
I've managed to fix it. It was a very simple solution. The axes are added
in sequential, so I just used the latest axes to be added as the basis for
the legend. I've attached a modification of a matplotlib example
(multiple_y_axis_with_splines.py) to show the behavior.
Perhaps the example
Brian, Do you, by chance, use interactive mode? Maybe ipython -pylab
(if this does)? Just a shot into the dark ...
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify applicatio
2010/9/23 Peter Hoekje :
> OK, I spoke a little too soon last time. I reinstalled it tonight and looked
> a little closer. Essentially all of the regular files under
> .../site-packages/matplotlib/... and its subdirectories have permissions
> similar to
> -rw--w
> not just the mpl-data subd
On Fri, Sep 24, 2010 at 5:28 PM, Xavier Gnata wrote:
> I'm not a svn expert but I get an error when I try to checkout the py3k
> branch:
> svn: Repository moved temporarily to '/viewvc/matplotlib/branches/';
> please relocate
> Any clues?
That URL was a link to the web view of SVN. You need to ch
2010/9/21 Brian Blais :
> actually, I think the workflow that I use doesn't lend itself well to this.
> usually what I do is write code in the local space, in a if
> __name__=="__main__" block, so that after things run I can easily inspect
> variables, test the results, rerun, etc... It's only
Hi everybody,
I am trying to plot a triangular grid from a textfile using triplot, but all
I get is some wired straight line
code:
import numpy as np
import matplotlib.pyplot as plt
x, y = np.loadtxt('points.dat', unpack=True)
triangles = np.loadtxt('triangles.dat', dtype=np.int32)
plt.triplot
On 9/27/2010 9:10 AM, Piter_ wrote:
> Is it possiblle in matplotlib to draw something like this?
> http://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Integral_example.svg/420px-Integral_example.svg.png
http://matplotlib.sourceforge.net/examples/pylab_examples/fill_between_demo.html
hth,
Ala
Have a look at fill_between:
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.fill_between
Basically, You'd want something like this:
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, np.pi, 20)
y = np.sin(x)
plt.figure()
plt.fill_between(x, y, where=y>0
Hi all.
Is it possiblle in matplotlib to draw something like this?
http://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Integral_example.svg/420px-Integral_example.svg.png
Thanks.
Petro.
--
Start uncovering the many adv
On Mon, Sep 27, 2010 at 1:23 AM, Eric Firing wrote:
> You can do this using Axes.relim()
> prior to calling autoscale_view().
>
Aha! That's the call I missed, thanks a bunch. Perhaps a note
indicating that in the autoscale_view docstring wouldn't hurt, because
as it reads now I think the confus
On 09/26/2010 09:43 PM, Fernando Perez wrote:
> Mmh,
>
> On Sun, Sep 26, 2010 at 10:56 PM, Jae-Joon Lee wrote:
>>
>> Did you try autoscale_view method?
>>
>> http://matplotlib.sourceforge.net/api/axes_api.html?highlight=autoscale#matplotlib.axes.Axes.autoscale_view
>>
>> Please post a sample scrip
Mmh,
On Sun, Sep 26, 2010 at 10:56 PM, Jae-Joon Lee wrote:
>
> Did you try autoscale_view method?
>
> http://matplotlib.sourceforge.net/api/axes_api.html?highlight=autoscale#matplotlib.axes.Axes.autoscale_view
>
> Please post a sample script that reproduces the problem.
>
I'm wondering if I'm do
23 matches
Mail list logo