特定のマーカーのサイズ,形の変更方法
이전 댓글 표시
下記のコードは各関節の時系列3次元データをプロットしているのですが,データの始点のマーカーの大きさ,もしくは形を変更したいと考えております.
始点データのマーカーのサイズ,形を変更する方法をご教授して頂きたいです.
%ファイル読み込み
fname = "xsens";
T = readtable(fname,'Sheet','Segment Position');
T = T(1202:1422,:); %投球動作範囲
%データ分割
LeftUpperArm = [T.LeftUpperArmX,T.LeftUpperArmY,T.LeftUpperArmZ];
LeftForeArm = [T.LeftForearmX,T.LeftForearmY,T.LeftForearmZ];
LeftHand = [T.LeftHandX,T.LeftHandY,T.LeftHandZ];
%%
%3D描画
h1 = plot3(RightUpperArm(:,1),RightUpperArm(:,2),RightUpperArm(:,3),"or");
hold on
h2 = plot3(RightForeArm(:,1),RightForeArm(:,2),RightForeArm(:,3),"ob");
h3 = plot3(RightHand(:,1),RightHand(:,2),RightHand(:,3),"og");
%label
xlabel("x",'FontSize',12,"FontWeight","bold",'Color','r')
ylabel("y",'FontSize',12,"FontWeight","bold",'Color','b')
zlabel("z",'FontSize',12,"FontWeight","bold",'Color','g')
legend("UpperArm","ForeArm","Hand")
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 ライン プロット에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
