I could interpret this question a couple of different ways. One is that you would like to scale the proportion of your plot. One can use ScalingFunctions
(though undocumented for Plot
) to specify the intended relationship, which will be correctly handled with AspectRatio -> Automatic
. For example:
Table[
Plot[3 Sin[2 x], {x, 0, 7}, ScalingFunctions -> {scale, Identity},
AspectRatio -> Automatic, PlotRange -> All],
{scale, {{2 # &, #/2 &}, Identity, {#/2 &, 2 # &}}}
] // GraphicsRow
Note that unlike setting the proportion using a specific value for AspectRatio
I did not have to manually calculate this value; it was computed automatically.
Another interpretation is that you wish to relabel one of the plot axes, easily done with a coefficient in the right place:
GraphicsRow[{
Plot[3 Sin[2 x], {x, 0, 7}],
Plot[(3 Sin[2 x])/2, {x, 0, 7}],
Plot[3 Sin[2 (x/2)], {x, 0, 14}]
}]
These two behaviors may be combined to produce most any scaling you desire.
AspectRatio
? $\endgroup$