plot a square into a square
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
pasta pontikaki
am 20 Feb. 2019
Bearbeitet: KSSV
am 20 Feb. 2019
Hi i have an image lets say 400x600 and i plot the green rectangle with x1=101,y1=101 and widthGreen=200,heigthGreen=200.
Then i want to display the blue rectangle IN the green also with x2=101,y2=101 and widthBlue=50,heigthBlue=50.
The problem is that the green square has as reference system the original image the samedoes the blue.
But i want the blue square have as reference system the green square.
The right position of the blue square lets say is down to the right.
Any suggestions on how to do this?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/205076/image.png)
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Visual Exploration finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!