Hi folks,
I had a question on how to plot on uiaxes from an m-file. This question got solved:
I wonder if there's a more elgant way to solve this problem by defining the axes at the beginning of the function and then continuously plot on it instead of defining the axes in every single plot command?! Something like:
Call of function:
myFunction(app.uiaxes)
Function:
function myFunction(uiAxes)axes(uiAxes)% plot 1
...% plot 2
...% plot x
It works fine the way it is right now, but what if I have an old function with lots of plot commands I want to include to a gui?
Best Answer