[Date Index] [Thread Index] [Author Index]
Re: ListPlot with two horizontal axes
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 comcast.net http://home.comcast.net/~djmpark/ From: EliL [mailto:elansey at gmail.com] 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.) Thanks! Eli.