how can I plot numbers and string in x axis

1 回表示 (過去 30 日間)
will99
will99 2019 年 4 月 14 日
コメント済み: Walter Roberson 2019 年 4 月 14 日
the reason I want to plot this is I want it to show me the numbers that are the furtherst from zero and closer to -1 or 1 and I want to plot the string in x axis
X= 0.3421
-0.3579
-0.0095
0.3425
0.3246
-0.0042
0.3427
-0.0354
-0.3672
-0.3734
-0.2771
0.2493
0.0129
S= {'A…'} {'B…'} {'C…'} {'D…'} {'E…'} {'F…'}....
  5 件のコメント
madhan ravi
madhan ravi 2019 年 4 月 14 日
編集済み: madhan ravi 2019 年 4 月 14 日
Could you show how your final plot should look like?
Walter Roberson
Walter Roberson 2019 年 4 月 14 日
text(X, zeros(size(X)), S)

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

回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by