Hi all
I have got some funny behaviour here that looks like a bug with the
spy() function. Using the latest python-matplotlib 0.87.5 package on
Ubuntu 6.10, I try:
$ ipython -pylab
from scipy import io
M = io.mmread('gd.mm')
spy(M)
M.shape
M.nnz
It looks great and I get the necessary number of
Hi,
I've found no possibility to plot my experimental data with Matplotlib.
The data are coming in the form of a list of xyz vector.
[[1,2,3],[4,5,6],...]
But Matplotlib needs 2D grid, which I can't provide.
Does anybody know a solution of such a problem?
It will be pretty nice to integrate a
See the
-
Gridding irregularly spaced
datahttp://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data-
how to grid scattered data points in order to make a contour or image
plot.
In the matplotlib cookbook.
Mark
John Pye wrote:
Hi all
I have got some funny behaviour here that looks like a bug with the
spy() function. Using the latest python-matplotlib 0.87.5 package on
Ubuntu 6.10, I try:
$ ipython -pylab
from scipy import io
M = io.mmread('gd.mm')
spy(M)
M.shape
M.nnz
It looks great and
Thanks for the answer, John and Jouni.
Okay, Line2D works. However, it appears to work in point (or is it pixels?)
only. It doesn't accept xycoords=figure fraction as an option. How can I
specify xy as a fraction of the figure size?
I read the transform cookbook cited by Jouni. I am afraid
Upon working with this a little further, I discover that it works only in
full-view screen mode. May be that's because xy is in pixel mode then? When I
save it to a png file and then view it, the lines are wrong.
--
John Henry
- Original Message
From: [EMAIL PROTECTED] [EMAIL
Hi,
My plot_dates(x, y) call, while working in python 2.4, failed in python 2.4.4. x
here is dates array and y is a masked array returned by masked_values()from MA
module. After much debugging, I found that problem occurs at ma.asarray(y)
where y is the masked array with the following message:
On Wednesday 07 March 2007 14:43:45 [EMAIL PROTECTED] wrote:
Anyone knows which of my package (MA, numpy, ...) might be causing the
conflict? I could go back to the older version (on another machine), but I
really like it to work in the newer version. Any inputs would be
appreciated.
Hello,
Thanks Mark for the link!
Exactly what I need.
-
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 business topics through brief
Actually, I have other problems : I cannot save in many formats. The bmp is
deemed usueless by gimp, and ps and eps save options gives the following
error message (I am using matplotlib-0.90 on python/ipython 2.4) :
In [1]: show()
Thanks for quick response! Sample script:
--
#! /usr/local/bin/python
from matplotlib.backends.backend_agg import FigureCanvasAgg
from matplotlib.figure import Figure, SubplotParams
from MA import *
fig = Figure()
ax =
On Wednesday 07 March 2007 03:13:13 pm Emin.shopper Martinian.shopper wrote:
Dear Experts,
I'm having a little problem with labels in a bar chart. When I do something
like
labels = ['one','two','threee']
pylab.bar(range(len(labels)),range(len(labels)))
Matplotlib 0.90
Found the bug in axes3d.py
lines 513, 514
please change:
for rs in nx.arange(0,rows,rstride):
for cs in nx.arange(0,cols,cstride):
to:
for rs in nx.arange(0,rows-1,rstride):
for cs in nx.arange(0,cols-1,cstride):
Otherwise I'm getting
Hi Eric
I tried the new spy function under Windows and it seemed to work OK. A
great leap forward, actually, given the problems I had been seeing.
Merging the spy functions was a good idea (does it work ok for very very
large, very sparse matrices?)
Trying it under Ubuntu was less
14 matches
Mail list logo