为什么PlotLegend在Mathematica 6.0中是未知选项?

use*_*011 0 wolfram-mathematica

我想PlotLegend在剧情的右上角有一个,但是这个选项不起作用.

我该怎么加入PlotLegend我的Plot?我应该买Mathematica 8吗?

u=Sech[x];
w=Cos[x];
v=Sin[x]^2;

Plot[{u,w,v},{x,-5,5},PlotStyle->{Automatic,Dashed,DotDashed},
    PlotLegend->{"Sech[x]","Cos[x]","Sin[x]"}]
Run Code Online (Sandbox Code Playgroud)

dwa*_*dwa 5

PlotLegend 始终(至少从2.2开始)通过附加软件包加载.

如果需要升级,但使用加载图例Needs["PlotLegends`"]应该可以解决问题.