Plot - fill area under curve with specific x-values.

6 views (last 30 days)
Mepe
Mepe on 20 May 2019
Commented: Mepe on 21 May 2019
Hello,
The goal is to color the areas in the curve areas where the values of the black dashed line are negative. The data are available as measurement results. The first problem is certainly the different areas to read, then the coloring of the various curves. In the appendix an example is to be found, as I imagine (from powerpoint).
Does anyone have an idea to implement this as automated as possible?
Thanks a lot!
  4 Comments
KSSV
KSSV on 21 May 2019
Pick up the required coordinates..and use patch
Mepe
Mepe on 21 May 2019
how exactly do I have to integrate the basic function and the limits in the patch command?Unfortunately, my previous attempts have failed ....

Sign in to comment.

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!