TransWikia.com

How to change colours in the RegionPlot Function when three colours are used for three different expressions

Mathematica Asked by Zied on June 2, 2021

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?

One Answer

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

Answered by cvgmt on June 2, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP