diff options
author | Karl Berry <karl@freefriends.org> | 2013-04-24 23:03:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-04-24 23:03:45 +0000 |
commit | 5e1a6326b6652f7e6b95fc1aa7a72b00072f21c3 (patch) | |
tree | b2157d19fc28f53f0447f2a3c857ffd37155dd97 /Master/texmf-dist/doc/latex/tikz-bayesnet/model_pca.tex | |
parent | 8dd5331b1c2612522ed62e8557f498650c1114e7 (diff) |
tikz-bayesnet (24apr13)
git-svn-id: svn://tug.org/texlive/trunk@30094 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikz-bayesnet/model_pca.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tikz-bayesnet/model_pca.tex | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tikz-bayesnet/model_pca.tex b/Master/texmf-dist/doc/latex/tikz-bayesnet/model_pca.tex new file mode 100644 index 00000000000..6385827bff2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikz-bayesnet/model_pca.tex @@ -0,0 +1,36 @@ +% model_pca.tex +% +% Copyright (C) 2012 Jaakko Luttinen +% +% This file may be distributed and/or modified +% +% 1. under the LaTeX Project Public License and/or +% 2. under the GNU General Public License. +% +% See the files LICENSE_LPPL and LICENSE_GPL for more details. + +% PCA model + +%\beginpgfgraphicnamed{model-pca} +\begin{tikzpicture} + + % Define nodes + \node[obs] (y) {$y$}; + \node[latent, above=of y, xshift=-1.2cm] (w) {$\mathbf{w}$}; + \node[latent, above=of y, xshift=1.2cm] (x) {$\mathbf{x}$}; + \node[latent, right=2cm of y] (t) {$\tau$}; + + % Connect the nodes + \edge {x,w,t} {y} ; % + + % Plates + \plate {yx} {(x)(y)} {$N$} ; + \plate {} {(w)(y)(yx.north west)(yx.south west)} {$M$} ; + +\end{tikzpicture} +%\endpgfgraphicnamed + +%%% Local Variables: +%%% mode: tex-pdf +%%% TeX-master: "example" +%%% End: |