Generates a plot window with multiple plots. subplot(a,b,c) generates a plot window with a rows and b columns of plots.
subplot(a, b, c)
subplot(a b c)
Number of rows of plots to generate. a is a positive integer.
Number of columns of plots to generate. b is a positive integer.
Active plot according to the row-wise linear order of the plots. c is a positive integer between 1 and a*b.
The number of rows, i, the number of columns, j, to generate, as well as the active plot, k. i, j, and k are positive integers between 1 and 9.
X = 0:10; Y = X.*X; subplot(2, 1, 1) plot(X) subplot(2, 1, 2) plot(Y)
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported