Clear Filters
Clear Filters

creating upper and lower thresholds when graphing?

3 views (last 30 days)
How do you create thresholds when graphing with red dotted lines.

Accepted Answer

Joseph Cheng
Joseph Cheng on 27 Mar 2014
after you plot the original data
hold on,
plot(x,y,'r--');
where x = [Xaxisstart Xaxisend] and y=[yaxisThresholdvalue yaxisThresholdvalue]

More Answers (0)

Community Treasure Hunt

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

Start Hunting!