How do I plot Cycle Range vs Number of Cycles in rainflow ?

7 views (last 30 days)
Hi All
doing the command
TT = timetable(t,X);
rainflow(TT);
we get a 3D rainflow diaghram. but if I do :
[c1,hist,edges,rmm,idx] = rainflow(X,t);
TT1 = array2table(c1,'VariableNames',{'Count','Range','Mean','Start','End'});
I get only the cycles for each Cycle counts , so number of cycles are always 0.5 or 1.
How do I get a sort of cumulative number of cycles, as what I see in the Cycle Range vs Number of Cycles in 3D rainflow plot ?
I need to eventually plot this :
from this3Dcase :
  6 Comments
farzad
farzad on 27 Apr 2020
I just don't know how to make a 2D plot of bars , using barh having the values of two axes

Sign in to comment.

Answers (0)

Categories

Find more on Geographic Plots 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!