This example from p. 476 of the manual
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[scale=.5]
\datavisualization [school book plot,smooth]
data [format=function] {
var x : interval [-2:2];
func y = \value x*\value x;
};
\end{tikzpicture}
\end{document}
Code: Select all
! Undefined control sequence.
l.10 \datavisualization
[school book plot,smooth]
?
Code: Select all
\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture} [scale = 3]
\clip (-0.1, -0.2) rectangle (1.1, 0.75);
\draw (-1.5, 0) -- (1.5, 0);
\draw (0, -1.5) -- (0, 1.5);
\draw (0,0) circle (1cm);
\draw[step = 0.5 cm, gray, very thin] (-1.4, -1.4) grid (1.4, 1.4);
\draw (3mm, 0mm) arc (0:30:3mm);
\end{tikzpicture}
\end{document}
Thank you for any help you can give.
Mark