User Tools

Site Tools


latex:example_control_region

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
latex:example_control_region [2017/06/07 19:45] iwnlatex:example_control_region [2021/09/18 17:17] (current) iwn
Line 1: Line 1:
 Example of drawing control regions with LaTeX using the TikZ package. Example of drawing control regions with LaTeX using the TikZ package.
 +For more related figures, please visit https://tikz.net/tag/categorization/.
  
-<WRAP group><WRAP half column 40%>+<WRAP group><WRAP half column 55%>
 {{ latex: control_region_isolation.png ? 250 }} {{ latex: control_region_isolation.png ? 250 }}
-</WRAP><WRAP half column 40%>+</WRAP><WRAP half column 25%>
 \\ \\
 {{ latex: control_region_OS_SS.png ? 200 }} {{ latex: control_region_OS_SS.png ? 200 }}
Line 14: Line 15:
 \usepackage{amsmath} % for \text \usepackage{amsmath} % for \text
 \usepackage{tikz} \usepackage{tikz}
-\usepackage{tikz-3dplot} 
 \tikzset{>=latex} % for LaTeX arrow head \tikzset{>=latex} % for LaTeX arrow head
 \definecolor{mylightred}{RGB}{255,200,200} \definecolor{mylightred}{RGB}{255,200,200}
Line 29: Line 29:
  
  
 +% CONTROL REGION: isolation
 \begin{tikzpicture}[scale=6] \begin{tikzpicture}[scale=6]
  
Line 43: Line 44:
 \draw[->,thick] \draw[->,thick]
   (0,0) -- (\isomax,0)   (0,0) -- (\isomax,0)
-  node[at end,below=8pt,anchor=north east] {electron isolation $I_\text{e}$};+  node[at end,below=16pt,left] {electron isolation $I_\text{e}$};
  
 % boxes % boxes
Line 64: Line 65:
  
  
 +% CONTROL REGION: OS/SS
 \begin{tikzpicture}[scale=4] \begin{tikzpicture}[scale=4]
  
Line 70: Line 72:
   (0,0) rectangle (1,1);   (0,0) rectangle (1,1);
  
-boxes+dashed lines
 \draw[dashed,thick] \draw[dashed,thick]
   (0.5,-0.1) -- (0.5,1);   (0.5,-0.1) -- (0.5,1);
latex/example_control_region.1496857538.txt.gz · Last modified: 2017/06/07 19:45 by iwn