Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: ListPLot for 2 List

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84009] Re: [mg83984] ListPLot for 2 List
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 6 Dec 2007 07:22:23 -0500 (EST)
  • Reply-to: hanlonr at cox.net

z={{100, 1}, {425, 2}, {156, 3}};
s={{235, 1}, {256, 2}, {265, 3}};

In version 5.2

Needs["Graphics`"];

MultipleListPlot[z, s, PlotJoined -> True];

In version 6

ListPlot[{z, s}, Joined -> True]


Bob Hanlon

---- Ary Adilson Morales Alvarado <amorales at lme.usp.br> wrote: 
> Dear friends,
> 
> I'm trying to plot 2 lists with ListPlot, something like that (following a
> mathematica 5.2 help)
> 
> ListPlot[{z,s}]
> 
> where
> 
> z={{100,1},{425,2},{156,3}}
> s={{235,1},{256,2},{265,3}}
> 
> But, I have an error
> \!\(ListPlot::"lpn" \(\(:\)\(\ \)\) "\!\({{{200.`,
>       5.053110000000001`*^-6}, {201.`, \(-5.08005`*^-6\)}, {202.`, \
> 2.58061`*^-6}, {203.`, \(-3.68235`*^-6\)},
> \[LeftSkeleton]3\[RightSkeleton], \
> {207.`, 1.54361`*^-6}, {208.`, 1.76702`*^-6}, {209.`, \
> 3.7100000000000003`*^-7}, \[LeftSkeleton]3091\[RightSkeleton]}, {\
> \[LeftSkeleton]1\[RightSkeleton]}}\) is not a list of numbers or pairs of \
> numbers"\)
> 
> Thanks in advanced,
> 
> Ary
> 
> 
> 
> -- 
> This message was scanned for spam and viruses by BitDefender.
> For more information please visit http://linux.bitdefender.com/
> 
> 



  • Prev by Date: Re: Finding position of an element in a list:
  • Next by Date: Re: Re: Mathematica: Long divison for polynomials
  • Previous by thread: Re: ListPLot for 2 List
  • Next by thread: Re: Derivative of function with indexed variables