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
/usr/local/lib/python2.4/sit
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 N
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 N
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 call
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]>
Le Friday 02 February 2007 08:14:37 Vijay Kumar, vous avez écrit :
> Hi,
>
> I want to import binary files generated from C/FORTRAN into matplotlib for
> plotting.
> Can this be done using 'load'?
>
> Thanks
> Vijay
no load can read only text file.
--
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.
Kumar Appaiah wrote:
> 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. sci
>>> 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
Stephen Uhlhorn wrote:
> My python is from ActiveState (Framework) which
> was recommended by the scipy people.
I wonder why, I don't what the advantages of it are over the pythonmac
version -- last I heard it did NOT support Universal binaries, but maybe
that makes things a bit easier, particul
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 criti
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
Eme
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 th
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 = matplotlib.transforms.Affine(0,1,1
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
bui
On 2/4/07, David Levitan <[EMAIL PROTECTED]> wrote:
> I'm trying to create an application that, among other things, will allow
> me to view an image, zoom into it, and move it around. Essentially what
> I can do by using imshow and show in ipython. However, I've noticed that
> in both interactive
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
> wi
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
ge
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 q
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])
ax.add_artist(Rectangle((.
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)
>
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 o
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 bo
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 LinearSegmen
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
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 prev
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 kwarg.
I'm happy to be wrong (especially because then we
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
"John Hunter" <[EMAIL PROTECTED]> writes:
> On 2/5/07, Berthold Höllmann 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 d
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 pack
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
> m
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
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
36 matches
Mail list logo