Displaying 1 result from an estimated 1 matches for "fishmany".
Did you mean:
fishman
2009 Jan 09
0
Graph Script/X-axis label Problem
...10). I can't figure out why given that y co-ordinate for the text
function is par("usr")[1] - 0. Shouldn't this mean that it is flush to the
x-axis? Can anyone see what is going wrong?
SCRIPT:
fish<-read.csv(file="C:/Documents and Settings/darej/My
Documents/James/R/fishmany.csv",sep=",",head=T)
x.sp <- split(fish, list(fish$Species, fish$Stock))
for (i in x.sp){
par(mar = c(7, 6, 4, 2) + 0.1)
yaxmax=(max(i$TACC, i$Catch))*1.2
mp <- barplot(i$TACC, xaxt="n",
main=paste(i$Stock[1]),space=0,xlab="",ylab="",ylim=c(0,m...