MathGroup Archive 2005

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

Search the Archive

Re: Plotting just specific points

  • To: mathgroup at smc.vnet.net
  • Subject: [mg54078] Re: [mg54043] Plotting just specific points
  • From: Chris Chiasson <chris.chiasson at gmail.com>
  • Date: Thu, 10 Feb 2005 02:46:10 -0500 (EST)
  • References: <200502091427.JAA02654@smc.vnet.net>
  • Reply-to: Chris Chiasson <chris.chiasson at gmail.com>
  • Sender: owner-wri-mathgroup at wolfram.com

Show[Graphics[ReplaceAll[Block[{$DisplayFunction =
       Identity}, 
        First[Graphics[FullGraphics[ListPlot[
            a]]]]], Rule[Point[{x_Integer, 2}], 
          Sequence[Red, Point[{x, 2}], Black]]]]]


On Wed, 9 Feb 2005 09:27:15 -0500 (EST), zak <chocolatez at gmail.com> wrote:
> 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
> 
> 


-- 
Chris Chiasson
Kettering University
Mechanical Engineering
Graduate Student
1 810 265 3161


  • Prev by Date: Re: precision of numbers
  • Next by Date: Re: how to have a blind factorization of a polinomial?
  • Previous by thread: Plotting just specific points
  • Next by thread: Re: Plotting just specific points