I'm trying to have two visualize the vectors $(1,2)$ and $(2,1)$. Then, I wrote:

 Graphics[Arrow[{{0, 0}, {1, 2}}]]


Graphics[Arrow[{{0, 0}, {2, 1}}]]

I didn't understand why they have different dimensions. Both should have the same length, no? The size which mathematica shows the graphics are arbitrary?

Is there any way to solve this?



1 Answer 1


To put them both in the same scale and graphic:

Show[Graphics[Arrow[{{0, 0}, {1, 2}}]], 
     Graphics[Arrow[{{0, 0}, {2, 1}}]], 
     Axes -> True, AspectRatio -> 1]

Mathematica graphics

  • $\begingroup$ Thank you, I've already done this. What I didn't understand is why they have different dimensions if you don't use axes. $\endgroup$
    – user26832
    Oct 12, 2015 at 5:46
  • 3
    $\begingroup$ @user26832 Neither in Mathematica nor in mathematics you should infer anything about magnitudes without a scale $\endgroup$ Oct 12, 2015 at 5:49
  • $\begingroup$ @user26832 Graphics objects in different figures are not comparable. The contents of each figure is scaled separately to fill out the frame and be viewable within the available screen space. To make the two lines comparable, put them in the same figure, no axes necessary. $\endgroup$
    – Szabolcs
    Oct 12, 2015 at 7:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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