Plotting in GUI
1 回表示 (過去 30 日間)
古いコメントを表示
I am trying to plot mulitiple graphs in a GUI.
I'm using this code
plot(x, y, 'Parent', handles.Force)
plot(a, b, 'Parent', handles.Angle)
Can anyone tell me how I can name the respective graphs Force and Angle?
Thanks
0 件のコメント
回答 (2 件)
Naz
2011 年 11 月 26 日
1) Drug two axis objects onto the gui 2) Double click on each and change the tag property name to Force and angle resepctively.
3 件のコメント
Naz
2011 年 11 月 26 日
I don't understand 'Similarly I am unable to change the names of the axis'. After you double click on the axis, property inspector window should pop-up. Change the string 'axis1' to 'Force' in property 'tag'. And don't forget to save changes on the figure.
Walter Roberson
2011 年 11 月 26 日
title(handles.Force, 'Force')
title(handles.Angle, 'Angle')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!