Dear all,
 
I am trying to make boxplots in one diagram but it is not working. Actually I have a large dataset, around 35 water quality variables with different units and of course in different ranges (some are orders of magnitude bigger than others). I want to produce one diagram with all the boxplots of the variables of my dataset. 
 
I tried these series of commands:
>oldpar <- par(mfrow=c(1,ncol(R)))
> invisible(apply(R, 2,boxplot))
> for (i in 1:ncol(R)) boxplot(R[,i], main=colnames(R)[i])
> par(oldpar)

(where R is the name of my dataset)

The problem is that after the second command, there is an error in plot.new( ): figure margins too large. 

Is there a way to overcome this and put all my variables in a same diagram? I tried with less number of variables, but I had the same warning.

Thank you very much for your time and help.

Kind regards

Maria Lathouri




	[[alternative HTML version deleted]]

