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

4 views (last 30 days)
x = categorical({'U1','U2'});
y1 = [7500 7200];
yyaxis left;
hold on;
y2 = [2000,3000];
yyaxis right;

Accepted Answer

SALAH ALRABEEI on 12 Jun 2021
Check this here

More Answers (1)

Chunru on 12 Jun 2021
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 Comment
Phat Nguyen
Phat Nguyen on 12 Jun 2021
Yes, seems it's not available in matlab... we need to download that file to support... Thank you Sir!

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!