MathGroup Archive 2007

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

Search the Archive

Re: Using ListPlot to Plot Lines and Single Points

Thank you Bob and Jean-Marc,

For some reason, I was under the mistaken impression that the Epilog  
option was only available for Plot and not ListPlot.  This will do the  
trick nicely.


On Sat, Nov 24, 2007, at 10:14 AM, Bob Hanlon wrote:

> {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> 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

  • Prev by Date: Re: Change Font?
  • Next by Date: Re: Discrepancy between Integrate and NIntegrate
  • Previous by thread: Re: Using ListPlot to Plot Lines and Single Points
  • Next by thread: Re: Coloring cells