Re: Joining points of ListPlot
- To: mathgroup at smc.vnet.net
- Subject: [mg117279] Re: Joining points of ListPlot
- From: David Annetts <david.annetts at iinet.net.au>
- Date: Mon, 14 Mar 2011 05:57:01 -0500 (EST)
Hi Antonio, I don't understand. With[{ slst = Sin[2 \[Pi] #/32] & /@ Range[64], clst = Cos[2 \[Pi] #/32] & /@ Range[64]}, ListPlot[{slst, clst}, PlotStyle -> {Red, Green}, Joined -> True] ] works as expected -- two plots, each with appropriate points joined. What did you try? D On 13/03/2011 18:25, Antonio Mezzacapo wrote: > Hi, > here's my problem: > > I have an array of data depicting two crossing functions (let's say like > Sin[x] and Cos[x]). How can I arrange them and make a joined points plot, > that joins only points belonging to the same function? > I remember you that the points of the two crossing functions are on the same > array and they are non-ordered. > > Thank you > > Antonio Mezzacapo >