MATLAB: Plotting 2 figures into 2 axes, in a GUI

589 Views Asked by At

I have 2 figures generated that show a 3D cube, and one that shows a net. I have associate these with two axes in a GUI using this:

 axes(handles.cube);
 axes(handles.net);

What I do not understand is how to transfer the figure into each one. This is probably very simple, I'm very new and very inept with this piece of software- so any advice is greatly appreciated.

1

There are 1 best solutions below

0
matlabalt On BEST ANSWER

I am not sure if this is what you are looking for, but you can use subplot for plotting two different axes in one window, if this is what you desire:

https://de.mathworks.com/help/matlab/examples/displaying-multiple-plots-in-a-single-figure.html