Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 7 down vote accepted

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]

share|improve this answer
Wonderful! Thank you – Hawk Oct 30 '12 at 5:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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