Chee Sing Lee wrote:
> Hello,
>
> I'm pretty new to matplotlib, so please bear with me.
>
> I am writing an application that includes a hexagonally binned scatter
> plot that updates periodically, up to a couple times a second. My
> current approach is clearing axes.collections, calling hexbin()
>> If you cannot open the display, most likely it is because either you
>> are running as root (bad, bad) or you are running over a remot
>> connection (ssh) and do not have X11 forwarding properly enabled or
>> configures. If you want to use mpl with an interactive window, you
>> will need to ha
> On Wed, Jul 16, 2008 at 5:51 PM, Christopher Barker wrote:
>> I'd like to see the Delaunay stuff included -- in fact,
>> you could contour irregular data directly using Delaunay
>> triangulation.
On Wed, 16 Jul 2008, John Hunter apparently wrote:
> I'd love to see it included to -- I believe
On Wed, Jul 16, 2008 at 5:51 PM, Christopher Barker
<[EMAIL PROTECTED]> wrote:
> In there, is says that MPL does not have this functionality built in --
> is that still true?
>
> If so, I'd like to see the Delaunay stuff included -- in fact, you could
> contour irregular data directly using Delaun
Oz Nahum wrote:
> What I want to do plot is a cross section, and there is no easy way to
> extrapulate between points. Not in excell and not in matlab.
I hope you mean interpolate -- extrapolation is fraught with danger!
> here is a simplification:
>
>
>
On Wed, 16 Jul 2008, Michael Droettboom apparently wrote:
> [Attachment: dolphin.py : TEXT/PLAIN, 62 lines]
I have to say, I was completely unaware of the path.Path
capability of Matplotlib, but even if I had known of it,
I would not have thought of how to exploit it this way.
Even though this
Oz Nahum wrote:
> I still get this error
> Traceback (most recent call last):
> File "yael.py", line 24, in
> x = x.transpose()
> AttributeError: 'tuple' object has no attribute 'transpose'
as someone suggested, you really want to read up on numpy -- the
transpose method is a method of num
So, after mailing all the previous mails, I've thought maybe I'm not asking
the right question.
What I want to do plot is a cross section, and there is no easy way to
extrapulate between points. Not in excell and not in matlab.
here is a simplification:
Hello,
I'm pretty new to matplotlib, so please bear with me.
I am writing an application that includes a hexagonally binned scatter
plot that updates periodically, up to a couple times a second. My
current approach is clearing axes.collections, calling hexbin() with
the updated data, and then cal
Dear Mike,
I really laughed. Many thanks. It's almost to late for me to really
understand the code now.
But some how you managed to throw in some stuff that can help:
you've made what I've wanted except for the dolphin.
I am sorry about the exagerating, but everybody here keep talking about this
yo
Oz Nahum wrote:
I am mostly frustrated with documentation writers who write very nice
tutorials describing how to plot completely unusfull graphs of spheres
inside loops and a dolphin swimming in the middle.
I'm sorry. I just couldn't resist writing a tutorial example for this.
Please take it
I still get this error
Traceback (most recent call last):
File "yael.py", line 24, in
x = x.transpose()
AttributeError: 'tuple' object has no attribute 'transpose'
and one more thing I discovered. the Data points that are ploted are not
temperature... this are the depth:distance coordinates
On Wed, Jul 16, 2008 at 3:18 PM, Oz Nahum <[EMAIL PROTECTED]> wrote:
>>You can transpose your inputs. For numpy arrays: x = x.transpose()
>
> i wrote:
> for np arrays: x = x.transpose()
>
> but I still get a syntax error.
umm that was english, not python. They python is
x = x.transpose(
Oz Nahum schrieb:
> Hi,
> I want to draw a contour plot which uses data from files. I know how to
> import the files, so it's not the main issue.
I was discussion a similar issue with Jeff this week.
Take a look at the thread:
http://news.gmane.org/gmane.comp.python.matplotlib.general
Unfortunat
>You can transpose your inputs. For numpy arrays: x = x.transpose()
i wrote:
for np arrays: x = x.transpose()
but I still get a syntax error.
> > Also, one more thing, I can't find how to expand the borders of the plot,
> > say from 350 to 400
> > (same for depth) I tried usig xlim and ylim(0
On Wed, Jul 16, 2008 at 2:58 PM, Oz Nahum <[EMAIL PROTECTED]> wrote:
> Here is why the contours are wrong:
> they are ploted verticaly, while I think, it is more common to draw temp.
> contours in oceanography when the are horizontal.
You can transpose your inputs. For numpy arrays: x = x.transpo
Here is why the contours are wrong:
they are ploted verticaly, while I think, it is more common to draw temp.
contours in oceanography when the are horizontal.
Also, one more thing, I can't find how to expand the borders of the plot,
say from 350 to 400
(same for depth) I tried usig xlim and ylim(
Oz Nahum wrote:
> Hi Eric,
> really thanks for your help so far. I am doing a quick short course, and
> I'll do the examples later.
> I've fixed the code, here it is:
>
> from matplotlib import pyplot as plt
> temperature=[
> [10,8,6],
> [9,7,5],
> [8,7,4]
> ]
Hi Eric,
really thanks for your help so far. I am doing a quick short course, and
I'll do the examples later.
I've fixed the code, here it is:
from matplotlib import pyplot as plt
temperature=[
[10,8,6],
[9,7,5],
[8,7,4]
]
distance = (100,200,300)
depth = (100,
Oz Nahum wrote:
> Ok, I played with it a little bit.
>
> Here is what I know:
> importing the data is not a big issue, I aready wrote a tutorial about
> it here:
> http://www.tabula0rasa.org/?p=21
>
> here is a sample code I wrote.
> from matplotlib import pyplot as plt
> from pylab import *
> t
On Wed, Jul 16, 2008 at 1:25 PM, Oz Nahum <[EMAIL PROTECTED]> wrote:
> Ok, I played with it a little bit.
>
> Here is what I know:
> importing the data is not a big issue, I aready wrote a tutorial about it
> here:
> http://www.tabula0rasa.org/?p=21
There are a couple of functions for loading ASCI
Ok, I played with it a little bit.
Here is what I know:
importing the data is not a big issue, I aready wrote a tutorial about it
here:
http://www.tabula0rasa.org/?p=21
here is a sample code I wrote.
from matplotlib import pyplot as plt
from pylab import *
temperature=[
[1,3,4],
Oz Nahum wrote:
> Thanks for the quick answer.
> So if I have a series of 18 points withe measured distance, and 18 data
> points with distance, it makes it almost impossible to build the graph
> ??? I can't type 18^18 points I want the computer to plot the points
> and extrapulate between t
Alex Stapleton wrote:
> 2008/7/16 Jeff Whitaker <[EMAIL PROTECTED]>:
>
>> Alex Stapleton wrote:
>>
>> Alex: I don't have the Cairo backend installed, but I bet it would work if
>> you changed resolution='i' to resolution='l'. Seems like a pretty severe
>> limitation of the backend though.
Thanks for the quick answer.
So if I have a series of 18 points withe measured distance, and 18 data
points with distance, it makes it almost impossible to build the graph ??? I
can't type 18^18 points I want the computer to plot the points and
extrapulate between them...
excuse me the possibl
Oz Nahum wrote:
> Hi,
> I want to draw a contour plot which uses data from files. I know how to
> import the files, so it's not the main issue.
> Let's say I want to do a profile which has the following data:
> distance, depth and some oceanographic data like temp, oxygen and stuff
>
> so for
Hi,
I want to draw a contour plot which uses data from files. I know how to
import the files, so it's not the main issue.
Let's say I want to do a profile which has the following data:
distance, depth and some oceanographic data like temp, oxygen and stuff
so for simplicity lets say I have:
d
On Wed, Jul 16, 2008 at 7:36 AM, Ken Dere <[EMAIL PROTECTED]> wrote:
> I would like to be able to call something like:
>
>> sub = getSub(myImage)
>
> and then click my cursor on two places in an image and have that subregion
> returned as sub. I would also like to be able to do this with a single
I would like to be able to call something like:
> sub = getSub(myImage)
and then click my cursor on two places in an image and have that subregion
returned as sub. I would also like to be able to do this with a single
statement rather doing z=connect('button_press_event',getSub). Seems like
s
Alex Stapleton wrote:
> 2008/7/16 Jeff Whitaker <[EMAIL PROTECTED]>:
>
>> Alex Stapleton wrote:
>>
>>> Not sure if this is the right place to send this, can't seem to find a
>>> dedicated bugs list or issue tracker. Or much discussion regarding the
>>> basemap toolkit at all really.
>>>
>>>
2008/7/16 Jeff Whitaker <[EMAIL PROTECTED]>:
> Alex Stapleton wrote:
>>
>> Not sure if this is the right place to send this, can't seem to find a
>> dedicated bugs list or issue tracker. Or much discussion regarding the
>> basemap toolkit at all really.
>>
>> Trying to savefig some Basemap instance
John Hunter wrote:
> On Wed, Jul 16, 2008 at 6:12 AM, Angela Rivera Campos <[EMAIL PROTECTED]>
> wrote:
>> Hi, again
>>
>> I've trying to install everything, from the begining on another machine,
>> this one's running openSUSE 10.3. So I've installed the latest versions of
>> numpy, scipy and matp
Alex Stapleton wrote:
> Not sure if this is the right place to send this, can't seem to find a
> dedicated bugs list or issue tracker. Or much discussion regarding the
> basemap toolkit at all really.
>
> Trying to savefig some Basemap instances causes the following
> exception in the Cairo backend
On Wed, Jul 16, 2008 at 6:12 AM, Angela Rivera Campos <[EMAIL PROTECTED]> wrote:
> Hi, again
>
> I've trying to install everything, from the begining on another machine,
> this one's running openSUSE 10.3. So I've installed the latest versions of
> numpy, scipy and matplotlib and I've discovered so
Not sure if this is the right place to send this, can't seem to find a
dedicated bugs list or issue tracker. Or much discussion regarding the
basemap toolkit at all really.
Trying to savefig some Basemap instances causes the following
exception in the Cairo backend. Seems to work alright using the
2008/7/15 Darren Dale <[EMAIL PROTECTED]>:
> Hi Ian,
>
> On Tuesday 15 July 2008 10:13:02 am Ian Harry wrote:
> > Thanks for helping with this problem.
> >
> > I have investigated further this issue and here is what I have found out:
> >
> > I have traced the errors themselves back to two function
Hi, again
I've trying to install everything, from the begining on another machine,
this one's running openSUSE 10.3. So I've installed the latest versions
of numpy, scipy and matplotlib and I've discovered something new which
also happens in the first machine, the one with openSUSE 10.2. The fi
John Hunter escribió:
> On Tue, Jul 15, 2008 at 2:37 AM, Angela Rivera Campos <[EMAIL PROTECTED]>
> wrote:
>
>> matplotlib version 0.90.1
>> numerix numpy 1.0.3
>
> your numpy and matplotlib versions are pretty old. Any chance you can
> upgrade to numpy 1.1 and matplotlib 98.1?
>
> JDH
OK.
38 matches
Mail list logo