MATLAB: Subplot code bar chart graph Hello – what is the code to display 9 bar charts on a single plot? subplot(3, 3, 1) subplot(3, 3, 2) subplot(3, 3, 3) This shows 3 bar charts on the top row, now how do I show 3 bar charts on the middle and bottom row? Thank you. Best Answer subplot(3, 3, 1)subplot(3, 3, 2)subplot(3, 3, 3)subplot(3, 3, 4)subplot(3, 3, 5)...go on...till 9 last digit Related SolutionsMATLAB: Beginner subplot graph problem doc plotyyYou can use this on a subplot:subplot(1,2,1);plotyy(1:10,1:10,1:10,100:-10:1) MATLAB: Matlab subplot Call figure before the loop, then inside before hold on:subplot(3,3,i_z-25)% Examplefigurefor n = 1:9 subplot(3,3,n) hold on plot(1:10,1:10,'r') plot(1:10,10:-1:1,'b')end Related QuestionHow to create the array [1, 2,2 ,3, 3, 3, 4,4 4, 4]
Best Answer