Draw graphs from menu GUI
1 回表示 (過去 30 日間)
古いコメントを表示
I want to plot any four graphs from the menu of 7 options in a GUI on the same window. How to do that??
Thanks!!
0 件のコメント
回答 (2 件)
Image Analyst
2012 年 4 月 24 日
I guess with the plot() command. Tell me if I'm wrong. If I am, then you're required to give us more information so we can give you a complete and meaningful answer.
1 件のコメント
Image Analyst
2012 年 5 月 6 日
Have the 4 axes there. Then before you regenerate the plots (with plot(), bar(), pie() or whatever) call axes() to set the current axes. For example:
% Plot data set #3 into axes #1.
axes(handles.graph1);
plot(x3, y3);
% Plot data set #5 into axes #2.
axes(handles.graph2);
plot(x5, y5);
% Plot data set #6 into axes #3.
axes(handles.graph3);
plot(x6, y6);
% Plot data set #7 into axes #4.
axes(handles.graph4);
plot(x7, y7);
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!