1
$\begingroup$

This question already has an answer here:

If I try:

RegionPlot[{y > x - 1 && y^2 < 2 x + 6}, {x, -4, 6}, {y, -3, 5},
 Mesh -> None]

I get:

enter image description here

However, if I combine it with a ContourPlot:

Show[
 ContourPlot[{y == x - 1, y^2 == 2 x + 6}, {x, -4, 6}, {y, -3, 5},
  Axes -> True, AxesLabel -> Automatic,
  PlotLegends -> "Expressions"],
 RegionPlot[{y > x - 1 && y^2 < 2 x + 6}, {x, -4, 6}, {y, -3, 5},
  Mesh -> None]
 ]

I get this:

enter image description here

Is there any way to get rid of all the mesh-like segments in the image? I did try Mesh->None.

Guess who it is idea worked:

Show[
 ContourPlot[{y == x - 1, y^2 == 2 x + 6}, {x, -4, 6}, {y, -3, 5},
  Axes -> True, AxesLabel -> Automatic,
  PlotLegends -> "Expressions"],
 RegionPlot[{y > x - 1 && y^2 < 2 x + 6}, {x, -4, 6}, {y, -3, 5}],
 Method -> {"TransparentPolygonMesh" -> True}
 ]

Produced:

enter image description here

$\endgroup$

marked as duplicate by J. M. is away Aug 13 '15 at 22:52

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 3
    $\begingroup$ The cure is undocumented: try Method -> {"TransparentPolygonMesh" -> True} in Show[]. $\endgroup$ – J. M. is away Aug 13 '15 at 22:52
  • $\begingroup$ @Guesswhoitis. That worked! Thanks. Is this something I should do a feedback report to Wolfram? $\endgroup$ – David Aug 13 '15 at 23:10
  • 2
    $\begingroup$ @Guesswhoitis. Now, it is documented. $\endgroup$ – Michael E2 Aug 13 '15 at 23:38
  • $\begingroup$ @Michael, finally… :) $\endgroup$ – J. M. is away Aug 14 '15 at 2:08

Browse other questions tagged or ask your own question.