[AstroPy] AstroPy Digest, Vol 74, Issue 1
Thu Nov 1 15:50:06 CDT 2012
I haven't tried this with hexbin specifically but it may be possible to change the colorbar limits either via the norm keyword or the vmin/vmax keywords.
On Nov 1, 2012, at 4:44 PM, John K. Parejko wrote:
> You can specify the bins argument as the lower bound of each bin:
> bins = np.arange(0,600)
> matplotlib's help for hexbin is quite good, accessible via help within python, or the matplotlib api website:
> On 1Nov 2012, at 16:34, Sebastian wrote:
>> On a followup hexbin question that I'm having some trouble with:
>> Is there a simple way to rescale the zmin and zmax values for the colorscale in the z dimension?
>> For example i have the following hexbin map: "https://dl.dropbox.com/u/28810956/hexbin.png", and wish to re-scale the Z data counts to 0 --> 600, instead of ~-370 --> 900?
>> many thanks in advance,
>> - Sebastian
> AstroPy mailing list
More information about the AstroPy