1

When I want to have equal length of the units on both x and y axis, I can use AspectRatio -> Automatic. But when I need the unit of x axis have length twice than the length of the unit of y axis, what is the option for this purpose?

user565739
  • 1,119
  • 1
  • 9
  • 14

1 Answers1

1

You can fiddle around with PlotRange and AspectRatio:

Table[Plot[Sin[x], {x, -π, π}, Frame -> True, 
  AspectRatio -> 1/k], {k, 1, 3}]

enter image description here

Table[Plot[Sin[x], {x, -π, 2 π}, Frame -> True, 
  AspectRatio -> 1/k], {k, 1, 3}]

enter image description here

Table[Plot[Sin[x], {x, -2 π, 2 π}, 
  PlotRange -> {{-2 π, 2 π}, {-3, 3}}, Frame -> True, 
  AspectRatio -> 1/k], {k, 0.5, 3}]

enter image description here