Guest User

Untitled

a guest
Oct 18th, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. documentclass{standalone}
  2. usepackage{tikz}
  3. usetikzlibrary{decorations.pathmorphing}
  4.  
  5. begin{document}
  6. begin{tikzpicture}
  7. node (I) at ( 4,0) {I};
  8. node (II) at (-4,0) {II};
  9. node (III) at (0, 2.5) {III};
  10. node (IV) at (0,-2.5) {IV};
  11.  
  12. path % Four corners of left diamond
  13. (II) +(90:4) coordinate[label=90:$i^+$] (IItop)
  14. +(-90:4) coordinate[label=-90:$i^-$] (IIbot)
  15. +(0:4) coordinate (IIright)
  16. +(180:4) coordinate[label=180:$i^0$] (IIleft)
  17. ;
  18. draw (IIleft) --
  19. node[midway, above left] {$cal{J}^+$}
  20. node[midway, below, sloped] {$bar{u}=infty$}
  21. (IItop) --
  22. node[midway, below, sloped] {$bar{u}=0$}
  23. (IIright) --
  24. node[midway, below, sloped] {$bar{u}=0$}
  25. (IIbot) --
  26. node[midway, above, sloped] {$bar{v}=-infty$}
  27. node[midway, below left] {$cal{J}^-$}
  28. (IIleft) -- cycle;
  29.  
  30. path % Four conners of the right diamond (no labels this time)
  31. (I) +(90:4) coordinate (Itop)
  32. +(-90:4) coordinate (Ibot)
  33. +(180:4) coordinate (Ileft)
  34. +(0:4) coordinate (Iright)
  35. ;
  36. % No text this time in the next diagram
  37. draw (Ileft) -- (Itop) -- (Iright) -- (Ibot) -- (Ileft) -- cycle;
  38.  
  39. % Squiggly lines
  40. draw[decorate,decoration=zigzag] (IItop) -- (Itop)
  41. node[midway, above, inner sep=2mm] {$r=0$};
  42.  
  43. draw[decorate,decoration=zigzag] (IIbot) -- (Ibot)
  44. node[midway, below, inner sep=2mm] {$r=0$};
  45.  
  46. end{tikzpicture}
  47. end{document}
  48.  
  49. usetikzlibrary{decorations.pathmorphing,calc}
  50.  
  51. draw[->] % The -> adds an arrow tip
  52. (Ibot) -- ($(IItop)!.5!(Itop)$);
  53.  
  54. draw[->]
  55. (Ibot) to[out=70, in=-15, looseness=1.5] ($(IItop)!.5!(Itop)$);
  56.  
  57. documentclass{article}
  58. usepackage{tikz}
  59. usetikzlibrary{positioning,decorations.pathmorphing}
  60.  
  61. begin{document}
  62.  
  63. begin{tikzpicture}[node distance=2cm]
  64. % coordinates for the nodes
  65. coordinate (A) at (0,0);
  66. coordinate[above right = of A,label=$i^{ast}$] (B);
  67. coordinate[right = 3cm of B,label=$i^{ast}$] (C);
  68. coordinate[below right = of C] (D);
  69. coordinate[below right = of A] (E);
  70. coordinate[right = 3cm of E] (F);
  71. % some straight lines uning the coordinates and adding labels
  72. draw (A) -- node[above] {$f^{ast}$} (B) -- node[below,sloped,pos=0.25] {$bar{v}=0$} node[below,sloped,pos=0.75] {$H^{-}$}
  73. (F) -- (D);
  74. draw (A) -- (E) -- (C) -- (D);
  75. % some decorated lines uning the coordinates and adding labels
  76. draw[decorate,decoration=zigzag] (B) -- node[above] {$r=0$} (C);
  77. draw[decorate,decoration=zigzag] (E) -- node[below] {$r=0$} (F);
  78. end{tikzpicture}
  79.  
  80. end{document}
  81.  
  82. documentclass{article}
  83. usepackage{tikz}
  84. usetikzlibrary{decorations.pathmorphing}
  85.  
  86. begin{document}
  87.  
  88. begin{tikzpicture}%[scale=2]
  89. pgfmathsetmacromyunit{4}
  90. draw (0,0) node [left] {$i^0$}
  91. --++(45:myunit) coordinate (a)
  92. node[pos=.5, above left] {$cal{J}^+$}
  93. node[pos=.5, below, sloped] {$bar{u}=infty$}
  94. node [above]{$i^+$}
  95. --++(-45:2*myunit) node[pos=.25, below, sloped] {$bar{u}=0$}
  96. coordinate (d)
  97. node [below]{$i^-$}
  98. --++(45:myunit) node [right]{$i^0$}
  99. --++(135:myunit) coordinate (b)
  100. node [above]{$i^+$}
  101. --++(-135:2*myunit) coordinate (c)
  102. node [below]{$i^-$}
  103. --cycle;
  104.  
  105. draw [decorate, decoration=zigzag] (a) -- node[above=6pt] {$r=0$}
  106. node[below=1 cm] {III}
  107. (b)
  108.  
  109. (c) -- (d);
  110.  
  111. end{tikzpicture}
  112. end{document}
Add Comment
Please, Sign In to add comment