MathGroup Archive 2005

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

Search the Archive

Re: Plotting just specific points


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