MathGroup Archive 2010

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

Search the Archive

Re: ListPlot with two horizontal axes

  • To: mathgroup at
  • Subject: [mg109120] Re: ListPlot with two horizontal axes
  • From: "David Park" <djmpark at>
  • Date: Mon, 19 Apr 2010 04:06:42 -0400 (EDT)

You could use a Frame plot (Frame -> True) instead of an Axes plot and then
use the FrameTicks option to specify special ticks for the top of the Frame.
This requires a bit of detailed work if you want both major and minor ticks.

You could use the Presentations package, which has a CustomTicks function
that makes it easy to specify major and minor ticks with any 1-1 mapping to
the underlying plot coordinate. Or, again with Presentations, you could
dispense with the regular labeled axes and use XTickScale and YTickScale to
construct your own free standing scales. That way you might obtain two
XTickScales that were adjacent to each other.

David Park
djmpark at  

From: EliL [mailto:elansey at] 

I have data I would like to plot with two horizontal axes.  I.e.
signal magnitude as a function of wavelength and frequency.  Is there
a way to label the horizontal axis with two scales? (Note, freq is
inversely proportional to wavelength.)

  • Prev by Date: Re: Bug in Sum?
  • Next by Date: Re: How to make style sheet with header
  • Previous by thread: Re: ListPlot with two horizontal axes
  • Next by thread: 3D interpolating