Graphics, Figures & Tables ⇒ draw image of functions in horizontal
-
- Posts: 26
- Joined: Tue Feb 28, 2012 2:31 pm
draw image of functions in horizontal
i want to draw image of functions in horizontal way using curved arrow.
that is first i want a circle (i.e. solid unit disk in gray) then(curved arrow) xy plane with first and second qudrant highlited(grey color) then(curved arrow)xy plane with -ve x axis highlited then(curved arrow) xy plane with -ve x axis highlited from -1/4 to infinity.
regards
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
draw image of functions in horizontal
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
Re: draw image of functions in horizontal
As Johannes said, please show the code you already have, so not each reader has to write something new from scratch. (even without knowing, which package to use)
What is the problem part of the whole drawing? The circle? An arrow?
Stefan
-
- Posts: 26
- Joined: Tue Feb 28, 2012 2:31 pm
Re: draw image of functions in horizontal
please help me in this, i didnt got any idea how to do this

regards,
- Attachments
-
- this the first image i want to plot
- DSC_0174-1.jpg (130.58 KiB) Viewed 5645 times
-
- and this is second
- DSC_0172.jpg (377.94 KiB) Viewed 5645 times
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
Re: draw image of functions in horizontal
I hope you subscribed to the topic so you would get an email if there's a new answer, or have a look later here soon.

Btw. smaller images would be nice, the forum layout doesn't work so well with large images.
Stefan
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
draw image of functions in horizontal
\usetikzlibrary{patterns}
to get the option
pattern=north east lines
for filling a circle.Code: Select all
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\begin{scope}[thick,font=\scriptsize]
% Axes:
% Are simply drawn using line with the `->` option to make them arrows:
% The main labels of the axes can be places using `node`s:
\draw [->] (-5,0) -- (5,0) node [above left] {$\Re\{z\}$};
\draw [->] (0,-5) -- (0,5) node [below right] {$\Im\{z\}$};
% Axes labels:
% Are drawn using small lines and labeled with `node`s. The placement can be set using options
\iffalse% Single
% If you only want a single label per axis side:
\draw (1,-3pt) -- (1,3pt) node [above] {$1$};
\draw (-1,-3pt) -- (-1,3pt) node [above] {$-1$};
\draw (-3pt,1) -- (3pt,1) node [right] {$i$};
\draw (-3pt,-1) -- (3pt,-1) node [right] {$-i$};
\else% Multiple
% If you want labels at every unit step:
\foreach \n in {-4,...,-1,1,2,...,4}{%
\draw (\n,-3pt) -- (\n,3pt) node [above] {$\n$};
\draw (-3pt,\n) -- (3pt,\n) node [right] {$\n i$};
}
\fi
\end{scope}
% The circle is drawn with `(x,y) circle (radius)`
% You can draw the outer border and fill the inner area differently.
% Here I use gray, semitransparent filling to not cover the axes below the circle
\draw [pattern=north east lines,semitransparent] (+1,-1) circle (3);
% Place the equation into the circle:
\node [below right,darkgray] at (+1,-1) {$|z-1+i| \leq 3$};
\end{tikzpicture}
\end{document}
\draw (3,3) edge [-latex,bend left] node [above] {$\frac{1+z}{1-z}$} (4,3);
You can use this as a starting point for your drawings.
You can type
texdoc pgf
to open the TikZ manual, or download online: 
Stefan
-
- Posts: 26
- Joined: Tue Feb 28, 2012 2:31 pm
Re: draw image of functions in horizontal
i want to know how to draw squzeed circle as in second fig.
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
draw image of functions in horizontal
Code: Select all
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{hobby}
\begin{document}
\begin{tikzpicture}
\draw [thick, ->] (-3,0) -- (3,0) node [anchor=north west] {};
\draw [thick, ->] (0,-3) -- (0,3) node [anchor=south east] {$\mathbf{C}$};
\draw (0,2) to [closed, curve through = {(1.4,1.2) (1.5,1) (2,0) (1.2,-0.2)
(0,-1.4) (-1.5,-0.8) (-0.7,0) (-1.4,1) (-0.2,1.5)}] (0,2);
\end{tikzpicture}
\end{document}
-
- Posts: 26
- Joined: Tue Feb 28, 2012 2:31 pm
Re: draw image of functions in horizontal
can't find file `tikzlibraryhobby.code.tex'.
<argument> ...nput tikzlibrary\pgf@temp .code.tex
\catcode `\@ =\csname tikz...
l.3 \usetikzlibrary{hobby}
(Press Enter to retry, or Control-D to exit)
Please type another input file name
! Emergency stop.
<argument> ...nput tikzlibrary\pgf@temp .code.tex
\catcode `\@ =\csname tikz...
l.3 \usetikzlibrary{hobby}
! ==> Fatal error occurred, no output PDF file produced!
- Stefan Kottwitz
- Site Admin
- Posts: 10334
- Joined: Mon Mar 10, 2008 9:44 pm
Re: draw image of functions in horizontal
Stefan