Graphics, Figures & Tablespgfplots | Mark not every Plot Point

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
michel_
Posts: 1
Joined: Fri Feb 10, 2012 11:48 am

pgfplots | Mark not every Plot Point

Post by michel_ »

Hello everyone,

I want to show the "*" mark of a diagram only on every 10th element and not on each one because I have too much elements.

Code: Select all

\addplot [color=blue,mark=*, style=] table[x=Iter, y=f_x] {f_x.csv};
How could I realize this?

Another Question: I want to plot 4 curves onto one x,y graph. Each has a different amount of y entries. I want to limit the y-axes on a special amount but tikzpicture scales the diagram automatically on the size of the largest data row in one of the CSV file.

Sorry for my bad English, I hope it's enough to make my problem clear.


Thanks in advance,
Michael

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

Post Reply