Is this the FEX-contribution that you use?
Customizable Heat Maps by Ameya Deoras
Visualize data as a heatmap with many customizable options.
There are at least two version:
21 Dec 2011
Major update. New features include:
* Text labels correctly update when figure is zoomed, panned or resized
* X tick labels can be rotated
* Show all or a subset of tick labels for large matrices
The signature of this function, heatmap, is
[hImage, hText, hXText] = heatmap(mat, xlab, ylab, textmat, varargin)
With your code I just get an error
Index exceeds matrix dimensions.
Error in heatmap>setAxesLabels (line 280)
Set breakpoint at 280
2 4 6 8 10 12 14
Question remains: what heatmap are you running?
The handle graphic objects, figure and axes, have a property named, Nextplot (see the code of the function, hold). Could it be that the default values of Nextplot differs between your computers?
get( 0,'defaultFigureNextPlot' )
get( 0,'defaultAxesNextPlot' )
I get (R2012a,64bit)
@Walter, The commamd
doesn't report these values here.