separate regions of image in subplots
조회 수: 3 (최근 30일)
이전 댓글 표시
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/330437/image.jpeg)
댓글 수: 2
답변 (1개)
Image Analyst
2020년 7월 11일
Before that line, put this and see what it puts out to the command window:
whos P
[rows, columns, numberOfColorChannels] = size(P)
It looks like it thinks your P is not an RGB image. What is it? pso() is not a built-in function so I don't know what it returns. What does pso() return as the first argument?
댓글 수: 5
Image Analyst
2020년 7월 11일
OK, so go ahead (no question was asked - just an announcement). Write code to create those images, and call subplot(2, 3, n) and display the proper image in the proper location.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!