cdf解释:

http://baike.baidu.com/link?url=LH1cGO2Swa-khHN83Rc1ln2OGcDCh7Sbcq2wMSFBRJWA_bm_GUFyaEBOvrEM80uWpQfrY7EPQkekp6_ZBjXGUq

 

import numpy as np
from pylab import *

# Create some test data
dict1 = {1:1.22,2:1.26,3:8.9}
a = dict1.keys()
b = []
for key in a:
    b.append(dict1[key])

# Plot both

xlabel('number')
ylabel('percentage(%)')
plot(a,b)

savefig(os.path.join(os.getcwd(),'pie.png'))

show()

相关文章:

  • 2021-12-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-31
  • 2021-08-21
  • 2022-02-07
猜你喜欢
  • 2022-12-23
  • 2021-12-20
  • 2021-11-17
  • 2021-10-31
  • 2021-12-22
  • 2021-08-01
  • 2022-12-23
相关资源
相似解决方案