[Tex/LaTex] Draw with latex diagramsdrawtechnical-drawing I am new to latex and I would like to ask, if I could draw the picture below directly with latex ? If yes, could please anyone help me with it ? Best Answer an alternative with tikz: \documentclass[tikz, border=3mm]{standalone} \usetikzlibrary{positioning, shadows, shapes, } \begin{document} \begin{tikzpicture}[ node distance = 0pt, shorten <>/.style = {shorten >=#1, shorten <=#1}, box/.style = {% minimum height=12mm, text width=24mm, align=center, draw, semithick, fill=white, outer sep=0pt, drop shadow},% sum/.style={% circle, draw, fill=white, drop shadow, minimum size=6mm, inner sep=0pt, outer sep=0pt, node contents={\huge$+$}}, A/.style = {single arrow, draw, minimum height=8mm, single arrow head extend=1mm, shape border rotate=#1, fill=white, outer sep=0pt, node contents={}}, ] \node (n1) [A=0,label=left:{$f(x,y)$}]; \node (n2) [box,right=of n1] {Degradation\\ function\\$H$}; \node (n3) [A=0,right=of n2]; \node (n4) [sum,right=of n3]; \node (n5) [A=0,label=right:{$g(x,y)$}, right=of n4]; \node (n6) [A=90,label=right:{$\eta(x,y)$}, below=of n4]; right=of n4, \end{tikzpicture} \end{document} Related Solutions[Tex/LaTex] Filling exterior of a circle A PSTricks solution: \documentclass{article} \usepackage{pstricks} \begin{document} \begin{pspicture}(4,3) \psset{fillstyle = solid} \psframe[fillcolor = orange](0,0)(4,3) \pscircle(2,1.5){1} \pscircle[fillcolor = cyan](2,1.5){0.8} \end{pspicture} \end{document} In case you want the fill color of the ring to be the same as the background color, you can do the following: \documentclass{article} \usepackage{pstricks} \usepackage{pagecolor} \def\bgcolor{green!50} % background color \pagecolor{\bgcolor} \begin{document} \begin{pspicture}(4,3) \psset{fillstyle = solid} \psframe[fillcolor = orange](0,0)(4,3) \pscircle[fillcolor = \bgcolor](2,1.5){1} \pscircle[fillcolor = cyan](2,1.5){0.8} \end{pspicture} \end{document} [Tex/LaTex] How to draw such a network diagram on LaTeX Just for a starting point. \documentclass[margin=3mm]{standalone} \usepackage{tikz} \usetikzlibrary{shapes,positioning} \begin{document} \tikzset{ell/.style={ellipse,draw,minimum height=0.65cm,minimum width=1cm,inner sep=0.25cm}} \begin{tikzpicture}[>=stealth] \node[ell] (e1)at (0,0) {\color{blue}$SOC1$}; \node[ell] (e2)at (5,2) {\color{blue}$SOC2$}; \node[ell] (e4)at (5,5) {\color{blue}$SOC4$}; \node[ell] (e3)at (-5,3) {\color{blue}$SOC3$}; \node[ell] (e5)at (-1,7) {\color{blue}$SOC5$}; \draw [->] (e4) to [out=-20,in=20]node[right]{\color{red}$p^{\phi} (0)$} (e2); \draw [->] (e2) to [out=-20,in=-40,looseness=5]node[right]{\color{red}$p^{\phi} (1)$} (e2); \draw [->] (e2) to [out=-90,in=-30]node[right=2mm]{\color{red}$p^{\phi} (0)$} (e1); \draw [->] (e1) to [out=0,in=240]node[right=2mm]{\color{red}$p^{\phi} (1)$} (e2); \draw [->] (e2) to [out=190,in=-30]node[below]{\color{red}$p^{\phi} (2)$} (e3); \end{tikzpicture} \end{document} Related QuestionTikZ-PGF Diagrams – How to Draw Thales Circle with Marked Angles
Best Answer
an alternative with
tikz
: