expand works perfectly, thanks VERY much Ista!
-Seth

----- Original Message -----
From: Ista Zahn 
To:
Cc:
Sent:Thu, 26 Jun 2014 14:35:19 -0400
Subject:Re: [R] decreasing blank space in ggplot2 geom_area

 Hi Seth,

 See the "expand" argument to ?discrete_scale

 Best,
 Ista

 On Thu, Jun 26, 2014 at 7:01 AM, wrote:
 > I wish to shrink the automatically inserted blank space at either
end
 > of the x axis of my area plot, so that the colorful graphic in the
 > center takes up more of the available space. When I use the
 > scale_x_discrete(limits...) command to expand the displayed area,
the
 > graphic shrinks away from the x-axis ticks so that there is still
the
 > same amount of blank space at the edges.
 >
 > An example:
 >
 > df1
 >
 > [[alternative HTML version deleted]]
 >
 > ______________________________________________
 > R-help@r-project.org [1] mailing list
 > https://stat.ethz.ch/mailman/listinfo/r-help [2]
 > PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html [3]
 > and provide commented, minimal, self-contained, reproducible code.


Links:
------
[1] mailto:R-help@r-project.org
[2] https://stat.ethz.ch/mailman/listinfo/r-help
[3] http://www.R-project.org/posting-guide.html


	[[alternative HTML version deleted]]

