Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: framed plots with two y axes scales

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80320] Re: framed plots with two y axes scales
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Fri, 17 Aug 2007 01:54:51 -0400 (EDT)

On 8/16/07 at 4:50 AM, chris.chiasson at gmail.com (Chris  Chiasson)
wrote:

>On Aug 12, 6:38 am, Bill Rowe <readnews... at sbcglobal.net> wrote:

>>Your code seems overly complex to me. The following seems much less
>>complex to me and looks like it does what you want

>>Plot[1/2 (20 t - 9.80665 t^2), {t, 0, 2}, Frame -> True, FrameLabel
>>-> {"t(s)", "h(m)", "", "h(ft)"}, FrameTicks -> {Automatic,
>>Automatic, None, {.3048 #, #} & /@ Range[0, 16, 2]}] -- To reply
>>via email subtract one hundred and four

>The difference is that you manually specified where the tick marks
>went while mine are automatically extracted from the graphic (which
>I am sure you realize).

Yes. Doing things this way has the advantage that the numbering
for the second axis will be nice numbers. This will not be true
of your solution in general without quite a bit more coding.
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Completely frivolous use of new v6 Mathematica commands
  • Next by Date: Re: Using debugger in Mathematica 6 ?
  • Previous by thread: Re: framed plots with two y axes scales
  • Next by thread: Failure to convert certain symbols to InputForm when using when using AutoGeneratedPackage->True