Hi,

I'm reading some data from a file. The code below plots the all records in a barplot. How can I plot only records 5 to 10?

chldata <- read.table("test3.txt",header=TRUE)
barplot(rev(chldata$chlorophyll),horiz=TRUE,names.arg=rev(chldata$depth))

Thanks in advance,
Pieter
	[[alternative HTML version deleted]]


