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

Richard Cotton Richard.Cotton at hsl.gov.uk
Thu Apr 3 12:11:41 CEST 2008




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.


-----
Regards,
Richie.

Mathematical Sciences Unit
HSL
-- 
View this message in context: http://www.nabble.com/Thinking-about-using-two-y-scales-on-your-plot--tp16290293p16467373.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list