Message-ID: <4581BCED.5010804@bowdoin.edu>
Date: 2006-12-14T21:06:53Z
From: Steve
Subject: rotated histogram
I guess it's ok; I was wondering why there is no argument to hist that
allows rotation (e.g. rotated=TRUE)
Steve
Marc Schwartz wrote:
> On Thu, 2006-12-14 at 13:53 -0500, steve wrote:
>> I would like to make a scatterplot, with a histogram of the x and y
>> variables above and to the right . I can use layout to set up the
areas,
>> and hist(x,y) works fine for the upper histogram. However, I need a
>> rotated histogram on the right, and I don't know how to do this. I've
>> seen a solution with a bar plot on the right, but I'd like to use a
>> histogram. Do you know how I can do this?
>>
>> Steve
>
> What's wrong with the example in ?layout below the comment:
>
> ##-- Create a scatterplot with marginal histograms -----
>
> ?