首页 > TAG信息列表 > edgecolor

python拖拽显示直方图

https://blog.csdn.net/lanlanmingyue/article/details/102745376 python3.8 安装依赖 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pillow pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib zft.py # -*- coding: utf-8 -*- import s

matlab绘制旋转渐变曲线图

t = 0:pi/50:10*pi; t = [t nan]; st = sin(t); ct = cos(t); patch(t,st,ct,t,'edgecolor','flat','FaceColor','none','LineWidth',2); view(3); grid on; colorbar 注意:没有nan会导致首尾有条连线

绘制三维心

用MeteoInfoLab绘制三维心。 a = linspace(-3, 3, 100) x,y,z = meshgrid(a, a, a) p = (x**2+(9/4.)*y**2+z**2-1)**3-x**2*z**3-(9/80.)*y**2*z**3 lighting(position=[0,0,-1,0]) isosurface(a, a, a, p, 0, facecolor='r', edgecolor=None, nthread=4)