Same comment as arnold. Textcolor 'xor' does not work with R2014b for the 'R2014b graphics ready' version, toolbox nor zip downloads as updated 3 Oct 2014. I note that 'erasemode' 'xor' is still in the code of the zipped package. Otherwise excellent!
The textcolor 'xor' property does not work for me. It looks odd when rendered but when I try to save the figure as pdf, jpg or some other image format, all the text returns to black thus unreadable if the colormap has very dark values in some areas.
One issue on R2014a :
Error using hg.axes/set
The name 'TickLabelInterpreter' is not an accessible property for an instance of class 'axes'.
comment out line 331 in heatmap.m:
Thank you very much for this awesome function!
But I'm actually having a problem with the min/max color value of the ColorBar. When I try the following code:
h = heatmap(x, , ,'%0.4f', 'Colorbar', true, 'MinColorValue', 0.0, 'MaxColorValue', 1.0, 'Colormap', 'autumn', 'Colorlevels', 10, 'Gridlines', '-', 'FontSize', 15, 'UseFigureColormap', false);
It returns an error:
Subscript indices must either be real positive integers or logicals.
Error in heatmap>plotHeatmap (line 235)
p.cdata = reshape(p.Colormap(p.cdata(:),:),[size(p.cdata) 3]);
Error in heatmap (line 128)
p = plotHeatmap(p, mat); % New properties hImage and cdata added
And plots nothing. Am I doing something wrong?