1. ? ? 軟件安裝
numpy的安裝:pip3 install scipy -ihttps://pypi.tuna.tsinghua.edu.cn/simple
matplotlib
鏡像下載地址:http://mirrors.aliyun.com/pypi/simple/matplotlib/
安裝:python -m pip install –user [.whl地址]
2. ? ? python3繪制曲線圖形
numpy庫和matplotlib庫(函數庫+2D繪制庫)
3. ? ? 庫:numpy 和matplotlib
numpy:mean恶阴、std、random.standard_normal、linespace毅该、show
matplotlib:plot(顏色熏瞄、標記、線型)姥宝、fill(填充顏色)毁兆、text(文字)、axis(坐標軸)茶行、xticks/yticks(x/y軸刻度)、title(標題)登钥、xlabel/ylabel(x/y軸標簽)畔师、
axes
4. ? ? 補充<未學習>
python3繪制曲線圖形:
numpy庫和matplotlib庫(函數庫+2D繪制庫)
turtle庫
圖形填充方式:
使用庫將內容完全填充
不使用庫,直接用函數
實例:
曲線方程的表達牧牢、實際應用場景(如螺旋線)看锉、畫出各種3D視圖
補充:常用函數:turtle、numpy塔鳍、matplotlib伯铣、pandas
matplotlib:繪制圖,變更圖形的樣式轮纫,增加填充腔寡,增加文字,增減坐標軸/標簽掌唾、極坐標處理