MathGroup Archive 2009

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

Search the Archive

Re: Plot Axis Unit Conversions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98883] Re: [mg98820] Plot Axis Unit Conversions
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Mon, 20 Apr 2009 19:13:47 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Plot[x, {x, 0, 0.1},
 Frame -> True,
 FrameLabel -> {"chord length (m)",
   "flutter speed (m/s)", "chord length (in)", None},
 FrameTicks -> {Automatic, Automatic,
   Join[Table[{254 n/10000, n, {0.016, 0.},
      {GrayLevel[0.], AbsoluteThickness[0.25]}},
     {i, 0, n}],
    Table[{254 n/100000, , {0.01375, 0.}, 
      {GrayLevel[0.], AbsoluteThickness[0.125]}},
     {n, 0, 40, 5}],
    Table[{254 n/100000, , {0.008, 0.}, 
      {GrayLevel[0.], AbsoluteThickness[0.125]}},
     {n, 0, 40}]],
   Automatic}, 
 Axes -> False]


Bob Hanlon

---- unknownowen at gmail.com wrote: 

=============
Hello everyone,

I am working on a notebook involving a flutter analysis of a flat
plate in a wind tunnel. All of the equations involve metric units, but
most of the physical measurements of size I have are in inches. In
order to maintain a consistent system of units, I would like to plot
the axis units in metric and English units. Specifically, I have a
plot for the critical flutter speed in units of m/s versus the chord
length in meters, and I want to overlay an x-axis, possibly on the
top, that will display the equivalent length in inches (i.e,
xinches=x*10000/254) without messing up the graph. At the very least,
I would like to display it in centimeters instead of meters for better
clarity. I do NOT want to recalculate the function using inches - just
display the conversion. It would be nice if I could display it in both
inches and centimeters at the same time.

This is an absolute breeze to do in another system, but I haven't been
able to find anything specifically dealing with scaling of axes for
Mathematica. Anyone have any ideas?

Thanks very kindly!




  • Prev by Date: Help with Speeding up a For loop
  • Next by Date: Re: representing the dihedral group {1,r,r^2...s,sr^2...}
  • Previous by thread: Re: Plot Axis Unit Conversions
  • Next by thread: Re: Plot Axis Unit Conversions