change in multiple plot3

13 ビュー (過去 30 日間)
milad farshbaf
milad farshbaf 2018 年 7 月 18 日
コメント済み: milad farshbaf 2018 年 7 月 18 日
hi, i have some multiple plot like this,
plot3(sLLD(132:350,1),sLLD(132:350,2),sLLD(132:350,3),'o','MarkerFaceColor','[0 0.2 1]');
starts from one specific length and finish like that, sLLD is 4-column matrix, i want to change MarkerSize based on last column in sLLD. please guide me :) ;) . tnx tnx tnx

採用された回答

Walter Roberson
Walter Roberson 2018 年 7 月 18 日
It is not possible to have a "primitive line object" or "lineseries object" that has a different marker size for each point.
As you are specifying a marker 'o' but no line style, then you are not actually drawing a line. In that case, you should switch to using scatter3()
scatter3(sLLD(132:350,1), sLLD(132:350,2), sLLD(132:350,3), sLLD(132:350,4), [0 0.2 1], 'filled')
  1 件のコメント
milad farshbaf
milad farshbaf 2018 年 7 月 18 日
thankyou, im really grateful to you for your prompt reply.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by