Dear Ram,
See the "las" argument in ?par.
# Some data
set.seed(123)
x=rpois(100,4)
# Barplots
barplot(table(x),las=1)
barplot(table(x),las=2)
barplot(table(x),las=3)
HTH,
Jorge
On Sat, Dec 6, 2008 at 8:15 AM, ram basnet <[EMAIL PROTECTED]> wrote:
> Dear all,
> I am trying to make barplot fr
from the par help page:
( nr.prof <-
c(prof.pilots=16,lawyers=11,farmers=10,salesmen=9,physicians=9,
mechanics=6,policemen=6,managers=6,engineers=5,teachers=4,
housewives=3,students=3,armed.forces=1))
barplot(rbind(nr.prof)
par(las = 3)
barplot(rbind(nr.prof))
par(las = 0)# reset to
Dear all,
I am trying to make barplot from matrix with "beside=FALSE". I have 165 labels
in my bar plot. When i plot the label horizontally below the barplot, then all
labels are not appear in the plot due to lack of space. I used the following
function:
barplot(t(bar), main="Barplot based on L
3 matches
Mail list logo