On 2010-02-21 12:51, Dimitri Shvorob wrote:

I have a simple barchart with horizontal bars and horizontal tick labels,
produced with

barplot(x, horiz = T, names.arg = c, las = 1)

The labels are longish strings, truncated on the plot. I wish to leave more
space for the left margin, and experiment with mar parameter,

barplot(x, horiz = T, names.arg = c, las = 1, mar = c(5, 15, 4, 2))


par(mar = c(5, 15, 4, 2))
barplot(x, .....)

I always find it best to set my graphics pars first instead of
overloading the plot call (where, as you've discovered, some of
the par settings don't work).

 -Peter Ehlers

trying various values for the second vector element, but do not notice any
change. Consulting this nice tutorial

http://research.stowers-institute.org/efg/R/Graphics/Basics/mar-oma/index.htm

has not helped. Can anyone point me in the right direction?

Thank you.

--
Peter Ehlers
University of Calgary

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to