# drawing a plane and orthonormal system using tikz

I want to draw the following image and i face problems especially in the plane on the left :

\documentclass[tikz]{standalone}
\begin{document}
\begin{tikzpicture}
\draw[thick,->] (52,0) -- (60,0) node[anchor=north west] {$x'$};
\draw[thick,->] (56,-04) -- (56,04) node[anchor=south east] {$x_N$};
\draw[red,thick,dashed] (56,0) circle (2cm);
\draw[thick,->] (57.5,1.55) -- (58,2) node[anchor=north west] {$I^{+}(1)$};
\draw[thick,->] (57.5,-1.55) -- (58,-2) node[anchor=north west] {$I(1)$};
\draw (56,0) node[below right] {$O$} node{$\bullet$};
\draw (58,0) node[below right] {$1$} node{};
\draw (54,0) node[below left] {$-1$} node{};
\end{tikzpicture}
\end{document}


i draw the orthonormal system using the tikzpicture and i didn't know how to continue any help?

• post your orthonormal system and we'll take it from there. Welcom to TeX-SX by the way! – percusse Aug 19 '14 at 21:29
• \begin{document} \begin{tikzpicture} \draw[thick,->] (52,0) -- (60,0) node[anchor=north west] {$x'$}; \draw[thick,->] (56,-04) -- (56,04) node[anchor=south east] {$x_N$}; \draw[red,thick,dashed] (56,0) circle (2cm); \draw[thick,->] (57.5,1.55) -- (58,2) node[anchor=north west] {$I^{+}(1)$}; \draw[thick,->] (57.5,-1.55) -- (58,-2) node[anchor=north west] {$I(1)$}; \draw (56,0) node[below right] {$O$} node{$\bullet$}; \draw (58,0) node[below right] {$1$} node{}; \draw (54,0) node[below left] {$-1$} node{}; \end{tikzpicture} \end{document} – Student Aug 19 '14 at 21:30
• Great! As you can see, instead of pasting as a comment you can edit your own question and include your code by marking it as a code block at the top bar of question tools. It's much easier for us if you complete your example to a compilable example as I did with yours for this time ;) Because then people directly copy paste the existing code and start adding. – percusse Aug 19 '14 at 21:34
• yes it's better but this is the first time i post a tex question . thank you for your remark i will do that next time. – Student Aug 19 '14 at 21:40

Here is one attempt using hobby.

\documentclass[tikz]{standalone}
\usetikzlibrary{hobby,patterns}
\begin{document}
\begin{tikzpicture}
\draw[thick,->] (52,0) -- (60,0) node[anchor=north west] {$x'$};
\draw[thick,->] (56,-04) -- (56,04) node[anchor=south east] {$x_N$};
\node[draw=red,dashed,thick,circle,minimum width=4cm] (n) at (56,0) {};
\fill[pattern=north east lines,opacity=.6] (58,0)arc(0:180:2cm) -- (58,0);
\draw[thick,->] (57.5,1.55) -- (58,2) node[anchor=north west] {$I^{+}(1)$};
\draw[thick,->] (57.5,-1.55) -- (58,-2) node[anchor=north west] {$I(1)$};
\draw (56,0) node[below right] {$O$} node{$\bullet$};
\draw (58,0) node[below right] {$1$} node{};
\draw (54,0) node[below left] {$-1$} node{};

\node[draw,circle,minimum width=2cm] (n1) at (50,3) {};
\begin{scope}
\clip[draw](48,1) to[closed,curve through={(50,3) .. (52,4) .. (51,6) ..(47,6) .. (46.6,5) .. (45,3.8) }] (48,1);
\node[draw,circle,fill=magenta,minimum width=2cm] (n1) at (50,3) {};
\end{scope}
\node[inner sep=1pt,fill,circle,label={below right: $x_0$}] at (50,3){};
\draw[->,shorten <= -4mm] (n1.90) -- +(0.7,0.7) node[pos=1.3]{$\Omega_1 \cap \Omega$};
\draw[->] (51,6) -- +(0.7,0.3) node[pos=1.3]{$\Omega$};
\draw[->] (n1.300) -- +(0.7,-0.3) node[pos=1.3]{$\Omega_1$};
\draw[->] (n1.10) to[bend left] node[midway,below]{8*} (n.120);   %% 8* = ???
\node at (50,-1){ Some text???};
\end{tikzpicture}
\end{document}


Some text content was not clear to me which I have marked with ??? in the code.

• i try it but it give that it can't find "tikzlibraryfile", how i can install it? how i can solve this problem? – Student Aug 20 '14 at 10:26
• i have the mikteX 2.9 and texmaker in my pc, and i'm getting the following error "I can't find 'tikzlibraryhobby.code.tex' – Student Aug 20 '14 at 10:53
• i always work with the texmaker, in everything but this is the first time i use this library and get this error. – Student Aug 20 '14 at 10:56
• we can't draw it using another library? @Harish Kumar – Student Aug 20 '14 at 11:07
• Ok i can but how to install it from where any ideas? – Student Aug 20 '14 at 11:15