Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

multiple list plot and frameticks

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45427] multiple list plot and frameticks
  • From: Nathan Moore <nmoore at physics.umn.edu>
  • Date: Wed, 7 Jan 2004 01:09:24 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I'd like to use multiple list plot and frame ticks to generate a plot 
of log-linear data (I'm aware that LogLinearListPlot would be easier 
but that doesn't allow for plot-markers (box, triangle, star etc).

At present I'm doing the following, data set

flist = Table[{p, 4.Exp[-5. p]}, {p, 1, 15, 2}]

then I can make a simple plot with

  << Graphics`Graphics`
LinearLogListPlot[flist]

But I want to plot this with other data in a B&W paper, so I need to 
use Multiple List Plot,

  << Graphics`MultipleListPlot`

dx=Transpose[flist][[1]]
dy=Transpose[flist][[2]]

MultipleListPlot[
	Transpose[{dx,Log[dy]}],
	SymbolShape -> {PlotSymbol[Box, 2]},
	Axes->False,
	Frame->True
];

The hang-up is that the axes are funny.  I could use FrameTicks and 
LogScale/LinearScale to specify ticks, but if I do so, I see that in 
both cases LogScale and Linear Scale generate a 2-d set of axis that 
FrameTicks won't accept

LinearScale[ dx[[1]], dx[[-1]] ]
LogScale[ dy[[1]], dy[[-1]] ]

So, do I have to generate my frame ticks by hand, or is there a clever 
way to generate axes of different scale.

NT Moore
U of Minnesota Physics


  • Prev by Date: Re: Mathematica exports curves in pieces to Illustrator
  • Next by Date: Re: Mathematica exports curves in pieces to Illustrator
  • Previous by thread: Quantum algebra package
  • Next by thread: RE: multiple list plot and frameticks