Re: [R] bar plot issues

2011-10-21 Thread Uwe Ligges
On 20.10.2011 22:29, Henri-Paul Indiogine wrote: Hi Uwe! 2011/10/20 Uwe Ligges: arrange it outside by, e.g. increasing the size of margins (see argument "mar" in ?par) and place a separate legend (see ?legend) into the margins (see xps argument in ?par). I could not find 'xps', do you mean

Re: [R] bar plot issues

2011-10-20 Thread Henri-Paul Indiogine
Hi Uwe! 2011/10/20 Uwe Ligges : > arrange it outside by, e.g. increasing the size of margins (see argument > "mar" in ?par) and place a separate legend (see ?legend) into the margins > (see xps argument in ?par). I could not find 'xps', do you mean 'xpd'? This is what I have so far: > par(mar=

Re: [R] bar plot issues

2011-10-20 Thread Henri-Paul Indiogine
Hi Uwe! 2011/10/20 Uwe Ligges : >  names.arg = rep(NA, nrow(file.codes)) Yes, that works beautifully. Danke schoen! Henri-Paul -- Henri-Paul Indiogine Curriculum & Instruction Texas A&M University TutorFind Learning Centre Email: hindiog...@gmail.com Skype: hindiogine Website: http://people

Re: [R] bar plot issues

2011-10-20 Thread Uwe Ligges
On 20.10.2011 18:58, Henri-Paul Indiogine wrote: Hi Uwe! Thanks for the feedback. However, now the graph does not draw the y-axis nor labels and gives the following error message: Error in barplot.default(t(file.codes), beside = FALSE, names.arg = NA, : incorrect number of names nam

Re: [R] bar plot issues

2011-10-20 Thread Henri-Paul Indiogine
Hi Uwe! Thanks for the feedback. However, now the graph does not draw the y-axis nor labels and gives the following error message: Error in barplot.default(t(file.codes), beside = FALSE, names.arg = NA, : incorrect number of names This is the R code now: barplot(t(file.codes), beside = FAL

Re: [R] bar plot issues

2011-10-20 Thread Uwe Ligges
On 20.10.2011 18:03, Henri-Paul Indiogine wrote: Hi! I have 2 problems in drawing a stacked bar plot: (1) This is a stacked bar plot with more than 100 bars next to each other. So there should not be names at the bottom of the bars because the bars are too narrow.I tried arg.names=NULL

[R] bar plot issues

2011-10-20 Thread Henri-Paul Indiogine
Hi! I have 2 problems in drawing a stacked bar plot: (1) This is a stacked bar plot with more than 100 bars next to each other. So there should not be names at the bottom of the bars because the bars are too narrow.I tried arg.names=NULL but that does not work because R uses the row names f