0
IPython Notebook을 사용하고 있습니다. 같은 그림에 여러 줄거리가 있습니다. 다른 축 매개 변수에 대해 pyplot을 여러 번 다시 그리는 방법
Cases x-axis y-axis
1 non-log non-log
2 non-log log
3 log non-log
4 log log
이런 쉬운 방법이 있나요 : 나는 다음과 같은 네 가지 경우에, 즉 서로 다른 축 매개 변수를 사용하여 이러한 플롯을 표시해야합니다
#many lines of code for generating bunch of plots
plt.show()
#figure shown with non-log axis
ax.set_yscale('log')
plt.show()
#figure shown with log y-axis
ax.set_xscale('log')
plt.show()
#figure shown with log x-axis and log y-axis