[R] axis placement with stacked barplots and the asp=1 parameter
Uwe Ligges
ligges at statistik.uni-dortmund.de
Fri Jan 21 12:52:21 CET 2005
Kavithan Siva wrote:
> Hi,
>
> I'm currently using barplot to generate vertically stacked bar charts.
> I'd like to be able to use the "asp=1" parameter with barplot(), but
> doing this causes the y axis to be placed on the far left as shown in
> the attachment demo.pdf.
See the posting guide, some file types (including pdf) will be omitted
from your messages to R-help. You might want to specify a short but
easily reproducible examples in 2-5 lines of code.
Why do you want to use "asp" with a barplot???
Uwe Ligges
> I could get around this by using the negative values for the line
> parameter of the axis() function. I'd rather not do this and imagine I'm
> doing something wrong. Any help would be much appreciated.
>
> Thanks
> Kav
>
> ---
> This e-mail may contain confidential and/or privileged inf...{{dropped}}
More information about the R-help
mailing list