I want to ask Mathematica to show the domain of negative parts of the function $\sin x$ as red lines on the $x$ axis, like this picture
Is it possible to do it automatically? If not, I will be grateful if please tell me how I can do it manually.
Plot[Sin[x], {x, 0, 20}]
Plot[{Max[Sin[x], 0], Sin[x]}, {x, 0, 20}, PlotStyle -> {Red, ColorData[97][1]}]
$\endgroup$