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!