separate regions of image in subplots
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/330437/image.jpeg)
2 commentaires
Réponses (1)
Image Analyst
le 11 Juil 2020
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 commentaires
Image Analyst
le 11 Juil 2020
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.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!