How to draw such plot
Show older comments
How can I draw such plots i.e. storey (y -axis) 0 to 1 > x = constant (assume 5500) and y 1 to 2 > x= 45625.5 ...likewise it follows the pattern...

Accepted Answer
More Answers (1)
Mathieu NOE
on 31 May 2021
helllo
simply like this (one curve demo)
% 3 storey plot
x = [ 1 1 2 2 3 3];
y = [5000 4000 4000 3000 3000 2000];
plot(x,y,'r-.','linewidth',2);
xlim([0 5]);
1 Comment
Sumit Saha
on 31 May 2021
Categories
Find more on Labels and Styling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
