在matplotlib中,我可以使用pyplot.xscale()或设置轴缩放Axes.set_xscale().这两个函数都接受三种不同的尺度:'linear'| 'log'| 'symlog'.
pyplot.xscale()
Axes.set_xscale()
'linear'
'log'
'symlog'
'log'和之间有什么区别'symlog'?在我做过的简单测试中,它们看起来完全相同.
我知道文档说它们接受不同的参数,但我仍然不明白它们之间的区别.有人可以解释一下吗?如果它有一些示例代码和图形,答案将是最好的!(另外:'symlog'这个名字来自哪里?)
python logarithm matplotlib scale
logarithm ×1
matplotlib ×1
python ×1
scale ×1