Plot a HeatMap in Matlab GUI

4 views (last 30 days)
Jonasz
Jonasz on 2 Sep 2013
Hello I want to plot a HeatMap into axes handles in Matlab GUI
Here's my code :
hit=HeatMap(hm,'RowLabels',rl,'ColumnLabels',cl,'ColorMap',redbluecmap,'Symmetric',false);
axes(handles.axes_HM);
pl=plot(hit);
And here is the error :
??? Error using ==> figure
Invalid property found.
Object Name : figure
Property Name : 'PagePosition'.
Error in ==> HeatMap.plot at 42
hFig = figure('Renderer', 'ZBuffer',...
Error in ==> one>my_list_Callback at 96
pl=plot(hit);
Error in ==> gui_mainfcn at 96
feval(varargin{:});
Error in ==> one at 42
gui_mainfcn(gui_State, varargin{:});
Error in ==>
@(hObject,eventdata)one('my_list_Callback',hObject,eventdata,guidata(hObject))
??? Error while evaluating uicontrol Callback
What is wrong ?

Answers (0)

Categories

Find more on Data Distribution Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!