I have an axes which contains a surface plot. I assign application data to the axes object using the following command:
setappdata(axesHandle,'data',data)
I then copy the axes to another figure using the 'copyobj' function in the following way:
f = figure;
new_axes = copyobj(axesHandle,f);
In MATLAB R2014a, I the new axes in the new figure has the sample application data as the original axes, however in MATLAB R2014b the new axes does not have the same application data compared to the original axes. Why is that so?
Best Answer