[转载]python求 任意两平面的夹角
摘要:1 import math#引入math模块 计算角度用 2 class point(object):#定义空间点类 3 """docstring for point""" 4 def __init__(self,x,y,z,name): 5 self.x = x 6 self.y = y 7 se
阅读全文
【matplotlib】/【plt】中文设置为宋体,英文为Time New Roman
摘要:转载自 https://blog.csdn.net/baidu_38963740/article/details/123839178 python中用matplotlib库画图时,把中文设置为宋体,英文设置为Time New Roman,有时候还需要显示公式。设置方法如下: 1 import mat
阅读全文