MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: double labelled y axis in graphs

  • To: mathgroup at smc.vnet.net
  • Subject: [mg21260] Re: [mg21218] double labelled y axis in graphs
  • From: BobHanlon at aol.com
  • Date: Mon, 20 Dec 1999 02:28:22 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Try something like this.

Since  F = 9/5 C + 32  then a change of 10 degrees C will correspond to 
a change of 18 degrees F.

temp[t_] := 20t(1 - t/24) + 20

Plot[temp[t], {t, 0, 24}, Frame -> True, 
    FrameTicks -> {Automatic, Automatic, Automatic, 
        Join[Table[{f, ""}, {f, 14, 140, 9}], 
          Table[{f, 5(f - 32)/9}, {f, 14, 140, 18}]]}, 
    FrameLabel -> {"time", "temp (F)", None, "temp (C)"}, 
    ImageSize -> {420, 260}, PlotStyle -> RGBColor[1, 0, 0]];

Bob Hanlon

In a message dated 12/17/1999 2:37:56 AM, nospamme at nonet.net writes:

>Does anyone know of a way to put 2 y axes on 1 graph. I need to present
>data
>on the y axis and refer to it with 2 equivalent scales.. i.e. degrees F
>and
>degrees C for example.
>
>I could have 2 y axes .. 1 on each side of the graph labelled appropriately,
>or have 2 scales on a single y axis on the left side of the graph.
>


  • Prev by Date: Re: serie of random number
  • Next by Date: Re: Graphics3D[] objects clipping & PlotRange
  • Previous by thread: Re: double labelled y axis in graphs
  • Next by thread: Re: double labelled y axis in graphs