This question already has an answer here:

Can someone tell me how to dash a part of a region where the function doesn´t exist?

An example 1 >= x^2 + x > y, where y is not included.


marked as duplicate by C. E., MarcoB, Alex Trounev, bbgodfrey, Henrik Schumacher May 12 at 6:50

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.


You can use ContourPlot with x^2 + x == y as the first argument and use it first Part as Epilog in RegionPlot:

 RegionPlot[1 >= x^2 + x > y, {x, 0, 1}, {y, 0, 1}, 
  PlotStyle -> Opacity[.1, Blue],
  PlotPoints -> 100, BoundaryStyle -> None,
  Epilog -> ContourPlot[ x^2 + x == y, {x, 0, 1}, {y, 0, 1}, 
    ContourStyle -> Directive[Thick, Red, Dashed]][[1]]]

enter image description here


Not the answer you're looking for? Browse other questions tagged or ask your own question.