I have a plot of data, and several X axis indices that I want to shade the area under the curve between. How do I do this? I have looked at the fill and area functions but none seem to work for what I am trying and there is no simple way to say shade up to my data line with these x axis bounds.
MATLAB: How to shade area under the curve between two X axis indices
plotting
Best Answer