Re: Plotting just specific points

• To: mathgroup at smc.vnet.net
• Subject: [mg54079] Re: Plotting just specific points
• From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
• Date: Thu, 10 Feb 2005 02:46:11 -0500 (EST)
• Organization: Uni Leipzig
• References: <cud6ss\$2r7\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Hi,

you can't do this with ListPlot[] but Graphics can do it

Show[Graphics[
If[Last[#] == 2,
Text["\[HappySmiley]", #,
TextStyle -> {FontSize -> 22, FontWeight -> "Bold"}],
Point[#]] & /@ MapIndexed[{#2[[1]], #1} &, a], Frame -> True
]]

Regards

Jens

"zak" <chocolatez at gmail.com> schrieb im Newsbeitrag
news:cud6ss\$2r7\$1 at smc.vnet.net...
> if i have the list:
> a={5,1,2,2,6,7,2,2,8,2}
> and in the ListPlot[a]  i want to show only the points wich represent
> only the "2" while preserving the positions of the "2" in the list, so
> i could focus my attention to a specific wanted values, how could i do
> that
> or even better if it is possible to plot the whole values of
> ListPlot[a] while making the points "2" in red color as an example.
> thanks
> zak
>

```

• Prev by Date: Re: precision of numbers
• Next by Date: Newbie question Re: C# and Mathematica via NETLink
• Previous by thread: Re: Plotting just specific points
• Next by thread: Re: Plotting just specific points