- _( y/ M3 D, g4 u# P1 i$ ^. d; f8 Q$ g7 W. a: }% u. e8 c+ ?
急求高手相助!我在做这张3d图的时候,程序做出来是曲面,但是曲面不好看,请问怎么才能更改为三维柱体的图像?非常感谢!这是我的程序: 3 }, f% E" K% Z% I/ T+ z, ], e0 y& C9 J8 t/ e
p1=gam(d3~PM25+s(time,bs="cr")+as.factor(dow)+holiday+s(rh)+s(Temperature)+s(PM25,Temperature),& X: s/ `0 P9 m D4 ?$ y- [# l' E c
data=death,family=poisson) % F% {& k: v. n 4 j4 e" z) {; mpar(mar=c(2,2,1,1))$ h6 ?' {6 ]' G C% [) c
( I0 [% C, |" y) ~vis.gam(p1,phi=20,view=c("Temperature","PM25"),expand=0.5,theta=35,ticktype="detailed",type="response")% u. P8 E' t- [' i# W; p8 ]/ d' |
% L7 S+ ~* `+ r
: v% i( }: Z y3 l ?; e' X