Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2007

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

Search the Archive

Re: Using ListPlot to Plot Lines and Single Points

  • To: mathgroup at smc.vnet.net
  • Subject: [mg83621] Re: [mg83596] Using ListPlot to Plot Lines and Single Points
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Sun, 25 Nov 2007 04:33:47 -0500 (EST)
  • References: <20071124101411.H4BMH.125254.root@eastrmwml23.mgt.cox.net>

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.

	Gregory

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



  • 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