bar
barh
... by passing location="top" or location="left" to the colorbar() call.
location="top"
location="left"
colorbar()