(大量编辑:)
在python matplotlib中,我想用两个xscale来绘制y
与{
较低的x
值是上面值的一个任意函数(在本例中,映射是func(x)=np.log10(1.0+x)
)。推论:上面的x
记号位置与下面的位置是相同的任意函数。在
两个轴的数据点位置和刻度位置必须解耦。在
我希望上轴的对数刻度位置和标签尽可能整齐。在
制作这样一个情节的最佳方式是什么?在
相关:http://matplotlib.1069221.n5.nabble.com/Two-y-axis-with-twinx-only-one-of-them-logscale-td18255.html
类似(但未回答)的问题?:Matplotlib: how to set ticks of twinned axis in log plot
您可能会发现^{} 和{a2}很有用。在
这里是一个尝试回答后,与一些人交谈,并感谢@BusyBeaver。在
我同意这个问题是不恰当的,我会修改它以澄清(欢迎大家!)。在
我确实认为写在stackoverflow上很有用。在
代码:
我不知道如何控制ax2小刻度上限(例如,每0.5次)。在
相关问题 更多 >
编程相关推荐