Re: [R] ggplot questions

From: hadley wickham <h.wickham_at_gmail.com>
Date: Fri, 06 Jun 2008 13:06:22 -0500

> Does the difference have something to do with ggplot() using ranges
> derived from the data?
> When I modify my original 'test' dataframe with two extra rows as
> defined below, I get expected results in both versions.

Order shouldn't matter - and if it's making a difference, that's a bug. But I'm still not completely sure what you're expecting.

> This highlights my next question (warned you ;-) ), I have been
> unsuccessful in trying to define fixed plotting ranges to generate a
> 'template' graphic that I may reuse with successive 'overstory plot'
> data sets. I have used '+ xlim(0, 360) + ylim(0, 16)' but, this seems to
> not have any effect on the final plot layout.

Could you please produce a small reproducible example that demonstrates this? It may well be a bug.

Hadley

-- 
http://had.co.nz/

______________________________________________
R-help_at_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.
Received on Fri 06 Jun 2008 - 18:10:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 06 Jun 2008 - 20:31:40 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive