Could someone please tell me How to plot dashline output in bar chart?

1 回表示 (過去 30 日間)
Phat Nguyen
Phat Nguyen 2021 年 6 月 12 日
コメント済み: Phat Nguyen 2021 年 6 月 12 日
x = categorical({'U1','U2'});
y1 = [7500 7200];
yyaxis left;
bar(x,y1,0.4);
hold on;
y2 = [2000,3000];
yyaxis right;
plot(x,y2,'bo');

採用された回答

SALAH ALRABEEI
SALAH ALRABEEI 2021 年 6 月 12 日
Check this here

その他の回答 (1 件)

Chunru
Chunru 2021 年 6 月 12 日
The following article has an example for hatched pattern for bar plot and you need download the hatchfill in file exchage.
Posted by Jiro Doke, July 15, 2011
796 views (last 30 days) | 2 Likes | 1 comment
  1 件のコメント
Phat Nguyen
Phat Nguyen 2021 年 6 月 12 日
Yes, seems it's not available in matlab... we need to download that file to support... Thank you Sir!

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by