Question

I have two variables namely ft1<195x1 double> and ft2<195x1 double> and two axis namely axis1 and axis2(created using GUIDE). I want to plot these variables on these axis respectively. How can i do this?

Was it helpful?

Solution

This should help, if you have the handles-struture of your GUI-> when using within a button-callback for example, you should already have it:

%1. make the first axes the current-axes:
axes(handles.axes1)
%2. plot:
plot(ft1,additional arguments...)
%3. make the second axes the current-axes:
axes(handles.axes2)
%4. plot again:
plot(ft2,additional arguments...)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top