How to plot polar formed complex numbers?Polar plot: label and legend rotationtikz and polar plotTikz plot polar equation with foreachNot getting the correct polar plottikzpicture polar plot with negative function valuesPolar plot using pgfplots/tikzQuiver plot in polar coordinatesSurface plot over complex planePlot a Polar Cordinate Node pointPGFPlots: Background color for polar plot
How do you talk to someone whose loved one is dying?
Recruiter wants very extensive technical details about all of my previous work
Could the Saturn V actually have launched astronauts around Venus?
Is there a hypothetical scenario that would make Earth uninhabitable for humans, but not for (the majority of) other animals?
Are ETF trackers fundamentally better than individual stocks?
Do I need life insurance if I can cover my own funeral costs?
What is "focus distance lower/upper" and how is it different from depth of field?
How to get the n-th line after a grepped one?
Instead of a Universal Basic Income program, why not implement a "Universal Basic Needs" program?
About the actual radiative impact of greenhouse gas emission over time
How to deal with taxi scam when on vacation?
A diagram about partial derivatives of f(x,y)
How to pronounce "I ♥ Huckabees"?
Math equation in non italic font
When to use a slotted vs. solid turner?
et qui - how do you really understand that kind of phraseology?
Happy pi day, everyone!
Employee lack of ownership
Is a party consisting of only a bard, a cleric, and a warlock functional long-term?
Does .bashrc contain syntax errors?
Print a physical multiplication table
Simplify an interface for flexibly applying rules to periods of time
Do the common programs (for example: "ls", "cat") in Linux and BSD come from the same source code?
How can we have a quark condensate without a quark potential?
How to plot polar formed complex numbers?
Polar plot: label and legend rotationtikz and polar plotTikz plot polar equation with foreachNot getting the correct polar plottikzpicture polar plot with negative function valuesPolar plot using pgfplots/tikzQuiver plot in polar coordinatesSurface plot over complex planePlot a Polar Cordinate Node pointPGFPlots: Background color for polar plot
I would like to draw the figure below in LaTeX and am having a bit of a difficulty. How can I do it?
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
begindocument
begintitlepage
[]
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIÁVEIS COMPLEXAS
beginfigure[H]
centering
[
includegraphics[width=100mm]./Figuras/capa5.png
]
endfigure
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
After doing the code, how do I put it in place of begin figure [H]
centering
[
includegraphics [width = 100mm] ./ Figures / layer5.png
]
end figure
so you do not need figures?
tikz-pgf
New contributor
add a comment |
I would like to draw the figure below in LaTeX and am having a bit of a difficulty. How can I do it?
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
begindocument
begintitlepage
[]
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIÁVEIS COMPLEXAS
beginfigure[H]
centering
[
includegraphics[width=100mm]./Figuras/capa5.png
]
endfigure
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
After doing the code, how do I put it in place of begin figure [H]
centering
[
includegraphics [width = 100mm] ./ Figures / layer5.png
]
end figure
so you do not need figures?
tikz-pgf
New contributor
2
@close-voters: Please add a comment about the reason to close vote! I voted for leave open!
– Kurt
11 hours ago
1
@Kurt I agree with you. I also ask questions where I don't know where to start.
– Sebastiano
10 hours ago
This question could benefit from a textual description of what you are trying to achieve. That way, when somebody wants to do something similar, searching for those terms will help them find this question and it's answer. Specifically, mention the part(s) of the diagram which are not being drawn to your desire. Something like "How to draw concentric circles" or "How to draw a line segment whose endpoint lies on the edge of a circle" or whatever you feel best describes the part you can't draw in your image. This will also help your question from seeming too broad.
– Davy M
7 hours ago
@Davy M So how can I do it? I put this in the description of the question?
– Matheus Guimaraes
3 hours ago
@MatheusGuimaraes Yes, I would add it after you mention that you are having a bit of difficulty, a more exact description of what parts are giving you difficulty. This probably isn't a priority since you already got your answer, but it will likely help other people who want to do something similar so they can find your question and the answer.
– Davy M
1 hour ago
add a comment |
I would like to draw the figure below in LaTeX and am having a bit of a difficulty. How can I do it?
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
begindocument
begintitlepage
[]
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIÁVEIS COMPLEXAS
beginfigure[H]
centering
[
includegraphics[width=100mm]./Figuras/capa5.png
]
endfigure
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
After doing the code, how do I put it in place of begin figure [H]
centering
[
includegraphics [width = 100mm] ./ Figures / layer5.png
]
end figure
so you do not need figures?
tikz-pgf
New contributor
I would like to draw the figure below in LaTeX and am having a bit of a difficulty. How can I do it?
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
begindocument
begintitlepage
[]
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIÁVEIS COMPLEXAS
beginfigure[H]
centering
[
includegraphics[width=100mm]./Figuras/capa5.png
]
endfigure
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
After doing the code, how do I put it in place of begin figure [H]
centering
[
includegraphics [width = 100mm] ./ Figures / layer5.png
]
end figure
so you do not need figures?
tikz-pgf
tikz-pgf
New contributor
New contributor
edited 2 hours ago
Matheus Guimaraes
New contributor
asked 12 hours ago
Matheus GuimaraesMatheus Guimaraes
233
233
New contributor
New contributor
2
@close-voters: Please add a comment about the reason to close vote! I voted for leave open!
– Kurt
11 hours ago
1
@Kurt I agree with you. I also ask questions where I don't know where to start.
– Sebastiano
10 hours ago
This question could benefit from a textual description of what you are trying to achieve. That way, when somebody wants to do something similar, searching for those terms will help them find this question and it's answer. Specifically, mention the part(s) of the diagram which are not being drawn to your desire. Something like "How to draw concentric circles" or "How to draw a line segment whose endpoint lies on the edge of a circle" or whatever you feel best describes the part you can't draw in your image. This will also help your question from seeming too broad.
– Davy M
7 hours ago
@Davy M So how can I do it? I put this in the description of the question?
– Matheus Guimaraes
3 hours ago
@MatheusGuimaraes Yes, I would add it after you mention that you are having a bit of difficulty, a more exact description of what parts are giving you difficulty. This probably isn't a priority since you already got your answer, but it will likely help other people who want to do something similar so they can find your question and the answer.
– Davy M
1 hour ago
add a comment |
2
@close-voters: Please add a comment about the reason to close vote! I voted for leave open!
– Kurt
11 hours ago
1
@Kurt I agree with you. I also ask questions where I don't know where to start.
– Sebastiano
10 hours ago
This question could benefit from a textual description of what you are trying to achieve. That way, when somebody wants to do something similar, searching for those terms will help them find this question and it's answer. Specifically, mention the part(s) of the diagram which are not being drawn to your desire. Something like "How to draw concentric circles" or "How to draw a line segment whose endpoint lies on the edge of a circle" or whatever you feel best describes the part you can't draw in your image. This will also help your question from seeming too broad.
– Davy M
7 hours ago
@Davy M So how can I do it? I put this in the description of the question?
– Matheus Guimaraes
3 hours ago
@MatheusGuimaraes Yes, I would add it after you mention that you are having a bit of difficulty, a more exact description of what parts are giving you difficulty. This probably isn't a priority since you already got your answer, but it will likely help other people who want to do something similar so they can find your question and the answer.
– Davy M
1 hour ago
2
2
@close-voters: Please add a comment about the reason to close vote! I voted for leave open!
– Kurt
11 hours ago
@close-voters: Please add a comment about the reason to close vote! I voted for leave open!
– Kurt
11 hours ago
1
1
@Kurt I agree with you. I also ask questions where I don't know where to start.
– Sebastiano
10 hours ago
@Kurt I agree with you. I also ask questions where I don't know where to start.
– Sebastiano
10 hours ago
This question could benefit from a textual description of what you are trying to achieve. That way, when somebody wants to do something similar, searching for those terms will help them find this question and it's answer. Specifically, mention the part(s) of the diagram which are not being drawn to your desire. Something like "How to draw concentric circles" or "How to draw a line segment whose endpoint lies on the edge of a circle" or whatever you feel best describes the part you can't draw in your image. This will also help your question from seeming too broad.
– Davy M
7 hours ago
This question could benefit from a textual description of what you are trying to achieve. That way, when somebody wants to do something similar, searching for those terms will help them find this question and it's answer. Specifically, mention the part(s) of the diagram which are not being drawn to your desire. Something like "How to draw concentric circles" or "How to draw a line segment whose endpoint lies on the edge of a circle" or whatever you feel best describes the part you can't draw in your image. This will also help your question from seeming too broad.
– Davy M
7 hours ago
@Davy M So how can I do it? I put this in the description of the question?
– Matheus Guimaraes
3 hours ago
@Davy M So how can I do it? I put this in the description of the question?
– Matheus Guimaraes
3 hours ago
@MatheusGuimaraes Yes, I would add it after you mention that you are having a bit of difficulty, a more exact description of what parts are giving you difficulty. This probably isn't a priority since you already got your answer, but it will likely help other people who want to do something similar so they can find your question and the answer.
– Davy M
1 hour ago
@MatheusGuimaraes Yes, I would add it after you mention that you are having a bit of difficulty, a more exact description of what parts are giving you difficulty. This probably isn't a priority since you already got your answer, but it will likely help other people who want to do something similar so they can find your question and the answer.
– Davy M
1 hour ago
add a comment |
1 Answer
1
active
oldest
votes
Note: The codes are arranged in "quality-increasing" order in my opinion, i.e. the best one is the last one.
Like this?
documentclass[tikz]standalone
usetikzlibraryquotes,angles
begindocument
begintikzpicture
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
draw (a) node[above right] e^itheta$;
draw (b) node[below] $;
draw (2,0) node[below] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
endtikzpicture
enddocument
Improved version:
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Thanks to @marmot, I think this figure is (somewhat) more mathematically true ;-)
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Another choice: Im
instead of Im
and Re
instead of Re
(@Sebastiano's request):
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Your code is not compilable because of a conflict (?) between babel
and quotes
(I don't know if it is true).
We can fix it by not using quotes
anymore:
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
usetikzlibraryangles,positioning
begindocument
begintitlepage
vspace1cm
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIAVEIS COMPLEXAS
begincenter
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
draw (45:0.8) node[above right] $theta$;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
endcenter
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
thank you very much!! worked here
– Matheus Guimaraes
11 hours ago
Is it possible to use the image as a cover? I am making a cover for handout of complex variables but it is not working because I am using documentclass [a4paper, 12pt] article% how to make the necessary change for compilation to take place right?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Changedocumentclass[tikz]standalone
todocumentclassarticle usepackagetikz
.
– JouleV
11 hours ago
I did this but when I compile it gives an error in '' pic ''. How do I correct it?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Make sure you haveusetikzlibraryquotes,angles
in your preamble.
– JouleV
11 hours ago
|
show 9 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Matheus Guimaraes is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479801%2fhow-to-plot-polar-formed-complex-numbers%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Note: The codes are arranged in "quality-increasing" order in my opinion, i.e. the best one is the last one.
Like this?
documentclass[tikz]standalone
usetikzlibraryquotes,angles
begindocument
begintikzpicture
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
draw (a) node[above right] e^itheta$;
draw (b) node[below] $;
draw (2,0) node[below] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
endtikzpicture
enddocument
Improved version:
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Thanks to @marmot, I think this figure is (somewhat) more mathematically true ;-)
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Another choice: Im
instead of Im
and Re
instead of Re
(@Sebastiano's request):
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Your code is not compilable because of a conflict (?) between babel
and quotes
(I don't know if it is true).
We can fix it by not using quotes
anymore:
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
usetikzlibraryangles,positioning
begindocument
begintitlepage
vspace1cm
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIAVEIS COMPLEXAS
begincenter
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
draw (45:0.8) node[above right] $theta$;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
endcenter
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
thank you very much!! worked here
– Matheus Guimaraes
11 hours ago
Is it possible to use the image as a cover? I am making a cover for handout of complex variables but it is not working because I am using documentclass [a4paper, 12pt] article% how to make the necessary change for compilation to take place right?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Changedocumentclass[tikz]standalone
todocumentclassarticle usepackagetikz
.
– JouleV
11 hours ago
I did this but when I compile it gives an error in '' pic ''. How do I correct it?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Make sure you haveusetikzlibraryquotes,angles
in your preamble.
– JouleV
11 hours ago
|
show 9 more comments
Note: The codes are arranged in "quality-increasing" order in my opinion, i.e. the best one is the last one.
Like this?
documentclass[tikz]standalone
usetikzlibraryquotes,angles
begindocument
begintikzpicture
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
draw (a) node[above right] e^itheta$;
draw (b) node[below] $;
draw (2,0) node[below] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
endtikzpicture
enddocument
Improved version:
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Thanks to @marmot, I think this figure is (somewhat) more mathematically true ;-)
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Another choice: Im
instead of Im
and Re
instead of Re
(@Sebastiano's request):
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Your code is not compilable because of a conflict (?) between babel
and quotes
(I don't know if it is true).
We can fix it by not using quotes
anymore:
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
usetikzlibraryangles,positioning
begindocument
begintitlepage
vspace1cm
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIAVEIS COMPLEXAS
begincenter
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
draw (45:0.8) node[above right] $theta$;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
endcenter
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
thank you very much!! worked here
– Matheus Guimaraes
11 hours ago
Is it possible to use the image as a cover? I am making a cover for handout of complex variables but it is not working because I am using documentclass [a4paper, 12pt] article% how to make the necessary change for compilation to take place right?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Changedocumentclass[tikz]standalone
todocumentclassarticle usepackagetikz
.
– JouleV
11 hours ago
I did this but when I compile it gives an error in '' pic ''. How do I correct it?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Make sure you haveusetikzlibraryquotes,angles
in your preamble.
– JouleV
11 hours ago
|
show 9 more comments
Note: The codes are arranged in "quality-increasing" order in my opinion, i.e. the best one is the last one.
Like this?
documentclass[tikz]standalone
usetikzlibraryquotes,angles
begindocument
begintikzpicture
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
draw (a) node[above right] e^itheta$;
draw (b) node[below] $;
draw (2,0) node[below] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
endtikzpicture
enddocument
Improved version:
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Thanks to @marmot, I think this figure is (somewhat) more mathematically true ;-)
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Another choice: Im
instead of Im
and Re
instead of Re
(@Sebastiano's request):
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Your code is not compilable because of a conflict (?) between babel
and quotes
(I don't know if it is true).
We can fix it by not using quotes
anymore:
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
usetikzlibraryangles,positioning
begindocument
begintitlepage
vspace1cm
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIAVEIS COMPLEXAS
begincenter
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
draw (45:0.8) node[above right] $theta$;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
endcenter
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
Note: The codes are arranged in "quality-increasing" order in my opinion, i.e. the best one is the last one.
Like this?
documentclass[tikz]standalone
usetikzlibraryquotes,angles
begindocument
begintikzpicture
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
draw (a) node[above right] e^itheta$;
draw (b) node[below] $;
draw (2,0) node[below] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
endtikzpicture
enddocument
Improved version:
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (25:2);
coordinate (n) at (-95:2);
coordinate (p) at (145:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Thanks to @marmot, I think this figure is (somewhat) more mathematically true ;-)
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Another choice: Im
instead of Im
and Re
instead of Re
(@Sebastiano's request):
documentclass[tikz]standalone
usetikzlibraryquotes,angles,positioning
begindocument
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,"$theta$",angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
enddocument
Your code is not compilable because of a conflict (?) between babel
and quotes
(I don't know if it is true).
We can fix it by not using quotes
anymore:
%usepackage[dvips,pdftex]graphicx
documentclass[a4paper,12pt]article%
usepackageamsmath
usepackageamsfonts
usepackageindentfirst
usepackageamssymb
usepackagegraphicx
usepackagecolor
usepackage[dvips]epsfig
usepackage[dvips]graphicx
usepackagefloat
usepackage[latin1]inputenc
usepackage[brazil]babel
usepackagetikz
usepackagemulticol
usepackagecancel
usepackage[unicode=true,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,breaklinks=true,backref=true,linkcolor=black,colorlinks=true]%
hyperref%
setcounterMaxMatrixCols30
%TCIDATAOutputFilter=latex2.dll
%TCIDATAVersion=5.50.0.2953
%TCIDATALastRevised=Thursday, March 14, 2019 23:50:47
%TCIDATA<META NAME="GraphicsSave" CONTENT="32">
%TCIDATA<META NAME="SaveForMode" CONTENT="1">
%TCIDATABibliographyScheme=Manual
%BeginMSIPreambleData
providecommandU[1]protectrule.1in.1in
%EndMSIPreambleData
setlengthtopmargin-1.5cm setlengthoddsidemargin0.0cm
setlengthevensidemargin0.0cm setlengthtextheight24cm
setlengthtextwidth16.5cm
renewcommandbaselinestretch1.25
usetikzlibraryangles,positioning
begindocument
begintitlepage
vspace1cm
begincenter
%tiny,small,large,Large,LARGE, huge,Huge,HUGE
Large sc Universidade Federal do Maranhão
vskip 0.5cm
Large sc Centro de Ciências Exatas e Tecnologia
vskip 0.5cm Large sc Matheus Rodrigues Linhares Guimarães
vskip 3 cm LARGE sc textbfVARIAVEIS COMPLEXAS
begincenter
begintikzpicture
beginscope[every node/.style=fill=white,inner sep=2pt]
draw (0,-4)--(0,4) node[above] $Im$ (-4,0)--(4,0) node[right] $Re$;
draw[dashed] (0,0) circle (3) circle (2);
coordinate (a) at (80:3);
coordinate (b) at (3,0);
coordinate (m) at (80/3:2);
coordinate (n) at (80/3-120:2);
coordinate (p) at (80/3+120:2);
coordinate (o) at (0,0);
draw (a) node[above right] e^itheta$;
draw (b) node[below right] $;
draw (2,0) node[below left=0cm and -2em] $;
draw (m) node[right] $;
draw (n) node[below] $;
draw (p) node[above] ^1/3e^i(theta+2pi)/3$;
draw (.1,1.5)--(0,1.5) node[left] $i$;
draw (1.5,.1)--(1.5,0) node[below] $1$;
draw (0,0)--(a) (0,0)--(m) (0,0)--(n) (0,0)--(p);
draw[dashed] (m)--(n)--(p)--cycle;
endscope
pic[draw,dashed,thick,angle radius=0.8cm,angle eccentricity=1.3] angle=b--o--a;
draw (45:0.8) node[above right] $theta$;
fill[black] (a) circle (2pt) (b) circle (2pt) (m) circle (2pt) (n) circle (2pt) (p) circle (2pt) (2,0) circle (2pt);
endtikzpicture
endcenter
vskip 2cm
vfill
sc 2019.1
endcenter
endtitlepage%
enddocument
edited 10 hours ago
answered 12 hours ago
JouleVJouleV
5,99821549
5,99821549
thank you very much!! worked here
– Matheus Guimaraes
11 hours ago
Is it possible to use the image as a cover? I am making a cover for handout of complex variables but it is not working because I am using documentclass [a4paper, 12pt] article% how to make the necessary change for compilation to take place right?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Changedocumentclass[tikz]standalone
todocumentclassarticle usepackagetikz
.
– JouleV
11 hours ago
I did this but when I compile it gives an error in '' pic ''. How do I correct it?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Make sure you haveusetikzlibraryquotes,angles
in your preamble.
– JouleV
11 hours ago
|
show 9 more comments
thank you very much!! worked here
– Matheus Guimaraes
11 hours ago
Is it possible to use the image as a cover? I am making a cover for handout of complex variables but it is not working because I am using documentclass [a4paper, 12pt] article% how to make the necessary change for compilation to take place right?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Changedocumentclass[tikz]standalone
todocumentclassarticle usepackagetikz
.
– JouleV
11 hours ago
I did this but when I compile it gives an error in '' pic ''. How do I correct it?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Make sure you haveusetikzlibraryquotes,angles
in your preamble.
– JouleV
11 hours ago
thank you very much!! worked here
– Matheus Guimaraes
11 hours ago
thank you very much!! worked here
– Matheus Guimaraes
11 hours ago
Is it possible to use the image as a cover? I am making a cover for handout of complex variables but it is not working because I am using documentclass [a4paper, 12pt] article% how to make the necessary change for compilation to take place right?
– Matheus Guimaraes
11 hours ago
Is it possible to use the image as a cover? I am making a cover for handout of complex variables but it is not working because I am using documentclass [a4paper, 12pt] article% how to make the necessary change for compilation to take place right?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Change
documentclass[tikz]standalone
to documentclassarticle usepackagetikz
.– JouleV
11 hours ago
@MatheusGuimaraes Change
documentclass[tikz]standalone
to documentclassarticle usepackagetikz
.– JouleV
11 hours ago
I did this but when I compile it gives an error in '' pic ''. How do I correct it?
– Matheus Guimaraes
11 hours ago
I did this but when I compile it gives an error in '' pic ''. How do I correct it?
– Matheus Guimaraes
11 hours ago
@MatheusGuimaraes Make sure you have
usetikzlibraryquotes,angles
in your preamble.– JouleV
11 hours ago
@MatheusGuimaraes Make sure you have
usetikzlibraryquotes,angles
in your preamble.– JouleV
11 hours ago
|
show 9 more comments
Matheus Guimaraes is a new contributor. Be nice, and check out our Code of Conduct.
Matheus Guimaraes is a new contributor. Be nice, and check out our Code of Conduct.
Matheus Guimaraes is a new contributor. Be nice, and check out our Code of Conduct.
Matheus Guimaraes is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f479801%2fhow-to-plot-polar-formed-complex-numbers%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
@close-voters: Please add a comment about the reason to close vote! I voted for leave open!
– Kurt
11 hours ago
1
@Kurt I agree with you. I also ask questions where I don't know where to start.
– Sebastiano
10 hours ago
This question could benefit from a textual description of what you are trying to achieve. That way, when somebody wants to do something similar, searching for those terms will help them find this question and it's answer. Specifically, mention the part(s) of the diagram which are not being drawn to your desire. Something like "How to draw concentric circles" or "How to draw a line segment whose endpoint lies on the edge of a circle" or whatever you feel best describes the part you can't draw in your image. This will also help your question from seeming too broad.
– Davy M
7 hours ago
@Davy M So how can I do it? I put this in the description of the question?
– Matheus Guimaraes
3 hours ago
@MatheusGuimaraes Yes, I would add it after you mention that you are having a bit of difficulty, a more exact description of what parts are giving you difficulty. This probably isn't a priority since you already got your answer, but it will likely help other people who want to do something similar so they can find your question and the answer.
– Davy M
1 hour ago