1
$\begingroup$

I am using the RegionPlot function to show contour maps of three expression but I want the white, gray and black colours instead of the default ones. How to change the colours in the RegionPlot Function?

$\endgroup$

1 Answer 1

1
$\begingroup$
RegionPlot[{x^2 < y^3 + 1, y^2 < x^3 + 1, x^2 + y^2 <= 1}, {x, -2, 
  5}, {y, -2, 5}, PlotStyle -> {Gray, White, Black}, 
 BoundaryStyle -> {1 -> Pink, 2 -> Green, 3 -> Yellow}]

enter image description here

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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