Re: [R] Thinking about using two y-scales on your plot?

From: hadley wickham <>
Date: Wed, 02 Apr 2008 14:55:20 -0500

> I've got a series of graphs I generate in R to illustrate backup
> activity. These are scaled, primarily, in bytes. But different
> activities have different costs per byte, and I augment the bytes
> scale with dollars.
> So the blue series corresponds to tbe blue dollars scale (and bytes)
> and the green and red points correspond to the green scale (and
> bytes).
> Am I being naughty?

It's not a question of being naughty or not, it's what tasks you are facilitating with your graphic. In yours, it's very easy to see how the bytes vary, but while you can read of the costs, you can't easily compare the red/green and blue symbols. I think the plot would be more effective as two plots - one with bytes and one with dollars.



______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 02 Apr 2008 - 19:58:53 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 Wed 02 Apr 2008 - 20:31:07 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive