How to fill certain portion a plot

2 views (last 30 days)
Chris Martin
Chris Martin on 30 May 2014
Edited: the cyclist on 30 May 2014
How to fill certain portion a plot

Answers (1)

the cyclist
the cyclist on 30 May 2014
Edited: the cyclist on 30 May 2014
Use the patch() or fill() command.
You can see some examples of shaded plots in the MATLAB Plot Gallery.

Categories

Find more on Graphics Objects 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!