Seite 1 von 1

no marks mit pgfplots

Verfasst: Fr 8. Okt 2010, 15:03
von peterplan
Hallo,

ich arbeite mit pgfplots und möchte eine einfache Funktion plotten, aber ohne Knoten an den Punkten!
\begin{tikzpicture}
 \begin{axis}
  \addplot file{foo.dat};
 \end{axis}
\end{tikzpicture}
Wenn ich einen "key" benutze, den er nicht kennt
  \addplot[foo foo] file{foo.dat}; 
gibt er mir den plot ohne Punkte aus, aber das kanns ja nicht sein, weil ich später noch Änderungen wie andere Farbe etc. machen möchte.

Verfasst: Fr 8. Okt 2010, 17:16
von cliffhanger
Hi peterplan,

schonmal
\addplot[no markers]{foo.dat}
versucht?

Grüße
Benedikt

Verfasst: Fr 8. Okt 2010, 17:39
von peterplan
\begin{tikzpicture}
\begin{axis}
		\addplot[no markers]file{foo.dat};
\end{axis}
\end{tikzpicture}
! Package pgfkeys Error: I do not know the key '/tikz/no markers' and I am going to ignore it. Perhaps you misspelled it
Gruß
Jan

Verfasst: Fr 8. Okt 2010, 17:50
von cliffhanger
Kompiliert das
\documentclass{minimal}
\usepackage{tikz}
\usepackage{pgfplots}

\listfiles

\begin{document}
\begin{tikzpicture}
	\begin{axis}
		\addplot[no markers] coordinates {(0,1)(1,1)(2,7)};
	\end{axis}
\end{tikzpicture}
\end{document}
bei dir?

Falls nein, such doch bitte aus der log-Datei mal die Version von pgfplots raus.

Verfasst: Fr 8. Okt 2010, 18:17
von peterplan
Geht auch nicht,

dann liegts wohl an der veralteten Version, danke!
Package: pgfplots 2009/02/14 Version 1.2.2