How can I change de origin of a particular vector in a compass
1 回表示 (過去 30 日間)
古いコメントを表示
O=3.5355 + 3.5355i;
OI=-3.5355 - 3.5355i;
R=1.6633 + 7.8252i;
P=R-O; %I want to put the origin of 'P' vector at the end of the 'O' vector
TT=[O R P OI];
clr=[1 0 0;0 1 0;0.98 0.59 0.1;0 0 1];
hh=compass(TT);
set(hh,{'color'},num2cell(clr,2),'LineWidth',3);
legend({'O','O+P','P','OI'},'FontName','Calibri Light','LineWidth',1,'FontSize',9,'Orientation','horizontal','Location','SouthOutside');
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!