Hi Everyone,

First I must cryout a little bit :-) Why colorbar is always so tricky ???

I'm trying to fine tune the colorbar of my contour plots.
I would like to do the following things:

1) remove the box around it
2) hide the xticks
3) make the lines with the indicating colors with custom widths

so far I succeeded only with task 2 !

here is what I did:
cs=axs[4].contour(x,y,phcr1t,linestyles='solid',cmap=cm.jet_r)

a=fig.colorbar(cs,ax=axs[4],orientation='horizontal')
ticks = a.ax.get_xticklines()
#print getp(a.ax)
for tick in ticks:
    setp(tick,alpha=0)


Would be great if someone could tell me how to do the 2 other things ...

Many thanks



-- 
Oz Nahum
Graduate Student
Zentrum für Angewandte Geologie
Universität Tübingen

---

Imagine there's no countries
it isn't hard to do
Nothing to kill or die for
And no religion too
Imagine all the people
Living life in peace
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to