|
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
|
|
A seriedade dos acontecimentos da minha época.
Me enche de esperança.
Karl Marx
|
Separation of the Plane in Moulton
%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}
|
Showing: /usr/local/tikz/Moulton/Styles.tikz:
TiKZ Listing: /usr/local/tikz/Moulton/Styles.tikz.tex.
PDF
PNG
SVG
ZIP*
%Styles
\input{/usr/local/tikz/Styles.tikz}
\tikzstyle{Node}=[
tiny,
black
]
\tikzstyle{Line}=[]
\tikzstyle{Normals}=[
color=black,
-Latex,
thick
]
\tikzstyle{Right}=[
color=gray,
draw=black,
opacity=0.1
]
\tikzstyle{Right_Lines}=[
Right,
dashed,
]
\tikzstyle{Right_Cont}=[
color=darkgray,
dotted,
]
\tikzstyle{Left}=[
color=gray,
opacity=0.3
]
\tikzstyle{Left_Lines}=[
Left,
dotted,
very thick,
color=darkgray
]
\tikzstyle{Left_Cont}=[
dashed,
color=darkgray
]
%No projections on moulton line
\tikzstyle{Zero}=[
dashed,
color=gray,
draw=black,
opacity=0.4
]
%Two projections on moulton line
\tikzstyle{Two}=[
dashed,
color=gray,
draw=black,
opacity=0.2
]
\tikzstyle{Projection}=[
tiny,
darkgray,
very thin,
]
\tikzstyle{NoProjection}=[
Projection,
gray
]
|
|
Messages:
0 secs.
|