Re: [R] Dual axis labeling of a single quantity

From: stephen sefick <ssefick_at_gmail.com>
Date: Tue, 17 Jun 2008 10:48:22 -0400

give use a dummy (or the whole thing if it is not too large) and the code you are using for the boxplot in copy and paste into R format (dput() the data), and it may be easier.

Stephen

On Mon, Jun 16, 2008 at 2:51 PM, Thomas Adams <Thomas.Adams_at_noaa.gov> wrote:

> I have a problem where I need to label the vertical axes of a Boxplot with
> related, but different quantities (flow & height), which have a known
> relationship. Primarily I want to plot the variable as a flow on the left
> axis and on the opposing right axis, show the corresponding height. Is it
> possible to get the flow range (max & min) of the left axis and then supply
> the right axis with that range (corresponding max/min) which will be plotted
> automatically by R? It does not matter if the opposing tick marks exactly
> correspond to the tick mark values on the left side as long as the scale is
> correct (that is the correct corresponding range).
>
> I'm not even sure where to start searching for this…
>
> Regards,
> Tom
>
> --
> Thomas E Adams
> National Weather Service
> Ohio River Forecast Center
> 1901 South State Route 134
> Wilmington, OH 45177
>
> EMAIL: thomas.adams_at_noaa.gov
>
> VOICE: 937-383-0528
> FAX: 937-383-0033
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Let's not spend our time and resources thinking about things that are so
little or so large that all they really do for us is puff us up and make us
feel like gods. We are mammals, and have not exhausted the annoying little
problems of being mammals.

-K. Mullis

	[[alternative HTML version deleted]]


______________________________________________ R-help_at_r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

Received on Tue 17 Jun 2008 - 15:40:43 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 Tue 17 Jun 2008 - 16:30:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive