-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from SimonEnsemble/update_to_makie
Update to makie
- Loading branch information
Showing
13 changed files
with
414 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
\documentclass{standalone} % run wit shell escape | ||
|
||
\usepackage{tikz} | ||
\usetikzlibrary{arrows} | ||
\usepackage{verbatim} | ||
|
||
\usepackage{tikz} | ||
\usepackage{color} | ||
\definecolor{honeydew}{rgb}{0.94, 1.0, 0.94} | ||
\definecolor{ivory}{rgb}{1.0, 1.0, 0.94} | ||
|
||
|
||
\usetikzlibrary{shapes,arrows} | ||
\begin{document} | ||
|
||
|
||
\tikzstyle{block} = [draw, fill=honeydew!70, rectangle, line width=0.5mm, | ||
minimum height=3em, minimum width=5em] | ||
\tikzstyle{sum} = [draw, fill=ivory!20, circle, node distance=1cm, line width=0.5mm] | ||
\tikzstyle{input} = [coordinate] | ||
\tikzstyle{output} = [coordinate] | ||
\tikzstyle{pinstyle} = [pin edge={to-,thick,black}] | ||
|
||
\tikzset{ | ||
circ/.style={draw, circle, fill=ivory!70} | ||
} | ||
|
||
|
||
% The block diagram code is probably more verbose than necessary | ||
\begin{tikzpicture}[auto, node distance=1cm,>=latex'] | ||
\node [block, node distance=3cm, label=closed loop process] (Gol) {$g_{ol}(s)$}; | ||
\node [circ, , line width=0.5mm, label={[label distance=-4.75mm]270:$-$},label={[label distance=-4.75mm]180:$+$}, minimum size=8mm, left of=Gol, node distance=2.5cm] (comparator) {}; | ||
\node [input, node distance=2cm, left of=comparator] (Ysp) {}; | ||
% \node [sum, right of=process, node distance=2.5cm] (sum) {}; | ||
% \node [block, right of=controller, pin={[pinstyle]above:D}, | ||
% node distance=3cm] (system) {System}; | ||
\node [output, name=output, right of=Gol, node distance=2.0cm] {}; | ||
\node [below of=comparator, node distance=1.5cm] (ptbelow) {}; | ||
|
||
% \draw [->] (input) -- node[name=u] {$u$} (system); | ||
% \node [output, right of=system] (output) {}; | ||
% | ||
% \draw [draw,->] (input) -- system {$r$} (sum); | ||
\draw [->, line width=0.5mm] (Gol) -- node[name=y] {$Y_m(s)$} (output); | ||
\draw [->, line width=0.5mm] (comparator) -- node {$E(s)$} (Gol); | ||
\draw [->, line width=0.5mm] (Ysp) -- node {$Y_{sp}(s)$} (comparator); | ||
|
||
\draw [-, line width=0.5mm] (y) |- (ptbelow); | ||
\draw [->, line width=0.5mm] (ptbelow) -| (comparator); | ||
% \draw [->] (system) -- node [name=y] {$y$}(output); | ||
\end{tikzpicture} | ||
|
||
\end{document} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
\documentclass{standalone} % run wit shell escape | ||
|
||
\usepackage{tikz} | ||
\usetikzlibrary{arrows} | ||
\usepackage{verbatim} | ||
\usepackage{amsmath} | ||
|
||
\usepackage{tikz} | ||
\usepackage{color} | ||
\definecolor{honeydew}{rgb}{0.94, 1.0, 0.94} | ||
\definecolor{ivory}{rgb}{1.0, 1.0, 0.94} | ||
\usetikzlibrary{shapes,arrows} | ||
\tikzstyle{block} = [draw, fill=honeydew!70, rectangle, line width=0.5mm, | ||
minimum height=3em, minimum width=5em] | ||
\tikzstyle{sum} = [draw, fill=ivory!20, circle, node distance=1cm, line width=0.5mm] | ||
\tikzstyle{input} = [coordinate] | ||
\tikzstyle{output} = [coordinate] | ||
\tikzstyle{pinstyle} = [pin edge={to-,thick,black}] | ||
|
||
\tikzset{ | ||
circ/.style={draw, circle, fill=ivory!70} | ||
} | ||
|
||
|
||
\begin{document} | ||
% The block diagram code is probably more verbose than necessary | ||
\begin{tikzpicture}[auto, node distance=1cm,>=latex'] | ||
\node [block, node distance=1.75cm, label=process] (g) {$\dfrac{4}{4s^2+0.8s+1}$}; | ||
\node [input, node distance=2.25cm, left of=g] (U) {}; | ||
\node [output, name=output, right of=g, node distance=2.25cm] {$Y(s)$}; | ||
|
||
\draw [->, line width=0.5mm] (U) -- node {$U(s)$} (g); | ||
\draw [->, line width=0.5mm] (g) -- node {$Y(s)$} (output); | ||
\end{tikzpicture} | ||
|
||
\end{document} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
c361b09
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
c361b09
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/53403
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via: