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:绘制图,变更图形的样式,增加填充,增加文字,增减坐标轴/标签、极坐标处理