Re: MultipleListPlot and Log-List plots
- To: mathgroup at smc.vnet.net
- Subject: [mg57273] Re: [mg57254] MultipleListPlot and Log-List plots
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Mon, 23 May 2005 02:20:41 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Needs["Graphics`"]; data={ {{0.,1},ErrorBar[{0.,0.}]}, {{0.13,0.899147},ErrorBar[{-0.0158522,0.0158522}]}, {{0.37,0.585022},ErrorBar[{-0.0403446,0.0403446}]}, {{0.7,0.391931},ErrorBar[{-0.0720489,0.0720489}]}, {{1.11,0.319891},ErrorBar[{-0.0331414,0.0331414}]}, {{3.07,0.0951042},ErrorBar[{-0.0216138,0.0216138}]}, {{5.97,0.0720401},ErrorBar[{-0.0100861,0.0100861}]}, {{22.24,0.0461106},ErrorBar[{-0.0158478,0.0158478}]} }; MultipleListPlot[ Rest[data]/.{{x_,y_},eb_}:>{{Log[10,x],y},eb}, Frame->True,Axes->False,ImageSize->400, FrameTicks->{LogScale,Automatic}]; Bob Hanlon > > From: "Carabe - Fernandez, Alejandro" <a.carabe at imperial.ac.uk> To: mathgroup at smc.vnet.net > Date: 2005/05/22 Sun AM 12:14:20 EDT > Subject: [mg57273] [mg57254] MultipleListPlot and Log-List plots > > > Hi, > this is the only support address I find in the Wolfram webpage. If I > need to redirect this question to someone else, please let me know. > Here is the question: > I want to plot the following data set on a Log-Linear format: > > { > {{0., 1}, ErrorBar[{0., 0.}]}, > {{0.13, 0.899147}, ErrorBar[{-0.0158522, 0.0158522}]}, > {{0.37, 0.585022}, ErrorBar[{-0.0403446, 0.0403446}]}, > {{0.7, 0.391931}, ErrorBar[{-0.0720489, 0.0720489}]}, > {{1.11, 0.319891}, ErrorBar[{-0.0331414, 0.0331414}]}, > {{3.07, 0.0951042}, ErrorBar[{-0.0216138, 0.0216138}]}, > {{5.97, 0.0720401}, ErrorBar[{-0.0100861, 0.0100861}]}, > {{22.24, 0.0461106}, ErrorBar[{-0.0158478, 0.0158478}]} > } > > I know I have to use MultipleListPlot to plot this, but the problem is > that Mathematica will return a Linear-Linear plot rather than a > Log-Linear plot. By the way, I am using Mathematica 4.1. > > Thanks for your help, > A.Carabe > > >