Dear all,

Is there built-in color list for ploting making in matplotlib? Say I want to
plot barplot:

rect1=plt.bar(ind,np.array(data[1][1:col]),Width,color='b',edgecolor='none')
rect2=plt.bar(ind+Width,np.array(data[2][1:col]),Width,color='g',edgecolor='none')
rect3=plt.bar(ind+Width*2,np.array(data[3][1:col]),Width,color='r',edgecolor='none')
rect4=plt.bar(ind+Width*3,np.array(data[4][1:col]),Width,color='m',edgecolor='none')

if there is built-in color list, we can just use

......color=corlor_list[1]...........
......color=corlor_list[2]...........
......color=corlor_list[3]...........
......color=corlor_list[4]...........

Does anyone have any idea on this? Thank you.

Best,

Chao
-- 
***********************************************************************************
Chao YUE
Laboratoire des Sciences du Climat et de l'Environnement (LSCE-IPSL)
UMR 1572 CEA-CNRS-UVSQ
Batiment 712 - Pe 119
91191 GIF Sur YVETTE Cedex
Tel: (33) 01 69 08 77 30
Portable Phone (Mobil phone) : (33) 07 60 54  23 71
************************************************************************************
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to