matplotlib
littlely_ll
Strive for the best, and prepare for the worst.
展开
-
HappyChart——一款简单好用的专业绘图软件
HappyChart软件现包含18类图表,12类图层,在某些情况下图表和图层可以相互通用,后期会逐步添加更多的图表和图层。柱状图,折线图,条形图,散点图,面积堆积图,茎叶图,雷达图,直方图,饼图,饼条图,箱线图,误差图,小提琴图,热力图,事件图,自相关图,阶梯图和词云图。散点图层,折线图层,阶梯图层,误差图层,密度图层,CDF图层,拟合线性回归图层,区间填充图层,连续跨度图层,横线/竖线图层,注释图层和文本图层。可以添加图层对图表进一步的绘制,例如添加Annotation图层,对孤立点进行注释。原创 2024-11-08 16:41:47 · 412 阅读 · 0 评论 -
matplotlib时间坐标设置
import matplotlib.pyplot as pltimport numpy as npimport matplotlib as mplimport datetime as dtfig = plt.figure()ax2 = fig.add_subplot(212)date2_1 = dt.datetime(2008,9,23)date2_2 = dt.datetime(200原创 2017-07-08 21:13:03 · 6169 阅读 · 0 评论 -
matplotlib作图布局
plt.figure(0)axes1 = plt.subplot2grid((3,3), (0,0), colspan=3)#(0,0)开始,占3列axes2 = plt.subplot2grid((3,3), (1,0), colspan=2)#(1,0)开始,占2列axes3 = plt.subplot2grid((3,3), (1,2))axes4 = plt.subplot2grid原创 2017-07-08 21:19:24 · 648 阅读 · 0 评论 -
matplotlib作图添加表格
import matplotlib.pyplot as pltimport numpy as npplt.figure()ax = plt.gca()y = np.random.randn(9)col_labels = ['col1','col2','col3']row_labels = ['row1','row2','row3']table_vals = [[11,12,13],[21,原创 2017-07-08 21:21:50 · 14911 阅读 · 0 评论