在Mathematica中缩放轴

时间:2010-06-01 18:00:01

标签: wolfram-mathematica

我确信这是一个非常简单的问题,但我最近开始使用Mathematica,所以这对我来说都是新手。你如何缩放y轴?我尝试以下但不会编译。

Plot[y = {Exp[-(x^2+3x+2)]}, {x, 0, 5}, {y, 0, 1}]

1 个答案:

答案 0 :(得分:9)

您正在寻找PlotRange选项。

Plot[-x^2+3x+2, {x,0,5}, PlotRange->{0,1}]

相关问题