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
hello friends,
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
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.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
draw image of functions in horizontal
I have absolutely no idea how the product should look like. I bet our drawing experts will feel the same. Please show us what you got so far by posting a minimal working example. An image, maybe even hand drawn, will also be needed.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: draw image of functions in horizontal
What are you using as drawing package? PStricks? TikZ? MetaPost? Something else?
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
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
LaTeX.org admin
-
- Posts: 26
- Joined: Tue Feb 28, 2012 2:31 pm
Re: draw image of functions in horizontal
sorry for the confusion i am attaching the pictures what i want to plot,
please help me in this, i didnt got any idea how to do this
regards,
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 5715 times
-
- and this is second
- DSC_0172.jpg (377.94 KiB) Viewed 5715 times
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: draw image of functions in horizontal
That's not hard. I'll have a look later, at least it needs some time.
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
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
LaTeX.org admin
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
draw image of functions in horizontal
At TeXample.net there is a complex plane TikZ example sample by Martin Scharrer, I just added
to get the option
And this way you can draw a curved arrow with text above:
You can use this as a starting point for your drawings.
You can type
TikZ.
Stefan
\usetikzlibrary{patterns}
to get the option
pattern=north east lines
for filling a circle.Code: Select all
Code, edit and compile here:
\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
LaTeX.org admin
-
- Posts: 26
- Joined: Tue Feb 28, 2012 2:31 pm
Re: draw image of functions in horizontal
@stefan.. very thanks for your kind help,
i want to know how to draw squzeed circle as in second fig.
i want to know how to draw squzeed circle as in second fig.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
draw image of functions in horizontal
I made it on TeXwelt using the hobby package:
Stefan
Code: Select all
Code, edit and compile here:
\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}
LaTeX.org admin
-
- Posts: 26
- Joined: Tue Feb 28, 2012 2:31 pm
Re: draw image of functions in horizontal
there is an error that is.
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!
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: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Re: draw image of functions in horizontal
You need to install the package, use your TeX package manager or visit the link above to CTAN.
Stefan
Stefan
LaTeX.org admin