How much axes should I create on one figure window in matlab R2015b ?
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
Dear Sir, I am created one programmatic gui in matlab where I created icons using image function and using callback for them. Also I have one sliding image panel where I am showing multiple images on panel using axe

s. It has one logic by using I'm sliding the panel i.e. providing new position on every click. But I,m not able to create more than 25 axis on that panel.
7 comentarios
Walter Roberson
el 16 de Dic. de 2015
What happens when you try to create more than 25 axes ?
Prashant Birajdar
el 31 de Dic. de 2015
Walter Roberson
el 31 de Dic. de 2015
How did you implement your sliding image panel?
Prashant Birajdar
el 1 de En. de 2016
Image Analyst
el 1 de En. de 2016
If you set the 'Position' property of a panel that contains some images, doesn't that move the location of the panel edges on the figure?
Walter Roberson
el 1 de En. de 2016
If you create a uipanel that is set to clipping then you can move a second panel within the first to get the impression of sliding.
Image Analyst
el 1 de En. de 2016
Ah, that makes sense. It wasn't clear to me that he had two panels, one inside the other.
Respuestas (2)
Image Analyst
el 12 de Dic. de 2015
0 votos
Try issuing a drawnow command. Or else try a different renderer for your figure. Or else make your axes smaller.
2 comentarios
Prashant Birajdar
el 16 de Dic. de 2015
Image Analyst
el 16 de Dic. de 2015
You could possibly keep track of which axes are visible and then clear the images from the invisible ones with cla('reset').
Sean de Wolski
el 31 de Dic. de 2015
0 votos
Why not create one axes with lots of images horizontally concatenated together? Then all you have to do is update the 'CData' of the one image object in order to scroll. You can keep track of where each subimage is to know it's start and end horizontal position if there needs to be clicking.
This is how I'd do it at least.
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!