Places a colorbar adjacent to the current figure.
Parameters : | name : string
zrange : tuple of floats
label : string
log : boolean
tickcolor : pyx.color.*.*
orientation : string
pos : list of floats
shrink : float
|
---|
Examples
>>> d = DualEPS()
>>> d.axis_box(xrange=(0,100), yrange=(1e-3,1), ylog=True)
>>> d.insert_image("image.jpg")
>>> d.colorbar("hot", xrange=(1e-2, 1e-4), log=True,
label="Density [cm$^{-3}$]")
>>> d.save_fig()