Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tikz figures #1088

Merged
merged 1 commit into from
Jul 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added tikz/deep_GP_tikz.pdf
Binary file not shown.
38 changes: 38 additions & 0 deletions tikz/deep_GP_tikz.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
\documentclass[tikz, border=2pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usetikzlibrary{positioning}

% \title{deep_GP_tikz}
% \author{Vishal Ghoniya}
% \date{July 2022}

\begin{document}
% \maketitle
\tikzstyle {hidden}=[circle,dashed, draw=black, minimum size=1cm]
\tikzstyle {latent}=[circle, draw=black, minimum size=1cm]
\tikzstyle {obs}=[circle, draw=black, fill=black!20, minimum size=1cm]
\begin{tikzpicture}[-,>= stealth, node distance=3mm, thick]
\node [obs] at (0,0) (rootobs) {$\textbf X$};
\node [obs, below=3cm of rootobs] (obs_0) {$\textbf x^*$};
\node[latent, right=1cm of rootobs] (hid_1) {$\textbf F_1$} edge[<-] (rootobs);
\node[latent, below=3cm of hid_1] (hid_0) {$\textbf f_1^{*}$}
edge[<-] (obs_0)
edge[<-] (hid_1);
\node [hidden, right=1cm of hid_1] (hidden_1) {$\textbf K_2$} edge[<-] (hid_1);
\node[hidden, below=1cm of hidden_1] (hidden_10) {$\textbf k_2^*$}
edge[<-] (hid_1)
edge[<-] (hid_0);
\node[hidden, below=1cm of hidden_10] (hidden_0) {$k_2^{**}$} edge[<-] (hid_0);

\node [latent, right=1cm of hidden_1] (hid_11) {$\textbf f_2$} edge[<-] (hidden_1);
\node [latent, below=3cm of hid_11] {$f_2^*$}
edge[<-] (hid_11)
edge[<-] (hidden_0)
edge[<-] (hidden_1)
edge[<-] (hidden_10);
\node [obs, right=1cm of hid_11] {$\textbf y$} edge[<-] (hid_11);

\end{tikzpicture}

\end{document}
Binary file added tikz/empirical_cdf_tikz.pdf
Binary file not shown.
31 changes: 31 additions & 0 deletions tikz/empirical_cdf_tikz.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
\documentclass[tikz,border=2pt]{standalone}
\usepackage[utf8]{inputenc}
\usepackage{tikz}
\usepackage{pgfplots}
\usetikzlibrary{positioning}

% \title{empirical_cdf_tikz}
% \author{Vishal Ghoniya}
% \date{July 2022}

\pgfplotsset{compat=1.18}
\begin{document}

% \maketitle
\begin{tikzpicture}[font={\small}]
\begin{axis}[axis line style={opacity=0},
axis lines=left, ytick={0.0,0.2,...,1.0},
ymax=1.1, ymin=-0.1,
xtick={0,1,...,4},
xmax=4.1,
axis background/.style={fill=gray!10},
extra y ticks={0.1,0.5,0.7},
extra y tick labels={{$U^{(1)}$},{$U^{(2)}$},{$U^{(3)}$}}]
\addplot+[const plot, no marks, thick, black] coordinates {(0,0) (1,0.3) (2,0.3) (2,0.8) (3,0.8) (3,0.8) (3,1) (4,1)};
\addplot+[const plot, no marks, dashed, thick, black] coordinates {(0,0.1) (1,0.1)};
\addplot+[const plot, no marks, dashed, thick, black] coordinates {(0,0.7) (2,0.7)};
\addplot+[const plot, no marks, dashed, thick, black] coordinates {(0,0.5) (2,0.5)};
\end{axis}

\end{tikzpicture}
\end{document}