You can show the 2 distributions at a given time with a simple plot
without needing to color in the areas.  To show this change over time
you could use the animation package or faceting from the lattice or
ggplot2 packages (depending on how many time periods you have).

On Wed, Jul 16, 2014 at 9:41 AM, Leask, Graham <g.le...@aston.ac.uk> wrote:
> Greg,
>
> I think you encapsulate my dilemma well. I could produce a graph
> using Excel in 5 minutes but they look so boring and lack precision.
>
> A key benefit of R is the ability to produce quality customised graphs.
> I have the books by Tufte and Cleveland and perhaps there is a
> better way to portray these data.
>
> What I’m looking to do is to illustrate how several blocks of data change
> distribution relative to one another over time but in a less boring way.
>
>
> On 16 Jul 2014, at 16:30, Greg Snow <538...@gmail.com> wrote:
>
>> You ask: "Is there a way to produce good quality area graphs in R?"  I
>> would modify that question a little and ask it back as:
>>
>> Is there a way to produce good quality area graphs?
>>
>> Consider the following:
>>
>>> library(fortunes)
>>> fortune(197)
>>
>> If anything, there should be a Law: Thou Shalt Not Even Think Of Producing A
>> Graph That Looks Like Anything From A Spreadsheet.
>>   -- Ted Harding (in a discussion about producing graphics)
>>      R-help (August 2007)
>>
>>>
>>
>> (also possibly fortune(266))
>>
>> And also the books by Tufte and Cleveland.
>>
>> What information are you trying to convey/explore using area graphs?
>> There is probably a better tool or set of tools to use.
>>
>>
>> On Wed, Jul 16, 2014 at 7:51 AM, Leask, Graham <g.le...@aston.ac.uk> wrote:
>>> Area graphs are a commonly used graphic in such software as Excel but I 
>>> have been unable
>>> to find any examples of their use using R.
>>>
>>> Is there a way to produce good quality area graphs in R? If so I would 
>>> greatly appreciate
>>> being directed to the relevant package or a code example.
>>>
>>> Any help will be greatly appreciated
>>>
>>> Graham
>>> ______________________________________________
>>> 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.
>>
>>
>>
>> --
>> Gregory (Greg) L. Snow Ph.D.
>> 538...@gmail.com
>



-- 
Gregory (Greg) L. Snow Ph.D.
538...@gmail.com

______________________________________________
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