国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

原神角色分析維度框架(構思中)

2022-01-17 00:11 作者:中二班馬賽克君  | 我要投稿

20分鐘學習效果圖

#要貼就貼能跑的

#python3.9

# -*- coding: UTF-8 -*-

#數(shù)據(jù)分析三板斧安裝

#pip install matplotlib numpy pandas?

#代碼開始

import matplotlib.pyplot as plt

from mpl_toolkits.mplot3d import Axes3D



fig = plt.figure()

#ax = fig.add_subplot(111, projection='3d')

ax = plt.axes(projection='3d')


plt.rcParams['font.sans-serif'] = ['SimHei']? # 用來正常顯示中文標簽

plt.rcParams['axes.unicode_minus'] = False? # 用來正常顯示負號


xs=['反應', '純色','物理']

ys=['輸出', '控制','回復','增傷']

zs=['前臺','后臺','靈活']


plt.title("原神角色分析維度")

ax.set_xlabel('1.類型')

ax.set_ylabel('2.定位')

ax.set_zlabel('3.位置')


#ax.scatter(range(len(xs)), range(len(xs)), zs)

ax.set(xticks=range(len(xs)), xticklabels=xs,

? ? ? ?yticks=range(len(ys)), yticklabels=ys,

? ? ? ?zticks=range(len(zs)), zticklabels=zs

? ? ? ?)?


plt.show()

#代碼結束

#一時興起,構思中。

#參考資料(不給貼外鏈,那就貼標題。)

#- matplotlib完美中文顯示

#- 3d-scatterplot-with-strings-in-python

#- stable/gallery/mplot3d/2dcollections3d

#- Matplotlib基礎--在matplotlib中創(chuàng)建三維圖表


原神角色分析維度框架(構思中)的評論 (共 條)

分享到微博請遵守國家法律
商都县| 定州市| 钟祥市| 南昌县| 安宁市| 临猗县| 嘉鱼县| 同江市| 白玉县| 古浪县| 瑞安市| 洛隆县| 保亭| 贵溪市| 襄城县| 静安区| 沁阳市| 繁峙县| 林州市| 乐安县| 怀化市| 临城县| 积石山| 娄烦县| 许昌市| 泉州市| 宣化县| 翁源县| 乌审旗| 永丰县| 健康| 西昌市| 崇信县| 庆城县| 上杭县| 芮城县| 广河县| 辽阳市| 杨浦区| 揭阳市| 兴国县|