Borrar filtros
Borrar filtros

How to plot a HeatMap in Matlab GUIDE

1 visualización (últimos 30 días)
Jonasz
Jonasz el 19 de Ag. de 2013
Do you know how to put HeatMap function into handles of my axis? Everytime I do this the new figure open with my heatmap and nothing is written into handles. Any idea how to fix this , I trie almost everythink like
plot(HeatMap(...),handles.heatMap)
handles.heatMap=plot(HeatMap)
etc.

Respuestas (1)

Image Analyst
Image Analyst el 19 de Ag. de 2013
What is HeatMap? Is that an image (array variable) in your program? Or is it a vector (1-D array), since you seem to be using plot() imstead of imshow()?
Anyway, it appears that heatMap is the tag (handle) of an axes control on your GUI, so your plot will plot in that axes. But right after that, you overwrite the axes handle with the handle to the line you just plotted. That makes no sense. Both the line/curve you plotted, and the axes itself, will have their own handle ID number. You don't want to blow away the axes's handle with the handle of the thing you just plotted!
  9 comentarios
Jonasz
Jonasz el 20 de Ag. de 2013
It's problem with heatmap object. It's neither image nor normal plot object. Do you know other way how to create a heatmap so it will be considered as image? Also to have rowlabels, columnlabels,unique colormap and colorbars? And then put it into axis in GUI.
Image Analyst
Image Analyst el 20 de Ag. de 2013
I have no idea because I don't have that toolbox and function, and therefore can't try anything to help you. Apparently no one else here does either since no one else has tried to help you. I suggest you call them. You have a current maintenance contract in force don't you?

Iniciar sesión para comentar.

Categorías

Más información sobre Data Distribution Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by