1

The following code

\documentclass{standalone}

\usepackage{tikz}
\usetikzlibrary{decorations.fractals}
\usepackage{pgfplots}

\begin{document}

\begin{tikzpicture}[scale=3,decoration=Koch snowflake]
\draw decorate{ (0,0) -- (3,0) };
\draw decorate{ decorate{ (0,-1) -- (3,-1) }};
\draw decorate{ decorate{ decorate{ (0,-2) -- (3,-2) }}};
\draw decorate{ decorate{ decorate{ decorate{ (0,-3) -- (3,-3) }}}};
\end{tikzpicture}

\end{document}

Gives me the following picture:

enter image description here

To emphasize the initiator and I'd like the first figure to be a straight line, like on this picture:

enter image description here
(source: vanderbilt.edu)

The problem is that I don't quite understand what the numbers { (0,0) -- (3,0) } mean, and being new to TeX, I also don't know where to look it up.

6
  • Cartesian coordinates of points.
    – Sigur
    Commented Jul 28, 2014 at 22:51
  • 5
    \draw (0,1) -- (3,1);?
    – Sigur
    Commented Jul 28, 2014 at 22:54
  • 1
    @Leo, in case you were just reading the literally first page of the PGF/TikZ documentation, I really recommend reading through the first tutorial, and everything will be very clear.
    – Turion
    Commented Jul 30, 2014 at 14:58
  • @Sigur an answer maybe?
    – percusse
    Commented Jul 30, 2014 at 20:55
  • 4
    I'm voting to close this question as off-topic because it was solved by comments.
    – Mensch
    Commented Oct 9, 2016 at 15:04

0

Browse other questions tagged .