Whenever I try to plot an inequality with "RegionPlot", all my plots come out in boxed frames. Is there a way to plot inequalities where I get my standard x and y axes crossing each other?

For example, I am trying to plot $$x^2 - y^2 \leq 1$$ and Mathematica gives me with RegionPlot

enter image description here

See how my x and y axes are stuck to the left of the box instead of having them cross at the origin? Anyway around this?


1 Answer 1


If you look at Options[RegionPlot], you'll find the following options (in red) that are set by default:

You need to change these appropriately to get the plot as you desire:

RegionPlot[x^2 - y^2 < 1, {x, -10, 10}, {y, -10, 10}, 
    Frame -> False, AxesOrigin -> {0, 0}, Axes -> True]

  • $\begingroup$ Wonderful! Thank you $\endgroup$
    – Lemon
    Commented Oct 30, 2012 at 5:56

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.