Überarbeitungsverlauf[Zurück]
Klicke auf Einblenden/Ausblenden von Überarbeitungen 3
Beispiel lauffähig gemacht

08 Jun '16, 08:33

saputello's gravatar image

saputello
11.1k174365

Subfigure erstellen mit tikzpicture?

Ich habe 3 Abbildungen mit `tikzpicture` erstellt, 3 kleine elektrische Ersatzschaltbilder, welche ich gerne nebeneinander hätte. Das ist mein Code: \documentclass[12pt, bibliography=totocnumbered]{scrartcl} \usepackage{caption} \usepackage{subcaption} \usepackage{pgfplots} \usepackage{siunitx,tikz} \usetikzlibrary{circuits.ee.IEC} \begin{document} \begin{figure}[H] \begin{figure}%[H] \centering \begin{subfigure}{0.3\textwidth} \begin{tikzpicture}[circuit ee IEC] \draw (0,0) to [resistor={info=\SI{100}{\ohm}}] (3,0); \end{tikzpicture} \end{subfigure} \begin{subfigure}{0.3\textwidth} \begin{tikzpicture}[circuit ee IEC] \draw (1,0) to [resistor={info=\SI{100}{\ohm}}] (4,0) (1,2) to [capacitor={info=\SI{1}{\milli\farad}}] (4,2) (1,1) node[contact] {} (4,1) node[contact] {} (1,2) -- (1,0) (4,2) -- (4,0) (1,0) -- (1,1) (4,1) -- (5,1) (0,1) -- (1,1); \end{tikzpicture} \end{subfigure} \begin{subfigure}{0.3\textwidth} \begin{tikzpicture}[circuit ee IEC] \draw (0,1) to [resistor={info=\SI{100}{\ohm}}] (3,1) node[contact] {} -- (3,2) to [capacitor={info=\SI{1}{\milli\farad}}] (6,2) -- (6,1) (3,1) -- (3,0) to [resistor={info=$R_{anode}$}] (6,0) -- (6,1) (6,1) node[contact] {} (6,1) -- (7,1); \end{tikzpicture} \end{subfigure} \caption{equivalent circuit diagrams of used dummies} \label{esbdummies} \end{figure} \end{document} Eigentlich unwichtig, was ich da gemacht hab, geht nur ums Prinzip. Ist es prinzipiell möglich ohne `\includegraphic` `subfigure`s zu machen, z. B. wenn man ein selbst gemachtes Diagramm mit `\pgfplots` als `figure` nimmt? Ich müsste evtl die Größe der Figures anpassen, geht das, wenn ja: wie?
Klicke auf Einblenden/Ausblenden von Überarbeitungen 2
Markdown + Tippfehler

08 Jun '16, 07:40

saputello's gravatar image

saputello
11.1k174365

Subfigure erstellen mit tikzpicture?

Grüzi! Ich habe 3 figures Abbildungen mit tikzpicture `tikzpicture` erstellt, 3 kleine elektrische Ersatzschalbilder, Ersatzschaltbilder, welche ich gerne nebeneinander hätte. Das ist mein code: Code: \documentclass[12pt, bibliography=totocnumbered]{scrartcl} \usepackage{caption} \usepackage{subcaption} \usepackage{pgfplots} \usepackage{siunitx,tikz} \usetikzlibrary{circuits.ee.IEC} \begin{document} \begin{figure}[H] \centering \begin{subfigure}{0.3\textwidth} \begin{tikzpicture}[circuit ee IEC] \draw (0,0) to [resistor={info=\SI{100}{\ohm}}] (3,0); \end{tikzpicture} \end{subfigure} \begin{subfigure}{0.3\textwidth} \begin{tikzpicture}[circuit ee IEC] \draw (1,0) to [resistor={info=\SI{100}{\ohm}}] (4,0) (1,2) to [capacitor={info=\SI{1}{\milli\farad}}] (4,2) (1,1) node[contact] {} (4,1) node[contact] {} (1,2) -- (1,0) (4,2) -- (4,0) (1,0) -- (1,1) (4,1) -- (5,1) (0,1) -- (1,1); \end{tikzpicture} \end{subfigure} \begin{subfigure}{0.3\textwidth} \begin{tikzpicture}[circuit ee IEC] \draw (0,1) to [resistor={info=\SI{100}{\ohm}}] (3,1) node[contact] {} -- (3,2) to [capacitor={info=\SI{1}{\milli\farad}}] (6,2) -- (6,1) (3,1) -- (3,0) to [resistor={info=$R_{anode}$}] (6,0) -- (6,1) (6,1) node[contact] {} (6,1) -- (7,1); \end{tikzpicture} \end{subfigure} \caption{equivalent circuit diagrams of used dummies} \label{esbdummies} \end{figure} Eigentlich unwichtig, was ich da gemacht hab, geht nur ums Prinzip. Ist es prinzipiell möglich ohne \includegraphic subfigures `\includegraphic` `subfigure`s zu machen, zB z. B. wenn man ein selbst gemachtes Diagramm mit \pgfplots `\pgfplots` als figure `figure` nimmt? ich Ich müsste evtl die Größe der Figures anpassen, geht das, wenn ja: wie? :) LGwie?
Klicke auf Einblenden/Ausblenden von Überarbeitungen 1

08 Jun '16, 01:12

Jackhaeften's gravatar image

Jackhaeften
56238