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!