TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to skip some of markers, but not skip Coordinates. For example if we have 24 Coordinates I dont need 24 marker, I need 12 marker with 24 Coordinates.
How can I do it?

‎\addplot file{ar0.dat};
‎%ar0 is a file with 24 coordinates
share|improve this question
Probably best to provide ar0.dat in your question to give people something to play with – cmhughes Mar 14 '12 at 21:04

The key mark repeat=<each nth> allows to draw marks only at each nth position.

You could use it by means of

\addplot+[mark repeat=2] .... ;

in your example.

share|improve this answer
@sayros the best way to say thanks is to upvote, and accept the answer by clicking on the green check mark – cmhughes Mar 15 '12 at 0:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.