Bernd Becker
unread,Dec 11, 2012, 5:33:31 AM12/11/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to scitoo...@googlegroups.com
# plotting your own contour levels and above and below ranges:
levels=[240,250,260,270,280,285,290,295,300,305]
# choose your own colors from a predefined Brewer color table <=== How do you do that?
sketch of idea:
-- have color chart hanging on the wall in your office, choose colours by reference number from table:
colors=[ 2, 5, 8, 12, 15, 0 , 21 , 24, 27 , 19, 32 ]
# use user defined colors and contours in filled contour plot:
qplt.contourf(t0+273.15,levels=levels,cmap=brewer_cmap,extend='both')
plt.title('near surface temperature')
Thanks for all your suggestions!
Bernd