[AstroPy] AstroPy Digest, Vol 74, Issue 1
John K. Parejko
john.parejko at yale.edu
Thu Nov 1 16:44:18 EDT 2012
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:
http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.hexbin
John
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
More information about the AstroPy
mailing list