I am pretty new to Mathematica. I would like to plot an ellipse:
Fell[x_, y_] := (x + c)^2/a^2 + y^2/b^2 = R^2
where $R$, $a$, $b$ and $c$ have units $m$ and are of the order of $10^6 m$.
However, I couldn't find a command that works. I tried Plot, Solve, Graphics, etc. but got a variety of errors or wrong plot where the frame is shown but not the function.
Can someone tell me, please, how to do that? I am sure it is pretty simple but couldn't find a solution around for two-branches functions with units.
Thx!
p.s. I add a result for the command
ContourPlot[
(Quantity[10^6*x, "Meters"] + c)^2/a^2 +
Quantity[10^6*y, "Meters"]^2/b^2 ==
R^2/Quantity["Meters"^2],
{x, -10, 10},
{y, -10, 10},
FrameLabel ->
Normal@QuantityArray[
ConstantArray[ScientificForm@10^6, 2], "Meters"]
]
(see suggestion below:





AspectRatio -> Automatic]"
gives:
– user1640950 Mar 12 '17 at 21:44