Hi John,

I used your example with the missing .ax to modify these font sizes and it
works nicely

Anyway, by investigation, I found that there is no way of interpolation
using scattered data

I tried to figure out how to grid my values and use imshow or pcolor, but
with no success yet..

Could you explain me how I could do to grid, for example, that data:

Lat[] (double array containing latitudes)
Lon[] (double array containing longitudes)
Val[] (double array containing values)

Each of the arrays having the same size, and Val[1] has latitude Lat[1] and
longitude Lon[1], and so on, and the coordinates are completely unordered

When I try to use griddata and use imshow or pcolor with the output array,
my figure is blank

A simple example or guideline would do, I guess, as I've already gained a
good knowledge of the language

Thanks in advance

PS: Here's the code snippet:
http://snipplr.com/view/8307/map-plotting-python-code-temporary/


Antoine De Pauw
Collaborateur de recherches, Informatique - Research collaborator, IT
Laboratoire de chimie quantique et photophysique - Quantum chemistry and
photophysics laboratory
Université Libre de Bruxelles - ULB


-----Original Message-----
From: John Hunter [mailto:[EMAIL PROTECTED] 
Sent: mercredi 17 septembre 2008 13:00
To: De Pauw Antoine
Cc: Eric Firing; Jeff Whitaker; Matplotlib Users
Subject: Re: [Matplotlib-users] Information request

On Wed, Sep 17, 2008 at 3:28 AM, De Pauw Antoine <[EMAIL PROTECTED]> wrote:

> The image generated is here:
> http://www.kirikoo.net/images/5shrad-20080917-102544.png
>
> Also, I couldn't find any way to reduce the colorbar font size

The colorbar method returns a matplotlib.colorbar.Colorbar instance,
which has matplotlib.axes.Axes instance stored as an attribute.  Thus
you can do:

cb = colorbar(something....)

for t in cb.get_yticklabels():
    t.set_fontsize(10)

Eric: when you get some time, could you add docstrings to colorbar
which document the publicly accessible attributes?

JDH


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to