python - set matplotlib 3d plot aspect ratio? -


  आयात करें matplotlib.pyplot के रूप में plp से mpl_toolkits.mplot3d आयात एक्सिस 3 डी  

पहलू अनुपात की स्थापना 2 डी भूखंडों के लिए काम करती है:

  ax = plt.axes () ax.plot ([0,1], [0,10]) ax.set_aspect ('equal', 'बॉक्स')  

लेकिन 3 डी के लिए नहीं:

  ax = plt.axes (प्रक्षेपण = '3d') ax.plot ([0, 1], [0,1], [0,10]) ax.set_aspect ('बराबर', 'बॉक्स')  

क्या 3 डी केस के लिए एक अलग सिंटैक्स है या यह लागू नहीं है?

मेरी समझ मूल रूप से है कि यह अभी तक कार्यान्वित नहीं है मुझे यह भी उम्मीद है कि यह जल्द ही लागू किया जाएगा। संभव समाधान के लिए देखें (मैंने खुद का परीक्षण नहीं किया है)।


Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

Send innerHTML text in URL in JSP -