I'm plotting a linear regression using the MATLAB function plotregression in this way:
plotregression(x, y)
Now, I want to plot six different regressions and plot them in subplots, as shown below:
subplot(2,3,1)
plotregression(x1,y1)
subplot(2,3,2)
plotregression(x2,y2)
...
However, this doesn't work: the subplot command is ignored and only the last regression plot is shown. How can I display multiple regression plots in the same window?
I would also like to set the xlabel and the ylabel manually for each regression plot. Is that possible?

plotregression? 2) What do you want to have in the 6 subplots? The regression betweenxandyis just one plot. - hbaderts