displaying two images in a single figure
Show older comments
i want to display two images on a single figure whereby they will be lying on each other....one vertically and the other horizontally on each other in the same figure.
1 Comment
Sean de Wolski
on 28 Jun 2011
perhaps you could find an image on google images that shows an example of what you want?
Accepted Answer
More Answers (1)
Walter Roberson
on 28 Jun 2011
0 votes
You can use image() or imagesc(). Both routines allow you to pass in the coordinates of the center of the lower-left and upper-right pixel (not of the edge of those pixels)
2 Comments
Oyewale Oyelami
on 28 Jun 2011
Walter Roberson
on 28 Jun 2011
How many objects do you have? "one horizontally and the other vertically" sounds like you have three objects
I
oI
where I is an image and o is the unknown third object.
Or do you mean you want to display two images in the same area of the figure, one blocking the view of the other, with one of the two rotated 90 degrees?
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!