MathGroup Archive 2008

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

Search the Archive

Re: Plotting points of the function at increments.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg85731] Re: [mg85699] Plotting points of the function at increments.
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 20 Feb 2008 06:59:54 -0500 (EST)
  • Reply-to: hanlonr at cox.net

f[x_] := x/2 + 5;

Show[{Plot[f[x], {x, -5, 5}],
  Graphics[
   Table[
    Text[Style[x, Large, Red], {i, f[i]}],
    {i, -5, 5}]]}]


Bob Hanlon

---- Lea Rebanks <lrebanks at netvigator.com> wrote: 
> Hi All,
> 
> I am trying to plot the points of this function at increments of 1 :-
> 
> Plot[0.5x+5,{x,-5,5},PlotPoints*10]
> 
> I wish to have an 'X' at each point on the line at f[1], f[2], f[3] . etc
> Hopefully I can adjust the size & colours of the 'X' markers aswell.
> 
> Any advice or help gratefully received.
> 
> Many thanks.
> Best Regards - Lea Rebanks...
> 
> 



  • Prev by Date: Re: Mathematica Book and Documentation
  • Next by Date: Vector file out of Mathematica?
  • Previous by thread: Plotting points of the function at increments.
  • Next by thread: Re: Plotting points of the function at increments.