I’m trying to plot a 2D histogram where the 2 dimensions have different bins.
I’m currently using
marginalhist(x, x, fc=:plasma, bins=[0.0, 1.0, 2.0], legend=true)
from PlotRecipes (although I’m not tied to that).
The problem is that it uses the same bins for both dimensions. How can I specify different bins for the second dimension? (Note that the documentation generally shows one setting the number of bins rather than the actual bin boundaries. I need to specify the bin boundaries. They are not evenly spaced.)
As a second question, anyone know how to label the bin values on the axes? As is, I get about 3 labels for all of the many bins.
Is there any plotting documentation I’m missing? Creating basic plots is explained but finding details for refining them is difficult, and the source, at least for PlotRecipes, is hard to read in many cases because functions are often created with macros.