How can I use "spy" at AppDesigner
21 views (last 30 days)
I'd like use "spy" type graph at appdesigner.
So I called "spy" function to draw the result in the appdesigner but it was drawn on the other window.
- Does appdesigner support "spy" ?
- if not, how can I use spy type graph at appdesigner?
appreciate if I have any help.
Abhilash Padma on 1 Aug 2019
1)App designer doesn’t support “Spy” directly.
2)You can use the plot in app designer to draw spy type graph. See the following code where I have used plot to draw “spy” type graph which may help solve your problem.
[i,j] = find(S);
[m,n] = size(S);
xlabel(ax,['nz = ' int2str(nnz(S))]);
set(ax,'xlim',[0 n+1],'ylim',[0 m+1],'ydir','reverse','plotboxaspectratio',[n+1 m+1 1]);