[R] boxplots instead of a scatterplot
Michael Graber
michael_graber at gmx.de
Mon Apr 24 10:40:42 CEST 2006
Dear R list,
I am a newbie to R and programming itself, so my question may be easy to
answer for you.
I wanted to create a scatterplot and i used the following code:
par(mar=c(10, 4.1,4.1,2.1))
plot(q$location,q$points, , las=2, cex.axis=0.5,xlab="", ylab="" )
#location are character strings, there are about 70 locations
#points are numeric, there are more than 4 points for every location
my problem is that this code does not create a simple scatterplot with
location on the x axis and points on the y axis. Instead of this i get
"vertical boxplots" for every location.
Thanks for any hint,
Michael Graber
More information about the R-help
mailing list