Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How much axes should I create on one figure window in matlab R2015b ?

조회 수: 1 (최근 30일)
Prashant Birajdar
Prashant Birajdar 2015년 12월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
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
Walter Roberson
Walter Roberson 2016년 1월 1일
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
Image Analyst 2016년 1월 1일
Ah, that makes sense. It wasn't clear to me that he had two panels, one inside the other.

답변 (2개)

Image Analyst
Image Analyst 2015년 12월 12일
Try issuing a drawnow command. Or else try a different renderer for your figure. Or else make your axes smaller.
  댓글 수: 2
Prashant Birajdar
Prashant Birajdar 2015년 12월 16일
Making axes smaller is worked but only 40 axes I am able to create. axes size is (64*42) pixels. Is there any alternate solution to make the image thumbnails for my GUI. The main issue is that the RAM Memory requirement also increasing as I am loading more than 40 images.
Image Analyst
Image Analyst 2015년 12월 16일
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
Sean de Wolski 2015년 12월 31일
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.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by