统计作图
today.zhang
不学无术
展开
-
r ggplot2作图笔记
文章目录调整坐标轴标题的位置 调整坐标轴标题的位置 ## 载入包 library(ggplot2) ## 调用ggplot2中的mpg数据集 data('mpg') ## 简单画一张图 ggplot(mpg,aes(manufacturer, cty, color = cyl))+ geom_point(size = 2) 主要通过 theme 中的 axis.title.x 和 axis.title.y 来调整 ggplot(mpg,aes(manufacturer, cty, color =原创 2021-07-11 11:50:27 · 110 阅读 · 0 评论 -
python 作图的学习笔记
python 作图的学习笔记 文章目录python 作图的学习笔记1 Fill Between and Alpha 笔记,代码都来自于网络,来源都有注明 1 Fill Between and Alpha 代码来源:matplotlib examples # 导入需要的包 import matplotlib.pyplot as plt import numpy as np # 创造一些数据 Nsteps, Nwalkers = 100, 250 t = np.arange(Nsteps) S1 = 0.翻译 2021-06-28 22:30:41 · 489 阅读 · 0 评论