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 module
ax.plot_wireframe(X, Y, Z)
File
[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
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
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')
[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 quality
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, in
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
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] =
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
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
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
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
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,
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
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://
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 the time
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
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
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=color 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
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 =
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
21 matches
Mail list logo