MATLAB: Creating upper and lower thresholds when graphing graph thresholds How do you create thresholds when graphing with red dotted lines. Best Answer after you plot the original datahold on,plot(x,y,'r--');where x = [Xaxisstart Xaxisend] and y=[yaxisThresholdvalue yaxisThresholdvalue] Related SolutionsMATLAB: Find area of the filled region of a graph trapz(x,y) MATLAB: How to plot a box on an existing plot xmin=0;xmax=1;ymin=0;ymax=1;plot([xmin xmax xmax xmin xmin],[ymin ymin ymax ymax ymin])orrectangle('position',[xmin ymin xmin xmax]) Related QuestionThresholdHow to find the upper and lower threshold limits that the edge-canny function uses
Best Answer