|
[Date Index]
[Thread Index]
[Author Index]
RE: Spurious Line
- To: mathgroup at smc.vnet.net
- Subject: [mg75032] RE: [mg75024] Spurious Line
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Sun, 15 Apr 2007 05:03:25 -0400 (EDT)
- References: <200704140512.BAA06301@smc.vnet.net>
Hi Jeff,
> When I run the following I get what is obviously a spurious
> straight line connecting (-100,0) and (300,400*.7). How do I
> get rid of that line?
> {{-100,0},{0,-100},{100,-200*.9},{200,-300*.8},{300,-400*.7},{
-100,0},{0,100
> },{100,200*.9},{200,300*.8},{300,400*.7}}
>
> ListPlot[%, PlotJoined->True]
It's not a spurious line. You told ListPlot to PlotJoined and it did so,
based on the list you provided.
In order to get what you want, as opposed to what you've asked for, you'll
need to partition your list, then use something like MultipleListPlot[]
Needs["Graphics`"]
newlst = {Take[lst, 5], Take[lst, -5]};
MultipleListPlot[newlst]
Regards,
Dave.
Prev by Date:
Re: minimum of a function
Next by Date:
Re: Re: Clean-up code for packages
Previous by thread:
Spurious Line
Next by thread:
Re: Spurious Line
|