Using the barplot function in base graphics you just set space=0, but that 
function does not have a box.ratio argument which would imply that you are 
using something else.  If you let us know which function (and which package it 
is in) then it is easier (possible) for us to help you, even better is to give 
the information asked for at the bottom of every post and the posting guide.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Jonathan Greenberg
> Sent: Tuesday, August 24, 2010 8:21 PM
> To: r-help
> Subject: [R] Removing inter-bar spaces in barchart
> 
> Rhelpers:
> 
> I'm trying to make a barchart of a 2-group dataset
> (barchart(x~y,data=data,groups=z,horizontal=FALSE)).  My problem is
> that I can't, for the life of me, seem to get rid of the inter-bar
> space -- box.ratio set to 10000 doesn't do much.  Any ideas?  I'd
> ideally want zero space between the bars.  Thanks!
> 
> --j
> 
> --
> Jonathan A. Greenberg, PhD
> Assistant Project Scientist
> Center for Spatial Technologies and Remote Sensing (CSTARS)
> Department of Land, Air and Water Resources
> University of California, Davis
> One Shields Avenue
> Davis, CA 95616
> Phone: 415-763-5476
> AIM: jgrn307, MSN: jgrn...@hotmail.com, Gchat: jgrn307
> 
> ______________________________________________
> 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.

______________________________________________
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