I,
I have a problem with showing plot. When I run this code:
figure(1)
semilogx(data[:,0],data[:,1])
savefig('try.png')
show()
It save the plot properly, but it doesn't show it. I tried to run it
with --verbose-helpful and this is the output:
matplotlib data path
Hi,
I want to import binary files generated from C/FORTRAN into matplotlib for
plotting.
Can this be done using 'load'?
Thanks
Vijay
--
View this message in context:
http://www.nabble.com/Importing-Binary-files-tf3160763.html#a8766615
Sent from the matplotlib - users mailing list archive at
Hi,
I want to import binary files generated from C/FORTRAN into matplotlib for
plotting.
Can this be done using 'load'?
Thanks
Vijay
--
View this message in context:
http://www.nabble.com/Importing-Binary-files-tf3160765.html#a8766617
Sent from the matplotlib - users mailing list archive at
Hello,
I tried to use some affine transformations, but it didn't match to get it works.
I use matplotlib 0.87.5 with python 2.4.3 and Numeric 24.2 on winXP.
I tried for example :
plot([1,0,1],[0,1,0], transform = matplotlib.transforms.Affine(0,1,1,0,0,0))
Then I got :
Traceback (most recent
Sorry for the forward... I wanted to make sure this made it to the list.
-- Forwarded message --
From: Stephen Uhlhorn [EMAIL PROTECTED]
Date: Feb 4, 2007 8:02 AM
Subject: Re: [Matplotlib-users] matplotlib can't find pygtk during build
To: Christopher Barker [EMAIL PROTECTED]
On
On Fri, Feb 02, 2007 at 05:14:37AM -0800, Vijay Kumar wrote:
Hi,
I want to import binary files generated from C/FORTRAN into matplotlib for
plotting.
Can this be done using 'load'?
If you are using SciPy, scipy.io has a few functions which may
help. scipy.io.fromfile, for example.
HTH.
I want to import binary files generated from C/FORTRAN into matplotlib for
plotting.
if it's just a block of bytes in a standard type from and n-d array, you
can use numpy.fromfile()
If not, then you may have to read through the file in chunks, with
various calls to file.read(), to get to
At 9:42 AM -0800 2007-02-05, Christopher Barker wrote:
Stephen Uhlhorn wrote:
My python is from ActiveState (Framework) which
was recommended by the scipy people.
Here's the real saga. I had a working Fink installaiton of
python/numpy/scipy/matplotlib until an update to scipy broke critical
Stephen:
Russell E Owen wrote:
It's up. Bob Ippolito put it up shortly after he got back from vacation.
So this should work, with the Python, numpy, wxPython2.6.3 that are also
there:
http://pythonmac.org/packages/py24-fat/index.html
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Hmm... After the long discussion I'm trying to decide what the best
route is. If what I want is simply a stable scipy/matplotlib
installation (OS X), what is the best (most stable and predictable)
method?
BTW- What is wrong with the ActiveState python installation? It was
recommended on the scipy
On 2/4/07, JJ [EMAIL PROTECTED] wrote:
Hello.
I am new at matplotlib and am trying to modify the
lasso demo so that a line is drawn aound the polygon
made of selected points, and so that this polygon area
is shaded. Ive added the following code to the
callback function but receive the
On 2/1/07, Nicolas [EMAIL PROTECTED] wrote:
I tried to use some affine transformations, but it didn't match to get it
works.
I use matplotlib 0.87.5 with python 2.4.3 and Numeric 24.2 on winXP.
I tried for example :
plot([1,0,1],[0,1,0], transform =
Stephen Uhlhorn wrote:
If what I want is simply a stable scipy/matplotlib
installation (OS X), what is the best (most stable and predictable)
method?
I'm very sorry to say that I don't know that there is a best. I, and
others, have tried to keep the archive at pythonmac up to date, but
In article [EMAIL PROTECTED],
Chiara Caronna [EMAIL PROTECTED] wrote:
I,
I have a problem with showing plot. When I run this code:
figure(1)
semilogx(data[:,0],data[:,1])
savefig('try.png')
show()
It save the plot properly, but it doesn't show it. I tried to run it
with
Hi,
I'm using matplotlib in a GTK gui canvas with the GTKAgg backend. I'm
connecting a mouse click 'button_press_event' to the click function. If
I choose print event.x everything works fine. However I'm after the x
value in terms of the x-axis not pixels. When I try print event.xdata I
Hello. In case it is of use to anyone, here is a
revised lasso_demo.py that draws a polygon around
selected points, deletes points with a click of the
middle mouse button, and adds points with a right
click. Thanks John H for the help getting started.
I am just learning and do have a couple of
With the script
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Figure
from matplotlib.patches import Rectangle
fig = Figure()
canvas = FigureCanvas(fig)
ax = fig.add_subplot(111)
ax.plot([.5,.7],[1.5, 2.5])
On Monday 05 February 2007 04:06:45 pm Berthold Höllmann wrote:
With the script
from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas
from matplotlib.figure import Figure
from matplotlib.patches import Rectangle
fig = Figure()
canvas = FigureCanvas(fig)
ax =
On 2/5/07, Martin Wilson [EMAIL PROTECTED] wrote:
Hi,
I'm using matplotlib in a GTK gui canvas with the GTKAgg backend. I'm
connecting a mouse click 'button_press_event' to the click function. If
I choose print event.x everything works fine. However I'm after the x
value in terms of the
Hi,
I have some data where I'd like almost all of it to be plotted with a
LinearSegmentedColormap that I've made, but I have a few special
values that I'd like to set to specific colors (white, in this case).
So, I made a LinearSegmentedColormap that works pretty well, but I'm
having trouble with
On 2/5/07, Berthold Höllmann [EMAIL PROTECTED] wrote:
I get a file 'test.eps'. Using matplotlib 0.87.7 the PS bounding box
of the generated plot is far to wide. Is this a problem with my script
or a Problem of FigureCanvasAgg (and FigureCanvasPS)? What can I do to
get a tight bounding box?
On 2/5/07, Michael Lerner [EMAIL PROTECTED] wrote:
Hi,
I have some data where I'd like almost all of it to be plotted with a
LinearSegmentedColormap that I've made, but I have a few special
values that I'd like to set to specific colors (white, in this case).
So, I made a
On Monday 05 February 2007 04:57:40 pm John Hunter wrote:
On 2/5/07, Berthold Höllmann [EMAIL PROTECTED] wrote:
I get a file 'test.eps'. Using matplotlib 0.87.7 the PS bounding box
of the generated plot is far to wide. Is this a problem with my script
or a Problem of FigureCanvasAgg (and
On 2/5/07, JJ [EMAIL PROTECTED] wrote:
I am just learning and do have a couple of questions.
Why is the lock on lasso needed in the original demo.
For my revised version, it works better without it (a
right click without dragging caused an infinite lock).
The locking is designed to prevent
On Monday 05 February 2007 05:23:04 pm John Hunter wrote:
On 2/5/07, Darren Dale [EMAIL PROTECTED] wrote:
I respectfully disagree. The current behavior is consistent with other
output formats, such as png. If we want to support tight bounding boxes,
maybe it would be better to do so with a
John Hunter [EMAIL PROTECTED] writes:
On 2/5/07, Berthold Höllmann bhoel-lDxpuoTbsqf2eFz/[EMAIL PROTECTED] wrote:
I get a file 'test.eps'. Using matplotlib 0.87.7 the PS bounding box
of the generated plot is far to wide. Is this a problem with my script
or a Problem of FigureCanvasAgg (and
Darren Dale wrote:
[...]
Perhaps reducing the image size to the visible elements would be a good
option
for all output formats?
This sounds to me like a very desirable option to have. I have not
thought at all about implementation, though.
Eric
Hi,
I have a Mac mini with Intel Duo processors. I downloaded and installed
python, numpy, and scipy on my machine. I downloaded already built binaries
from the website http://www.scipy.org/Download
The file I downloaded was ScipySuperpack-Intel-10.4-py2.4
matplotlib was a part of that
Jonathan Kane wrote:
Hi,
I have a Mac mini with Intel Duo processors. I downloaded and
installed python, numpy, and scipy on my machine. I downloaded already
built binaries from the website http://www.scipy.org/Download
The file I downloaded was ScipySuperpack-Intel-10.4-py2.4
I have recently been exploring Matplotlib and have found a wealth of helpful
articles, including tutorials, articles and examples - but I don't have
enough experience to generate a full opinion of Matplotlib.
I realize that Matplotlib is well-developed and has a lot of great
capabilities - but
I have recently been exploring Matplotlib and have found a wealth of helpful
articles, including tutorials, articles and examples - but I don't have
enough experience to generate a full opinion of Matplotlib.
I realize that Matplotlib is well-developed and has a lot of great
capabilities - but I
31 matches
Mail list logo