Hi,
I’ve become a little frustrated at the difficulty in displaying a plot that shows all 4 quadrants, with the x and y axis both to the exact same scale (1:1 ratio). How can I achieve this? I just want to view a full plot.
Hi,
I’ve become a little frustrated at the difficulty in displaying a plot that shows all 4 quadrants, with the x and y axis both to the exact same scale (1:1 ratio). How can I achieve this? I just want to view a full plot.
You can manually specify the plot range.
a = 5;
Plot[Sin[x], {x, -a, a}, PlotRange -> {{-a, a}, {-a, a}}]
Alternatively you can set the aspect ration of the graph.
Plot[Sin[x], {x, -a, a}, AspectRatio -> 1]
Not sure if this helps, could you be more speciifc?
Details and Options in the documentation of most functions include preset options; maybe there’s something I missed in there that could be useful?
Good Luck.
That’s exactly what I was after Russell, thanks!
I just needed to set the x and y axis to the same scale, and the PlotRange did just that. I looked at that before but the documentation wasn’t clear on which part was the x or y coordinates.
Much appreciated.