Also enclosed the csv file I use. I work with Qt4 and Quantum GIS.

Thanks,

Naga




________________________________
De : John Hunter <jdh2...@gmail.com>
À : Clyng11 <coulibalyn...@yahoo.fr>
Cc : matplotlib-devel@lists.sourceforge.net
Envoyé le : Sam 30 avril 2011, 22h 45min 22s
Objet : Re: [matplotlib-devel] displaying ticklabels on a graph

On Wed, Apr 27, 2011 at 4:17 AM, Clyng11 <coulibalyn...@yahoo.fr> wrote:
>
> I run this code, but labels do not appear under the ticks.
>
>      # label the X ticks with years
>      self.mpl.canvas.ax.set_xticks(np.arange(len(years))+width/2,
> [int(year) for year in years])
>      self.mpl.canvas.ax.set_xticklabels([str(year) for year in years])
>
> I Need an help.


Could you post a complete, free-standing example that we can run that
exposes your problem?
Continent,1950,1975,2000,2010,2025,2050
Africa,227270,418765,819462,1033043,1400184,1998466
Asia,1402887,2379374,3698296,4166741,4772523,5231485
Europe,547460,676207,726568,732759,729264,691048
Latin America,167307,323323,521228,588649,669533,729184
Northern America,171615,242360,318654,351659,397522,448464
Oceania,12807,21286,31160,35838,42507,51338
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to