> PS: If you care to explain: why do all parameters in the code below
> have a "." before the name, except precisely "limits"? I know it has
> to do with "proto", but could not find out why this one was different.
Not really - I started off with the convention that variables should
start with a .
Hi Hadley,
Thanks for the help.
I found the problem. In the code you sent me earlier to correct the
scale_y_continuous, (below) the parameter is "limits", rather than
"limit", as you write it. If I run my code without introducing the
change you sent me, it works, but if I first correct it, th
Hi Hadley,
Well, the problem seems to be that ggplot is not recognizing the
scale when set by scale_y_continuous, the maximum value stays exactly
at the data range, irrespective of what I provide as range.
I am not familiar yet with proto, therefore I do have some difficulty
delving into the co
Hi Pedro,
What's the problem exactly? You'll need to compute the range
yourself, and then use scale_y_continuous as you have below.
(Also you can abbreviate the bar chart plotting command to:
qplot(x, y, data=plotdata, geom="bar", stat="identity"))
Hadley
On 12/11/07, Pedro de Barros <[EMAIL P
Dear All (probably Hadley),
I am now trying to customise some plots using a bar geom.
I do not want to use the default binning statistic, but rather
calculate the bar heigths separately. I do manage this, but for
comparison purposes I would like to have a set of plots all with the
same y-axis
5 matches
Mail list logo