4
上限に 'auto'を設定し、matplotlib.pyplotで下限を固定する方法
y軸の上限を「自動」に設定したいが、y軸の下限を常にゼロにしたい。「オート」と「オートレンジ」を試してみましたが、動作しないようです。前もって感謝します。 これが私のコードです: import matplotlib.pyplot as plt def plot(results_plt,title,filename): ############################ # Plot results # mirror result table such that each parameter forms an own data array plt.cla() #print results_plt XY_results = [] XY_results = zip( *results_plt) plt.plot(XY_results[0], XY_results[2], marker = ".") plt.title('%s' % (title) ) plt.xlabel('Input Voltage [V]') plt.ylabel('Input Current [mA]') …
112
python
matplotlib