定义缩放函数
使用任意函数和其反函数缩放数据.
显示完整的 Wolfram 语言输入
In[2]:=
![Click for copyable input](assets.zh/define-a-scaling-function/In_47.png)
Grid[Partition[{
Plot[{Sin[x], Cos[x]}, {x, 0, 10}, ImageSize -> 250,
PlotTheme -> "Web"],
rightArrow,
Plot[{Sin[x], Cos[x]}, {x, 0, 10}, ImageSize -> 250,
PlotTheme -> "Web", ScalingFunctions -> {None, {Tan, ArcTan}}]},
3]]
Out[2]=
![](assets.zh/define-a-scaling-function/O_37.png)