plot point in specified position

1 回表示 (過去 30 日間)
Rica
Rica 2014 年 3 月 26 日
回答済み: Dishant Arora 2014 年 3 月 26 日
Hi experts,
i have this vector for exemple:
%A=[1 2 3 5 6 4];
i want to plot the A(1) in the 10th position , the A(2) in the 20th position and so on an so forth.
between the A(1) and A(2), A(2) and A(3)....should be nothing plotted.
how to do this?

回答 (1 件)

Dishant Arora
Dishant Arora 2014 年 3 月 26 日
plot(10:10:10*length(A), A, 'r*')
xlim([0 10*length(A)])

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by