It has created a plotting funciton for you. Once you save it, you can use it to recreate your plot. Since it is a function you will need to create the inputs first. You would know better than us what those inputs should be, but a brief description is included at the top of your function. Keep in mind that
- Vectors X1 and Y1 must have the same length
- Vectors X2 and Y2 must have the same length
- Vectors X3 and Y3 must have the same length
- The length of X4 must be the same as the number of rows in YMatrix1
- Vectors X5 and Y4 must have the same length
- The length of X6 must be the same as the number of rows in YMatrix2
Calling it might look something like this.
X1 = 0:10;
Y1 = X1;
X2 = 0:10;
Y2 = X2/2;
X3 = 0:10;
Y3 = 10-X3;
X4 = 0:10;
YMatrix1 = rand([length(X4),3]);
X5 = 0:10;
Y4 = 10-X5/2;
X6 = 0:10;
YMatrix2 = randi(10,[length(X6),2]);
% call function
createfigure6(X1, Y1, X2, Y2, X3, Y3, X4, YMatrix1, X5, Y4, X6, YMatrix2)

