Re: Using ListPlot to Plot Lines and Single Points
- To: mathgroup at smc.vnet.net
- Subject: [mg83619] Re: [mg83596] Using ListPlot to Plot Lines and Single Points
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Sun, 25 Nov 2007 04:32:43 -0500 (EST)
- Reply-to: hanlonr at cox.net
{firstList, secondList, thirdList} =
Table[{x, x^k}, {k, 1, 3}, {x, 0, 3/2, 2^-k}];
aPoint = Last[Intersection[firstList, secondList]];
ListPlot[{firstList, secondList, thirdList},
Joined -> True, Epilog -> {Red, AbsolutePointSize[5], Point[aPoint]}]
Bob Hanlon
---- Gregory Lypny <gregory.lypny at videotron.ca> wrote:
> Hello everyone,
>
> I'm trying to use ListPlot to plot three lists as joined observations
> and a single point. The single point that I want plotted separately
> is one observation from one of the lists, and I simply want it to
> stand out by being plotted as a dot or square.
>
> I tried the following.
>
> ListPlot[{firstList, secondList, thirdList, aPoint}, Joined -> {True,
> True, True, False}]
>
> I get the free smooth curves that I want, but not the single point.
> Any suggestions would be most appreciated.
>
> Regards,
>
> Gregory
>