I'm using MatLab for Image processing. I want to show images and histograms in 4 rows and and 2 columns but I fail to plot them
my code is below
% Show the images
subplot(1,2,1);imshow(I);
subplot(2,2,1);imshow(G);
subplot(3,2,1);imshow(B);
subplot(4,2,1);imshow(L);
% Plot Histograms
subplot(1,2,2);plot(h);
subplot(2,2,2);plot(hG);
subplot(3,2,2);plot(hB);
subplot(4,2,2);plot(hL);