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

From: Richard Cotton <>
Date: Thu, 03 Apr 2008 03:11:41 -0700 (PDT)

thegeologician wrote:
> ... very often time-series plots of some values are
> given rather to show the temporal correlation of these, than to show the
> actual numerical values! The same applies for plots of some sample
> values over distance (eg. element concentration over a sample or
> investigation area). In this case one is more interested in whether some
> values change simultaneously, than what the actual values at every point
> are.
> In the mentioned plot (see link below), the temporal evolution of the
> mean temperature and of the precipitation over a year is the important
> information.

If temporal correlation is what you are interested in, then why not plot that? If you also care about the evolution of temperature and precipitation, then these can be plotted on individual graphs, to give three graphs in total, each with a common x-axis (time), and each showing one variable of interest on its y-axis. This way the problems of multiple y-axes are avoided.


Mathematical Sciences Unit

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 03 Apr 2008 - 10:13:48 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 Thu 03 Apr 2008 - 12:30:25 GMT.

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

list of date sections of archive