Thanks Eric!
I'm kind of afraid to upgrade to the SVN version b/c I fear something
else might break (I've yet to install matplotlib from source b/c of a
few nagging Mac OS X issues).
What would you recommend?
There's also the issue of having to upgrade student machines for
which I'm not ad
Forwarding this to the list
I'm curious if you run into another problem I recently reported. Can
you do, e.g.:
import copy
import pylab as P
import matplotlib.axes3d as P3
def test() :
[X,Y] = P.meshgrid(P.linspace(-3,3,7),P.linspace(-3,3,7))
Z = copy.deepcopy(X)
Z1 = copy.de
> Hi Belinda,
>
> I've been playing with 3D plots and scatter plots in the past few days
> and I've been able to get them working. You should be able to pass in
> a c= parameter as you would for a normal 2d scatter plot. I've
> been doing this and it's working for me.
Interesting.
I'm on Mac OS X
Thanks for the input.
Its easy for me to patch my own machine, but for students in my class
who are using lab machines, its more difficult. Hopefully I can get
someone to upgrade the machines in the lab I'm using. (Its difficult
to get facilities people to agree to update coursework installs
Belinda,
John has checked in some fixes for axes3d recently, and your test code
now runs with the version in svn--except for the problem that you should
use P.show() only once in a given script. (I think there is some
backend for which you can get away with using it more than once, but
this i
On Wednesday 11 April 2007 15:49, Eric Firing wrote:
> It is a bug that is fixed in svn. The "this" part of the names is
> incorrect. The revised function is:
>
>
> def xaxis_date(self, tz=None):
> """Sets up x-axis ticks and labels that treat the x data as dates.
>
> tz is
On Apr 11, 2007, at 4:47 PM, belinda thom wrote:
> Hi,
>
> I'm replying to this older thread
>
> http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/
> msg02100.html
>
> because it relates very much to my recent problem, posted at http://
> www.mail-archive.com/matplotlib-users@l
On Apr 11, 2007, at 4:54 PM, belinda thom wrote:
> Hi,
>
> What kwargs are available for plot3D and scatter3D?
And what is the difference between plot3d and plot3D?
The former seems most "matlab" like, and was what I was looking for:
a way to plot individual points and/or curves in 3d using ma
Hi,
What kwargs are available for plot3D and scatter3D?
Thanks,
--b
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & busines
It is a bug that is fixed in svn. The "this" part of the names is
incorrect. The revised function is:
def xaxis_date(self, tz=None):
"""Sets up x-axis ticks and labels that treat the x data as dates.
tz is the time zone to use in labeling dates. Defaults to rc
value.
Hi,
I'm replying to this older thread
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/
msg02100.html
because it relates very much to my recent problem, posted at http://
www.mail-archive.com/matplotlib-users@lists.sourceforge.net/
msg03037.html. This problem seems more gene
Hi all,
I've got the MPL 0.90.0 installer on pythonmac working OK with:
Python2.5
wxPython2.8.3
I accomplished this by removing:
/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplotlib/backends/_wxagg.so
Which disables the accelerator that doesn't work with wxP
We had some working code were were using with 0.87, but when we try to use it
with 0.90, we get the following error:
File "/usr/local/lib/python2.4/site-packages/EEIGraph/BaseGraph.py", line 250,
in plotDate
line = self.main_axes.plot_date( g[:,0], g[:,1] )
File
"/usr/lib/python2.4/site-
I also seem to have some other 3D plotting problems. Again, following
some of the demo/test advice in the cookbook, I tried things like
import pylab as p
import matplotlib.axes3d as P3
P3.test_surface()
and get errors (seems Axes3D needs a figure, no?).
I'm using matplotlib version 0.
Hi,
I'm having problems plotting two different kind of graphs on the same
3D figure. Was hoping for some pointers.
Here's some basic test code, to demonstrate what I'd like to be able
to do.
import copy
import pylab as P
import matplotlib.axes3d as P3
def test() :
[X,Y] = P.
On Thursday 05 April 2007 17:04, Andrew Straw wrote:
> Joshua J. Kugler wrote:
> > Installing an egg today, I got this message from easy_install:
> >
> > /usr/bin/easy_install:5: UserWarning: Module dateutil was already
> > imported from
> > /usr/lib/python2.4/site-packages/matplotlib-0.87.7-py2.4-
Hi Werner,
I tried what you suggested, using the setup file you had provided for
simple_plot.py. But I get the following error, what should I do abt this?
Traceback (most recent call last):
File "simple_plot.py", line 1, in ?
File "pylab.pyo", line 1, in ?
File "matplotlib\pylab.pyo", line 203
Jouni K. Seppänen wrote:
> Make the legend first with only the line, then modify the line within
> the legend:
>
> from numpy import arange, sin
> x = arange( 0., 1., 0.001 )
> y = sin( 50*x )
> line = plot(x, y, '-r')
> markers = plot(x[::20], y[::20], 'ro')
> lgd = legend([line], ['data'], numpo
[EMAIL PROTECTED] wrote:
> I edited the matplotlibrc to interactive: False and backend: Agg, and it
> works great. (produces .png)
no need. as the name implies, TKagg is already using agg internally, so
you can just use pylab.savefig (or better yet, figure.savefig), and get
the same high qualit
On 4/11/07, Maddox Flower <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> say, I have x and y data like this (the real data I am working with is
> from numerical simulations, though):
>
> from numpy import arange, sin
> x = arange( 0., 1., 0.001 )
> y = sin( 50*x )
>
> Now, a line plot would not look ve
Maddox Flower <[EMAIL PROTECTED]> writes:
> What fails me is how to make a legend with the appropriate 'combined'
> line style '-ro'?
Make the legend first with only the line, then modify the line within
the legend:
from numpy import arange, sin
x = arange( 0., 1., 0.001 )
y = sin( 50*x )
line =
Hi there,
say, I have x and y data like this (the real data I am working with is
from numerical simulations, though):
from numpy import arange, sin
x = arange( 0., 1., 0.001 )
y = sin( 50*x )
Now, a line plot would not look very decent because of the 1000
overlapping markers:
plot(x, y, '-ro')
On Wednesday 11 April 2007 03:28:09 elekis wrote:
Hi,
Just some quick comments:
1. learn list comprehensions, they're far faster than regular loops.
data = [(i,j,int(numpy.random.random()*10))
for i in range(XI) for j in range(JI)]
2. if you don't really need the triplets, but j
[EMAIL PROTECTED] ha scritto:
The question is, do people wanting to do this have to edit the
matplotlibrc and restart Python each time, or is there some other way?
Try to look for savefig()
m.
--
Massimo Sandal
University of Bologna
Department of Biochemistry "G.Moruzzi"
snail mail:
Via Irn
hi all
I have a little script who just plot some tripet (random triplet) but I have
a index out of bound
What I don't understand is if Xl is diff of Yl , I have that error
Traceback (most recent call last):
File "test_plot3D.py", line 26, in
ax.plot_wireframe(X, Y, Z)
File "/usr/lib/python2
25 matches
Mail list logo