Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

highlighting specific regions in a plot

I'm working on displayind*g the regions where a specific condition between two functions. As an example I want to color or highlight in a way or another the areas where let's say where x/ f(x)<g(x)< p="">

f(x)=sin(2*x + 3)
g(x)=2*cos(2*x + 2)
plot([f(x),g(x)],[x,-pi,pi])

How can I approach that ? Thx for any kind of hint.