When you tell Wolfram|Alpha to plot something, it automatically figures out a reasonable domain to plot it over. When I try something like
Plot x^2 + y^2 = 1000
it automatically translates that to
ContourPlot[x^2 + y^2 == 1000, {x, -40, 40}, {y, -40, 40}]
and gives me back a nice circle.
Now this isn't even a function, but I'd be pretty happy even if this could be done just for functions, or even only relatively simple ones at that.
I'm pretty new to Mathematica, and for the life of me, I can't figure out how to do this with Mathematica. I just want it to plot the function and figure out the range itself! It drives me nuts to have to say
Plot[f[x], {x, -8, 8}]
when I have no idea what f
will look like.
How can I have Mathematica figure out a reasonable domain by itself? I don't need it to be perfect, just something that isn't totally unreasonable (e.g. a blank plot). It can't be that hard for a system that can symbolically solve differential equations.
RegionPlot
of anImplicitRegion
form of your equation. At least for simple cases,RegionPlot
is capable of reasoning the bounds of a geometric region (v10 functionality). An example:RegionPlot[ImplicitRegion[x^2 + y^2 == 1000, {x, y}]]
$\endgroup$