Plot[{Sin[x], Cos[x]}, {x, 0, 10}, Mesh -> {{0, \[Pi]}},
MeshShading -> {Black, Red}]
In the above, how can I specify that I want the mesh for just, say the Sine function and not the Cosine? I know I can use two plots and combine them with Show, but this is not what I want.
Show[ {Plot[Sin[x], {x, 0, 10}, Mesh -> {{0, \[Pi]}}, MeshShading -> {Black, Red}], Plot[Cos[x], {x, 0, 10}, Mesh -> {{0, \[Pi]}}]}]
– belisarius Feb 7 at 16:59Mesh
shall we assume that you just want output that visually matches the graphic shown in that answer? – Mr.Wizard♦ Mar 10 at 19:09