[R] Multiple plots
Matej Cepl
matej at ceplovi.cz
Wed Oct 9 23:25:09 CEST 2002
Hi,
I would love to make multiple histograms transposed one on another
in order to show relation between the sets. I tried to write
a function like this, but R tells me, that I cannot use add=FALSE in
high-level commands. That's nice but I am supposed to do?
rm(list=ls())
# what's wrong with underscore?
#getwd("/home/matej/docs/skola/stat\_anal-cj3534/assign01/")
load("assign01.RData")
postscript("assign01.eps",onefile=FALSE)
plot(itg$WFemale,xlab="Number of victims",\
ylab="Frequencies",col="blue",main="Intimate Homicide\
Victims",type="l")
plot(itg$WMale,add=FALSE,axes=FALSE,col="red",type="l")
quit(save="no")
Please, be patient with me, I am really newbie, and although it is
probably pretty stupid question, I was not able to find an answer in
all documentation (moreover, R for Beginners says, that add is OK
for every graph).
Thanks for any hint,
Matej Cepl
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list