/usr/local/tikz/Common.tikz not found! /usr/local/tikz/Moulton/Calc.Moulton.tikz not found! /usr/local/tikz/Moulton/Styles.tikz not found! /usr/local/tikz/Moulton/Draw.Line.tikz not found! \TiKZPath/Moulton/Draw.ABC.tikz not found! SmtC: Show me the Code!
SmtC: Show me the Code
Ole Peter Smith
Instituto de Matemática e Estatística
Universidade Federal de Goiás
http://www.olesmith.com.br

Moulton
O bem que a violência faz, é - sempre - passageiro.
O mal que ela faz, é permanente.
Mahatma Gandhi
< Ruler | Separation | Angle >

Separation of the Plane in Moulton


TiKZ Listing: Fig.tikz.tex. PDF   PNG   SVG   ZIP*  
%Point A
\tikzmath{\xa=-1;};
\tikzmath{\ya=-1;};

%Point B
\tikzmath{\xb= 1;};
\tikzmath{\yb= 1;};

%Left and right limit for x
\tikzmath{\xleft=-3;};
\tikzmath{\xright= 3;};


\input{/usr/local/tikz/Common.tikz}
\input{/usr/local/tikz/Moulton/Calc.Moulton.tikz}
\input{/usr/local/tikz/Moulton/Styles.tikz}

\tikzmath{\ybottom=\m*\xleft+\k;};
\tikzmath{\ytop= 3;};


\fill
   [color=gray,opacity=0.1]
   (0,\ytop)
   --
   (C)
   --
   (\xleft,\m*\xleft+\k)
   --
   (\xleft,\ytop)
   --
   cycle;

\fill
   [color=gray,opacity=0.3]
   (0,\ytop)
   --
   (C)
   --
   (\xright,0.5*\m*\xright+\k)
   --
   (\xright,\ytop)
   --
   cycle;

\fill
   [color=gray,opacity=0.5]
   (0,\ybottom)
   --
   (C)
   --
   (\xright,0.5*\m*\xright+\k)
   --
   (\xright,\ybottom)
   --
   cycle;

\fill
   [color=gray,opacity=0.7]
   (0,\ybottom)
   --
   (C)
   --
   (\xleft,\m*\xleft+\k)
   --
   (\xleft,\ybottom)
   --
   cycle;

\tikzmath{\xpos=0.5;};
\tikzmath{\ypos=0.65;};

\draw ($(\xpos*\xleft,\ypos*\ytop)$) node []{$A_1$};
\draw ($(\xpos*\xright,\ypos*\ytop)$) node []{$B_1$};

\tikzmath{\xpos=0.25;};
\tikzmath{\ypos=0.75;};
\draw ($(\xpos*\xleft, -\ypos*\ytop)$) node []{$A_2$};
\draw ($(\xpos*\xright,-\ypos*\ytop)$) node []{$B_2$};

\draw [-Latex] (\xleft,0)    -- (\xright,0) node [right] {$x$};
\draw [-Latex] (0,\ybottom)  -- (0,\ytop)   node [above] {$y$};


\input{/usr/local/tikz/Moulton/Draw.Line.tikz}
\input{/usr/local/tikz/Moulton/Draw.ABC.tikz}
< Ruler | Separation | Angle >
Messages:
0 secs.