Is it possible to plot transparent error stripes?

2 views (last 30 days)
I would like to display two to function with error stripes, it would be nice to see both of them, therefore I would like to use transparent fills (red and blue) to see both of them when they are on top of each other.

Accepted Answer

Cindy Solomon
Cindy Solomon on 22 Apr 2015
I am not quite sure what you mean by "error stripes", so I am going to assume that you are referring to lines for confidence intervals? In either case, this page shows some nice examples of how to overlay lines of different colors on top of each other with different levels of transparency.
In addition, this doc link explains the different properties and functions that you can use to set the transparency of graphics objects.
Hope this helps!

More Answers (0)

Community Treasure Hunt

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

Start Hunting!