[R] [newbie] scatterplot with marginal histograms (done) and axes labels

2008-11-07 Thread KarstenW
Hello, I am stuck when I want to add axes labels to my scatterplot with histograms. I guess it must be something with par(mar=) or so, but could someone give me a hint? Here is what I got so far: # adapted from http://www.stat.ucl.ac.be/ISdidactique/comment/fichiers/r/scatterhist.rs and from

Re: [R] [newbie] scatterplot with marginal histograms (done) and axes labels

2008-11-07 Thread KarstenW
Hello, sometimes it helps if I formulate my problem. I tried the following after I posted my previous post. scatterhist=function(x,y, xlab=, ylab=){ #oldpar = par(no.readonly = TRUE) # save default, for resetting... zones=matrix(c(2,0,1,3),ncol=2,byrow=TRUE)