由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Statistics版 - How can I improve my R plot to publishing quality?
相关主题
xyplot in R问一个R画图的问题
R 画图问题求助: an Matlab question - wait online
新人请教一下用R做一个简单graph问题R 里面的怎么批量画图
请问诸位高手:lattice比一般的画图plot之类如何画出这样的heatmap
How to make image.plot in sasR的循环语句该怎么用。
what's wrong with Proc Reg???R 3D plot
[R] R plot histogram question about breaks在R里想做这个效果的图
R-lattice broken y-axis?R 绘图的一个问题
相关话题的讨论汇总
话题: sales话题: plot话题: publishing话题: blue话题: improve
进入Statistics版参与讨论
1 (共1页)
l*********a
发帖数: 42
1
How can I improve my R plot (see code below) to publishing quality level (i.
e. as good as Tableau graphs or Excel/PPT graphs)?
Thanks!
#----------------total sales amt --------------------
par(bg="white")
plot(t$tot_sales_amt, type="n", axes=FALSE, ann=FALSE, ylim=c(0,1000000))

lines(t$tot_sales_amt, col="blue")
points(t$tot_sales_amt, pch=21, bg="lightcyan", cex=1.5)
axis(2, col.axis="dark blue")
axis(1, at=1:dim(t)[1],lab=paste(substring(t$dt,5,6), '-', substring(t$dt,7,
8), sep=''), col.axis="dark blue")
box()
title_name = 'Daily Sales Amount'
title(main=title_name, col.main="dark blue")
title(xlab="Reporting Date",ylab="Sales Amount", col.lab="dark blue")
l*******h
发帖数: 151
2
Maybe you can try ggplot2 and Lattice graphic packages in R. Those packages
can generate beautiful graphs. Let me know if you have any further question.
1 (共1页)
进入Statistics版参与讨论
相关主题
R 绘图的一个问题How to make image.plot in sas
请教一个R作图的命令what's wrong with Proc Reg???
求助,R 画图[R] R plot histogram question about breaks
关于R做图的问题,大家有什么好的方法啊(和matlab比较)R-lattice broken y-axis?
xyplot in R问一个R画图的问题
R 画图问题求助: an Matlab question - wait online
新人请教一下用R做一个简单graph问题R 里面的怎么批量画图
请问诸位高手:lattice比一般的画图plot之类如何画出这样的heatmap
相关话题的讨论汇总
话题: sales话题: plot话题: publishing话题: blue话题: improve