Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

\documentclass{report}‎
‎\usepackage{pgfplots}‎
‎\begin{document}‎
‎\begin{tikzpicture}‎‎
‎\begin{semilogxaxis}
‎\addplot file{ar0.dat};
‎%ar0 is a file with 24 coordinates
‎\end{semilogxaxis}‎
‎\end{tikzpicture}‎
‎\end{document}
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

1 Answer 1

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
2  
@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

 
discard

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.