Borrar filtros
Borrar filtros

give title above displayed images of different sizes....

1 visualización (últimos 30 días)
Elysi Cochin
Elysi Cochin el 30 de Abr. de 2014
Editada: Elysi Cochin el 30 de Abr. de 2014
i display images of different size in a figure file...
but i wanted to give titles also above the figure.... is it possible to give titles above the images? If yes please can someone help me how to sort it out....

Respuesta aceptada

Image Analyst
Image Analyst el 30 de Abr. de 2014
Try this:
axes(Handles.hSubplot(iRow,iCol));
axis('off');
title(msg{iRow,iCol});
  3 comentarios
Image Analyst
Image Analyst el 30 de Abr. de 2014
It shoudl have worked, but try to send in the axes handle explicitly into title:
axes(Handles.hSubplot(iRow,iCol));
gca % Report current axes handle to the command line.
axis('off');
title(Handles.hSubplot(iRow,iCol), msg{iRow,iCol});
If that doesn't work, then tell me what handle ID numbers get reported to the command window.
Elysi Cochin
Elysi Cochin el 30 de Abr. de 2014
thank you so much sir, it worked....

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by