what is the difference between set(object,'property',value) and object.property = value)
古いコメントを表示
Hello
i'm struggling between using this:
handles.scatM1.XData = handles.M1(:,1);
handles.scatM1.YData = handles.M1(:,2);
and
set(handles.scatM1,'XData',handles.M1(:,1),'YData',handles.M1(:,1))
is there a difference in the way it will interact? is one way a better option?
because i have tried both option and they seems good both.
Thanks
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!