Let’s say the following is my MatLab command. They are being entered in sequence.
I = imread('C:\Documents and Settings\Guest\Desktop\test.jpg');
imshow(I);
imhist(I);
After line 2 is executed, MatLab invokes a window displaying the image “I”. Line 3 will display the histogram of “I”. The histogram will replace the image (in the same window).
What I want to do is:
-
I would like to maintain my image window (let’s called it “Figure 1” window)
-
The histogram is invoked in another window (“Figure 2”)
Can someone please advise me on this?
You can try using
figure