[R] plot y1 and y2 on one graph

hadley wickham h.wickham at gmail.com
Thu Feb 28 02:48:41 CET 2008


>  Now I would like to plot y1 and y2 on the same graph, with its two scales
>  (y1 on left and y2 on rigth side).

Before you actually do that, you might want to think about if it's a
good idea or not.  Are you trying to deliberately mislead or confuse
your readers? If so, it's a good idea, otherwise it's probably not.

You might want to read this "blast from the past":
K. W. Haemer. Double scales are dangerous. The American Statistician,
2(3):24–24, 1948.

Hadley

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



More information about the R-help mailing list