MathGroup Archive 2005

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

Search the Archive

Re: show only very second or third tick


Hi,

data = Table[{x, Sin[x]}, {x, 0, Pi, Pi/2048}];

now we plot all, only every second, eight and 16th 
data point:

ListPlot[First /@ Partition[data, #]] & /@ {1, 2, 
8, 16}

Regards

  Jens

"kristoph" <kristophs.post at web.de> schrieb im 
Newsbeitrag news:diaalj$ibn$1 at smc.vnet.net...
| Is there a way to show only the second, third or 
... tick in a plot,
| chart etc.? I unsed a Range[.] specification to 
label some bars, but
| the data is very fine so the image looks to 
crowed on the x-axes.
| Thanks for help.
| 



  • Prev by Date: Re: show only very second or third tick
  • Next by Date: Re: Skipping Elements in Sum
  • Previous by thread: Re: show only very second or third tick
  • Next by thread: LaTeX commands and graphics