Displaying 1 result from an estimated 1 matches for "adsorp".
Did you mean:
adrp
2009 Jul 23
1
tweak a bit the legend wiht ggplot2
...ve full
square of the colors instead of the full circles.
I guess that I've to work on the scale_color_hue or fill somewhere but I
haven't found my way yet.
Here is my code to get the graph:
pdf("isotherm.pdf",width=7,height=6)
#windows(width=7,height=6)
ads.graph<-ggplot(Adsorp.DATA,aes(relative.p,ads.vol,shape=type
,color=adsorbent))+
geom_point(size=I(3)) +
labs(x=expression(p/p[0]),y=N[2]~adsorbed~volume~(cc/g)) +
scale_shape(name="Adsorption\nProcedure"
,solid=F
,breaks=c("A","D")
,labels=c("Adsorp.","Deso...