On Sun, Feb 21, 2010 at 4:02 PM, Ben Axelrod wrote:
> I am not a MPL developer,
You are now :-)
> but I am using mplot3d quite heavily right now to support 3D plots for a
> client of mine. I have found many bugs and
> lacking features which I require in the mplot3d library and have modified my
On Sun, Feb 21, 2010 at 7:15 PM, David Arnold wrote:
> Hi,
>
> What prevents me from using mplot3d in the classroom is highlighted by the
> following example.
I believe the problem arises because each artist (ie each polygon,
line or 3d text object) is rendered separately, and so there is no way
Hi,
What prevents me from using mplot3d in the classroom is highlighted by the
following example.
# surface3d_demo2.py
import matplotlib
from mpl_toolkits.mplot3d import Axes3D
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = Axes3D(fig)
u = np.linspace(0, 2*np.pi, 10
Thanks. A small lesson in sequences. I'm slowly beginning to breath
Python air.
On 2/21/2010 7:44 AM, Alan G Isaac wrote:
> On 2/21/2010 10:29 AM, Wayne Watson wrote:
>
>> plot(2.8,3.4) doesn't work in my program
>>
>>
> Why should it?
> Plot takes once or two *sequences* of numbers as
I am not a MPL developer, but I am using mplot3d quite heavily right now to
support 3D plots for a client of mine. I have found many bugs and lacking
features which I require in the mplot3d library and have modified my local copy
of the code significantly. I am eagerly awaiting Reinier's retur
John Hunter wrote:
> On Sun, Feb 21, 2010 at 9:52 AM, Andrea Gavana
> wrote:
>> On 21 February 2010 15:44, Alan G Isaac wrote:
>>> On 2/21/2010 10:29 AM, Wayne Watson wrote:
plot(2.8,3.4) doesn't work in my program
>>> Why should it?
>> I believe it should.
>
> It does in svn -- thoug
Alan G Isaac wrote:
> On 2/21/2010 10:29 AM, Wayne Watson wrote:
>> plot(2.8,3.4) doesn't work in my program
>>
>
> Why should it?
> Plot takes once or two *sequences* of numbers as arguments.
In more recent versions than the OP has, it can also handle
plot(2.8, 3.4, 'o')
With a single point
On Sun, Feb 21, 2010 at 8:20 AM, Jakub Nowacki
wrote:
> Hi,
>
> I have quite general question. Since mplot3d now back in matplotlib, the
> question is: is it going to stay there? Or is it some test release? I was
> just wondering cause sometimes I use 3d plotting and use Mayavi2 for that but
>
On Sun, Feb 21, 2010 at 9:52 AM, Andrea Gavana wrote:
> On 21 February 2010 15:44, Alan G Isaac wrote:
>> On 2/21/2010 10:29 AM, Wayne Watson wrote:
>>> plot(2.8,3.4) doesn't work in my program
>>>
>>
>> Why should it?
>
> I believe it should.
It does in svn -- though it unhelpfully plots a line
On Sun, Feb 21, 2010 at 03:52:41PM +, Andrea Gavana wrote:
> On 21 February 2010 15:44, Alan G Isaac wrote:
> > On 2/21/2010 10:29 AM, Wayne Watson wrote:
> >> plot(2.8,3.4) doesn't work in my program
> > Why should it?
> I believe it should.
> > Plot takes once or two *sequences* of number
On 2/21/2010 10:44 AM, Alan G Isaac wrote:
> http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.plot
>
Wayne's confusion on the admissible arguments to 'plot' led me to look
again at the documentation. I suggest adding the following as the second
sentence:
Here x and y
On 21 February 2010 15:44, Alan G Isaac wrote:
> On 2/21/2010 10:29 AM, Wayne Watson wrote:
>> plot(2.8,3.4) doesn't work in my program
>>
>
> Why should it?
I believe it should.
> Plot takes once or two *sequences* of numbers as arguments.
I don't think it would be so complicated for the "plot"
On 2/21/2010 10:29 AM, Wayne Watson wrote:
> plot(2.8,3.4) doesn't work in my program
>
Why should it?
Plot takes once or two *sequences* of numbers as arguments.
> plot([2.8],[3.4]) does work
>
Well yes, that is two sequences.
> plot((2.8,3.4)) apparently creates two points
>
Yes,
I find this puzzling. It seems as though the x,y points in some fashion
can vary.
plot(2.8,3.4) doesn't work in my program
plot([2.8],[3.4]) does work
plot((2.8,3.4)) apparently creates two points
Here's code where I have had to make x,y each a list. I've made comments
about the behavior of x,y
Hmm. Actually I put it aside, thinking that it was correct. After
spending quite a bit of time on it through queries to a few "forums" I
was happy to find the rest of the story. This was not something I was
desperate for, especially given the apparent complexity of it for
matplotlib. The tutori
Hi,
I have quite general question. Since mplot3d now back in matplotlib, the
question is: is it going to stay there? Or is it some test release? I was just
wondering cause sometimes I use 3d plotting and use Mayavi2 for that but in
many cases it's like killing the spider with a shotgun, not men
Hi,
If I understand right you want to redraw new trend lines when you zoom in
(recalculated for the visible data). You then have to use event callbacks which
usage example is shown here (view limits change example):
http://matplotlib.sourceforge.net/examples/event_handling/viewlims.html
For on
Hi,
I'm plotting some graphs with matplotlib and I would like to do the following:
Draw lines on the graph (match two points to show the up-trend or
down-trend line of a stock). I would want the lines drawn by me on the
graph resize accordingly as one zooms in or out of the graph.
Can anyone kin
18 matches
Mail list logo