6
पायथन मैटलपोटलिब फिगर टाइटल ट्विन का उपयोग करते समय कुल्हाड़ियों के लेबल को ओवरलैप करता है
मैं एक ही ग्राफ पर दो अलग-अलग मात्राओं को ट्विन का उपयोग करके प्लॉट करने की कोशिश कर रहा हूं: fig = figure() ax = fig.add_subplot(111) ax.plot(T, r, 'b-', T, R, 'r-', T, r_geo, 'g-') ax.set_yscale('log') ax.annotate('Approx. sea level', xy=(Planet.T_day*1.3,(Planet.R)/1000), xytext=(Planet.T_day*1.3, Planet.R/1000)) ax.annotate('Geostat. orbit', xy=(Planet.T_day*1.3, r_geo[0]), xytext=(Planet.T_day*1.3, r_geo[0])) ax.set_xlabel('Rotational period …
139
python
matplotlib
title
figure