Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Question about imshow syntax
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi all,
I have some problems with the 'imshow' syntax. For example if I have the below code :
a=zeros(1,3000)
for i=1:3000
if rand<0.5
a(1,i)=1;
end
end
imshow(a,'InitialMagnification', 'fit')
Because the matrix is two "long", 3000 columns, so when I use imshow to display, I just see it's a long line. How can I fix this problem, make it bigger ?.
The second question is, when I display it, the place where its value is 1, it's displayed with white dot and the black one for the value 0. If I want to change the dot to any other symbol, for example, triangle, symbol x,.... How can I do that ?
Thanks all in advance
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!