I have a kX1 matrix 'depth' and kXm matrix 'c'. My GUI command for plot is Depth=handles.Depth c=handles.c l=length(Depth) for i=1:l hold on plot(c(:,i),Depth) c is kXm and depth is kX1. Now please tell me how to give fill command in GUI and scale x-axis from zero to 1 in gui.
How to call a matrix in another pushbutton_callback?
1 view (last 30 days)
Show older comments
Brij Bhushan Singh
on 21 Jun 2015
Commented: Brij Bhushan Singh
on 23 Jun 2015
I am using a algorithm in GUI in a callback which is giving an matrix 'c'. Now I want to plot this matrix 'c' with another matrix 'x' but in another callback function. Can anyone please tell me how to call these matrices.
Accepted Answer
Walter Roberson
on 21 Jun 2015
First routine:
handles.c = c;
guidata(gcbo, handles);
Second routine:
c = handles.c;
0 Comments
More Answers (0)
See Also
Categories
Find more on Polar Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!