What's the mean of "axes(handles.axes1) " in GUI plot ?
4 次查看(过去 30 天)
显示 更早的评论
When plotting in GUI, I see someones have the line: axes(handles.axes1); What does that line mean ? Could I skip that line ? thanks very much.
0 个评论
采纳的回答
Image Analyst
2013-12-23
It means that the current axes should be set to axes1. Anything you do like title(), xlabel(), ylabel(), plot(), bar(), legend() or whatever, will now be applied to axes1 (unless you explicitly pass a different axes into the function which would override the default current axes).
4 个评论
Image Analyst
2013-12-23
That should work. What is the value of contents? Is it null? Or do you get an error? If so, what is the error?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Line Plots 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!