Simple Line in LaTeX Help! Announcing the arrival of Valued Associate #679: Cesar Manara ...

How to write capital alpha?

Does the Mueller report show a conspiracy between Russia and the Trump Campaign?

Trying to understand entropy as a novice in thermodynamics

How to ask rejected full-time candidates to apply to teach individual courses?

Moving a wrapfig vertically to encroach partially on a subsection title

Why not send Voyager 3 and 4 following up the paths taken by Voyager 1 and 2 to re-transmit signals of later as they fly away from Earth?

How does light 'choose' between wave and particle behaviour?

Sally's older brother

How can a team of shapeshifters communicate?

What order were files/directories output in dir?

Is openssl rand command cryptographically secure?

Monty Hall Problem-Probability Paradox

Why weren't discrete x86 CPUs ever used in game hardware?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Most effective melee weapons for arboreal combat? (pre-gunpowder technology)

Where is the Next Backup Size entry on iOS 12?

Relating to the President and obstruction, were Mueller's conclusions preordained?

Is it dangerous to install hacking tools on my private linux machine?

A term for a woman complaining about things/begging in a cute/childish way

How were pictures turned from film to a big picture in a picture frame before digital scanning?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

Caught masturbating at work

What does Turing mean by this statement?

Simple Http Server



Simple Line in LaTeX Help!



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Exporting animation created with animate packageRotate a node but not its content: the case of the ellipse decorationHow to define the default vertical distance between nodes?Calculate the intersection between a path enclosed by a `scope` and another pathChanging Size of Arrows, Labels, Loops in Diagrams and Directed GraphsTikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?How to draw points in TikZ?TikZ: Drawing an arc from an intersection to an intersectionLine up nested tikz enviroments or how to get rid of themProblems with nested TikZpictures












4















I'm working in a project for university using latex and i'll make a gif explaning the radians of math! And I really dont know how to make this type of line (i'll put the example below) !! Plz help me guys!!



enter image description here



The project that ive done so far :D
http://www.mediafire.com/file/wc4xazt8k4h4t5h/testeAnime.pdf/file



WHAT IVE DONE :D



documentclass[border=1cm]{standalone}
usepackage[utf8]{inputenc}
usepackage{tikz}
begin{document}

begin{tikzpicture}





begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;

draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red] (0,0) -- (10,-0);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};

draw[red][fill] (0,0) circle (0.2cm);
draw[red][fill] (10,-0) circle (0.2cm);


end{scope}


end{tikzpicture}

end{document}









share|improve this question









New contributor




Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    What have you tried so far? Please show some efforts

    – JouleV
    1 hour ago













  • I dont know how to send my animated pdf to you

    – Felipe Fonseca
    1 hour ago











  • i can show you what i've done so far

    – Felipe Fonseca
    1 hour ago






  • 2





    I am not asking for an animated PDF. I am asking for a LaTeX code that you have had, so that we know where you got stuck at and it will help us help you

    – JouleV
    1 hour ago






  • 1





    But you get this type of line in your MWE? What do you want to achieve? The animation?

    – marmot
    47 mins ago
















4















I'm working in a project for university using latex and i'll make a gif explaning the radians of math! And I really dont know how to make this type of line (i'll put the example below) !! Plz help me guys!!



enter image description here



The project that ive done so far :D
http://www.mediafire.com/file/wc4xazt8k4h4t5h/testeAnime.pdf/file



WHAT IVE DONE :D



documentclass[border=1cm]{standalone}
usepackage[utf8]{inputenc}
usepackage{tikz}
begin{document}

begin{tikzpicture}





begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;

draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red] (0,0) -- (10,-0);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};

draw[red][fill] (0,0) circle (0.2cm);
draw[red][fill] (10,-0) circle (0.2cm);


end{scope}


end{tikzpicture}

end{document}









share|improve this question









New contributor




Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    What have you tried so far? Please show some efforts

    – JouleV
    1 hour ago













  • I dont know how to send my animated pdf to you

    – Felipe Fonseca
    1 hour ago











  • i can show you what i've done so far

    – Felipe Fonseca
    1 hour ago






  • 2





    I am not asking for an animated PDF. I am asking for a LaTeX code that you have had, so that we know where you got stuck at and it will help us help you

    – JouleV
    1 hour ago






  • 1





    But you get this type of line in your MWE? What do you want to achieve? The animation?

    – marmot
    47 mins ago














4












4








4








I'm working in a project for university using latex and i'll make a gif explaning the radians of math! And I really dont know how to make this type of line (i'll put the example below) !! Plz help me guys!!



enter image description here



The project that ive done so far :D
http://www.mediafire.com/file/wc4xazt8k4h4t5h/testeAnime.pdf/file



WHAT IVE DONE :D



documentclass[border=1cm]{standalone}
usepackage[utf8]{inputenc}
usepackage{tikz}
begin{document}

begin{tikzpicture}





begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;

draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red] (0,0) -- (10,-0);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};

draw[red][fill] (0,0) circle (0.2cm);
draw[red][fill] (10,-0) circle (0.2cm);


end{scope}


end{tikzpicture}

end{document}









share|improve this question









New contributor




Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm working in a project for university using latex and i'll make a gif explaning the radians of math! And I really dont know how to make this type of line (i'll put the example below) !! Plz help me guys!!



enter image description here



The project that ive done so far :D
http://www.mediafire.com/file/wc4xazt8k4h4t5h/testeAnime.pdf/file



WHAT IVE DONE :D



documentclass[border=1cm]{standalone}
usepackage[utf8]{inputenc}
usepackage{tikz}
begin{document}

begin{tikzpicture}





begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;

draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red] (0,0) -- (10,-0);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};

draw[red][fill] (0,0) circle (0.2cm);
draw[red][fill] (10,-0) circle (0.2cm);


end{scope}


end{tikzpicture}

end{document}






tikz-pgf animations






share|improve this question









New contributor




Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 44 mins ago







Felipe Fonseca













New contributor




Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









Felipe FonsecaFelipe Fonseca

235




235




New contributor




Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Felipe Fonseca is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    What have you tried so far? Please show some efforts

    – JouleV
    1 hour ago













  • I dont know how to send my animated pdf to you

    – Felipe Fonseca
    1 hour ago











  • i can show you what i've done so far

    – Felipe Fonseca
    1 hour ago






  • 2





    I am not asking for an animated PDF. I am asking for a LaTeX code that you have had, so that we know where you got stuck at and it will help us help you

    – JouleV
    1 hour ago






  • 1





    But you get this type of line in your MWE? What do you want to achieve? The animation?

    – marmot
    47 mins ago














  • 1





    What have you tried so far? Please show some efforts

    – JouleV
    1 hour ago













  • I dont know how to send my animated pdf to you

    – Felipe Fonseca
    1 hour ago











  • i can show you what i've done so far

    – Felipe Fonseca
    1 hour ago






  • 2





    I am not asking for an animated PDF. I am asking for a LaTeX code that you have had, so that we know where you got stuck at and it will help us help you

    – JouleV
    1 hour ago






  • 1





    But you get this type of line in your MWE? What do you want to achieve? The animation?

    – marmot
    47 mins ago








1




1





What have you tried so far? Please show some efforts

– JouleV
1 hour ago







What have you tried so far? Please show some efforts

– JouleV
1 hour ago















I dont know how to send my animated pdf to you

– Felipe Fonseca
1 hour ago





I dont know how to send my animated pdf to you

– Felipe Fonseca
1 hour ago













i can show you what i've done so far

– Felipe Fonseca
1 hour ago





i can show you what i've done so far

– Felipe Fonseca
1 hour ago




2




2





I am not asking for an animated PDF. I am asking for a LaTeX code that you have had, so that we know where you got stuck at and it will help us help you

– JouleV
1 hour ago





I am not asking for an animated PDF. I am asking for a LaTeX code that you have had, so that we know where you got stuck at and it will help us help you

– JouleV
1 hour ago




1




1





But you get this type of line in your MWE? What do you want to achieve? The animation?

– marmot
47 mins ago





But you get this type of line in your MWE? What do you want to achieve? The animation?

– marmot
47 mins ago










2 Answers
2






active

oldest

votes


















1














A PSTricks solution only for fun purposes.



documentclass[pstricks,border=12pt,12pt]{standalone}
radians
defobj#1{%
begin{pspicture}(-4,-4)(4,4)
pscircle{4}
psset{linecolor=red,linewidth=2pslinewidth}
psarc(0,0){4}{0}{#1}
rput{#1}(4;#1){psline(!0 1 #1 sub 4 mul)}
end{pspicture}}
begin{document}
foreach i in {0,0.1,...,1.0}{obj{i}}
end{document}


enter image description here






share|improve this answer
























  • OMG! You guys know everthing about latex! Damnnnnnnnnnnnnnn

    – Felipe Fonseca
    26 mins ago











  • @FelipeFonseca: I read your mind. :-)

    – Artificial Hairless Armpit
    25 mins ago











  • I need to transform this gif in latex :D google.com/…:

    – Felipe Fonseca
    22 mins ago



















3














If you wish to produce such animated gifs, you may want to compile



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {180,175,...,90}
{begin{tikzpicture}
begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) -- ++(X:10);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};
end{scope}
end{tikzpicture}}
end{document}


with pdflatex and then convert the resulting pdf with



convert -density 300 -delay 34 -loop 0 -alpha remove outfile.pdf ani.gif


to get



enter image description here



Or



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (0,0) -- ++(-X:10)
node[scale=15.5, red, midway,above,sloped,opacity=0.5] at (2,2) {r};
end{tikzpicture}}
end{document}


enter image description here



Or, inspired by this answer



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) arc(0:{2*X/pi}:10) -- ++ ({2*X/pi+90}:{10-10*X/90});
end{tikzpicture}}
end{document}


enter image description here






share|improve this answer


























  • omg man you are a beast!!!!!!!!!!!!!!!!!!! Ty so much! <3

    – Felipe Fonseca
    35 mins ago






  • 1





    @FelipeFonseca If marmot's answer helps you, consider accepting it by clicking on the checkmark on the left of the answer

    – JouleV
    32 mins ago











  • I clicked ! Ty so much! But just one more question :D There is a way to put marmot's animation frame by frama separed in diferents pdfs? Or it needs to be one?

    – Felipe Fonseca
    30 mins ago











  • Like ive done here: prntscr.com/nerl0s and prntscr.com/nerl3o

    – Felipe Fonseca
    29 mins ago












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
});


}
});






Felipe Fonseca is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485843%2fsimple-line-in-latex-help%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














A PSTricks solution only for fun purposes.



documentclass[pstricks,border=12pt,12pt]{standalone}
radians
defobj#1{%
begin{pspicture}(-4,-4)(4,4)
pscircle{4}
psset{linecolor=red,linewidth=2pslinewidth}
psarc(0,0){4}{0}{#1}
rput{#1}(4;#1){psline(!0 1 #1 sub 4 mul)}
end{pspicture}}
begin{document}
foreach i in {0,0.1,...,1.0}{obj{i}}
end{document}


enter image description here






share|improve this answer
























  • OMG! You guys know everthing about latex! Damnnnnnnnnnnnnnn

    – Felipe Fonseca
    26 mins ago











  • @FelipeFonseca: I read your mind. :-)

    – Artificial Hairless Armpit
    25 mins ago











  • I need to transform this gif in latex :D google.com/…:

    – Felipe Fonseca
    22 mins ago
















1














A PSTricks solution only for fun purposes.



documentclass[pstricks,border=12pt,12pt]{standalone}
radians
defobj#1{%
begin{pspicture}(-4,-4)(4,4)
pscircle{4}
psset{linecolor=red,linewidth=2pslinewidth}
psarc(0,0){4}{0}{#1}
rput{#1}(4;#1){psline(!0 1 #1 sub 4 mul)}
end{pspicture}}
begin{document}
foreach i in {0,0.1,...,1.0}{obj{i}}
end{document}


enter image description here






share|improve this answer
























  • OMG! You guys know everthing about latex! Damnnnnnnnnnnnnnn

    – Felipe Fonseca
    26 mins ago











  • @FelipeFonseca: I read your mind. :-)

    – Artificial Hairless Armpit
    25 mins ago











  • I need to transform this gif in latex :D google.com/…:

    – Felipe Fonseca
    22 mins ago














1












1








1







A PSTricks solution only for fun purposes.



documentclass[pstricks,border=12pt,12pt]{standalone}
radians
defobj#1{%
begin{pspicture}(-4,-4)(4,4)
pscircle{4}
psset{linecolor=red,linewidth=2pslinewidth}
psarc(0,0){4}{0}{#1}
rput{#1}(4;#1){psline(!0 1 #1 sub 4 mul)}
end{pspicture}}
begin{document}
foreach i in {0,0.1,...,1.0}{obj{i}}
end{document}


enter image description here






share|improve this answer













A PSTricks solution only for fun purposes.



documentclass[pstricks,border=12pt,12pt]{standalone}
radians
defobj#1{%
begin{pspicture}(-4,-4)(4,4)
pscircle{4}
psset{linecolor=red,linewidth=2pslinewidth}
psarc(0,0){4}{0}{#1}
rput{#1}(4;#1){psline(!0 1 #1 sub 4 mul)}
end{pspicture}}
begin{document}
foreach i in {0,0.1,...,1.0}{obj{i}}
end{document}


enter image description here







share|improve this answer












share|improve this answer



share|improve this answer










answered 28 mins ago









Artificial Hairless ArmpitArtificial Hairless Armpit

5,08911243




5,08911243













  • OMG! You guys know everthing about latex! Damnnnnnnnnnnnnnn

    – Felipe Fonseca
    26 mins ago











  • @FelipeFonseca: I read your mind. :-)

    – Artificial Hairless Armpit
    25 mins ago











  • I need to transform this gif in latex :D google.com/…:

    – Felipe Fonseca
    22 mins ago



















  • OMG! You guys know everthing about latex! Damnnnnnnnnnnnnnn

    – Felipe Fonseca
    26 mins ago











  • @FelipeFonseca: I read your mind. :-)

    – Artificial Hairless Armpit
    25 mins ago











  • I need to transform this gif in latex :D google.com/…:

    – Felipe Fonseca
    22 mins ago

















OMG! You guys know everthing about latex! Damnnnnnnnnnnnnnn

– Felipe Fonseca
26 mins ago





OMG! You guys know everthing about latex! Damnnnnnnnnnnnnnn

– Felipe Fonseca
26 mins ago













@FelipeFonseca: I read your mind. :-)

– Artificial Hairless Armpit
25 mins ago





@FelipeFonseca: I read your mind. :-)

– Artificial Hairless Armpit
25 mins ago













I need to transform this gif in latex :D google.com/…:

– Felipe Fonseca
22 mins ago





I need to transform this gif in latex :D google.com/…:

– Felipe Fonseca
22 mins ago











3














If you wish to produce such animated gifs, you may want to compile



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {180,175,...,90}
{begin{tikzpicture}
begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) -- ++(X:10);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};
end{scope}
end{tikzpicture}}
end{document}


with pdflatex and then convert the resulting pdf with



convert -density 300 -delay 34 -loop 0 -alpha remove outfile.pdf ani.gif


to get



enter image description here



Or



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (0,0) -- ++(-X:10)
node[scale=15.5, red, midway,above,sloped,opacity=0.5] at (2,2) {r};
end{tikzpicture}}
end{document}


enter image description here



Or, inspired by this answer



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) arc(0:{2*X/pi}:10) -- ++ ({2*X/pi+90}:{10-10*X/90});
end{tikzpicture}}
end{document}


enter image description here






share|improve this answer


























  • omg man you are a beast!!!!!!!!!!!!!!!!!!! Ty so much! <3

    – Felipe Fonseca
    35 mins ago






  • 1





    @FelipeFonseca If marmot's answer helps you, consider accepting it by clicking on the checkmark on the left of the answer

    – JouleV
    32 mins ago











  • I clicked ! Ty so much! But just one more question :D There is a way to put marmot's animation frame by frama separed in diferents pdfs? Or it needs to be one?

    – Felipe Fonseca
    30 mins ago











  • Like ive done here: prntscr.com/nerl0s and prntscr.com/nerl3o

    – Felipe Fonseca
    29 mins ago
















3














If you wish to produce such animated gifs, you may want to compile



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {180,175,...,90}
{begin{tikzpicture}
begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) -- ++(X:10);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};
end{scope}
end{tikzpicture}}
end{document}


with pdflatex and then convert the resulting pdf with



convert -density 300 -delay 34 -loop 0 -alpha remove outfile.pdf ani.gif


to get



enter image description here



Or



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (0,0) -- ++(-X:10)
node[scale=15.5, red, midway,above,sloped,opacity=0.5] at (2,2) {r};
end{tikzpicture}}
end{document}


enter image description here



Or, inspired by this answer



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) arc(0:{2*X/pi}:10) -- ++ ({2*X/pi+90}:{10-10*X/90});
end{tikzpicture}}
end{document}


enter image description here






share|improve this answer


























  • omg man you are a beast!!!!!!!!!!!!!!!!!!! Ty so much! <3

    – Felipe Fonseca
    35 mins ago






  • 1





    @FelipeFonseca If marmot's answer helps you, consider accepting it by clicking on the checkmark on the left of the answer

    – JouleV
    32 mins ago











  • I clicked ! Ty so much! But just one more question :D There is a way to put marmot's animation frame by frama separed in diferents pdfs? Or it needs to be one?

    – Felipe Fonseca
    30 mins ago











  • Like ive done here: prntscr.com/nerl0s and prntscr.com/nerl3o

    – Felipe Fonseca
    29 mins ago














3












3








3







If you wish to produce such animated gifs, you may want to compile



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {180,175,...,90}
{begin{tikzpicture}
begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) -- ++(X:10);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};
end{scope}
end{tikzpicture}}
end{document}


with pdflatex and then convert the resulting pdf with



convert -density 300 -delay 34 -loop 0 -alpha remove outfile.pdf ani.gif


to get



enter image description here



Or



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (0,0) -- ++(-X:10)
node[scale=15.5, red, midway,above,sloped,opacity=0.5] at (2,2) {r};
end{tikzpicture}}
end{document}


enter image description here



Or, inspired by this answer



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) arc(0:{2*X/pi}:10) -- ++ ({2*X/pi+90}:{10-10*X/90});
end{tikzpicture}}
end{document}


enter image description here






share|improve this answer















If you wish to produce such animated gifs, you may want to compile



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {180,175,...,90}
{begin{tikzpicture}
begin{scope}
draw (0,0) circle (10cm);
draw[line width=0.15cm, blue] (10,0) arc (0:360:10) ;
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) -- ++(X:10);
node[scale=15.5, red, right, opacity=0.5] at (2,2) {r};
end{scope}
end{tikzpicture}}
end{document}


with pdflatex and then convert the resulting pdf with



convert -density 300 -delay 34 -loop 0 -alpha remove outfile.pdf ani.gif


to get



enter image description here



Or



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (0,0) -- ++(-X:10)
node[scale=15.5, red, midway,above,sloped,opacity=0.5] at (2,2) {r};
end{tikzpicture}}
end{document}


enter image description here



Or, inspired by this answer



documentclass[border=1cm,tikz]{standalone}
usetikzlibrary{arrows.meta}
begin{document}
foreach X in {0,5,...,90}
{begin{tikzpicture}
draw[line width=0.15cm, blue] circle[radius=10cm];
draw[-] (-12,0) -- (12,0) node[right] {$x$};
draw[-] (0,-12) -- (0,12) node[above] {$y$};
draw[line width=0.15cm,red,{Circle}-{Circle},shorten >=-2*pgflinewidth,shorten
<=-2*pgflinewidth] (10,0) arc(0:{2*X/pi}:10) -- ++ ({2*X/pi+90}:{10-10*X/90});
end{tikzpicture}}
end{document}


enter image description here







share|improve this answer














share|improve this answer



share|improve this answer








edited 9 mins ago

























answered 40 mins ago









marmotmarmot

120k6154290




120k6154290













  • omg man you are a beast!!!!!!!!!!!!!!!!!!! Ty so much! <3

    – Felipe Fonseca
    35 mins ago






  • 1





    @FelipeFonseca If marmot's answer helps you, consider accepting it by clicking on the checkmark on the left of the answer

    – JouleV
    32 mins ago











  • I clicked ! Ty so much! But just one more question :D There is a way to put marmot's animation frame by frama separed in diferents pdfs? Or it needs to be one?

    – Felipe Fonseca
    30 mins ago











  • Like ive done here: prntscr.com/nerl0s and prntscr.com/nerl3o

    – Felipe Fonseca
    29 mins ago



















  • omg man you are a beast!!!!!!!!!!!!!!!!!!! Ty so much! <3

    – Felipe Fonseca
    35 mins ago






  • 1





    @FelipeFonseca If marmot's answer helps you, consider accepting it by clicking on the checkmark on the left of the answer

    – JouleV
    32 mins ago











  • I clicked ! Ty so much! But just one more question :D There is a way to put marmot's animation frame by frama separed in diferents pdfs? Or it needs to be one?

    – Felipe Fonseca
    30 mins ago











  • Like ive done here: prntscr.com/nerl0s and prntscr.com/nerl3o

    – Felipe Fonseca
    29 mins ago

















omg man you are a beast!!!!!!!!!!!!!!!!!!! Ty so much! <3

– Felipe Fonseca
35 mins ago





omg man you are a beast!!!!!!!!!!!!!!!!!!! Ty so much! <3

– Felipe Fonseca
35 mins ago




1




1





@FelipeFonseca If marmot's answer helps you, consider accepting it by clicking on the checkmark on the left of the answer

– JouleV
32 mins ago





@FelipeFonseca If marmot's answer helps you, consider accepting it by clicking on the checkmark on the left of the answer

– JouleV
32 mins ago













I clicked ! Ty so much! But just one more question :D There is a way to put marmot's animation frame by frama separed in diferents pdfs? Or it needs to be one?

– Felipe Fonseca
30 mins ago





I clicked ! Ty so much! But just one more question :D There is a way to put marmot's animation frame by frama separed in diferents pdfs? Or it needs to be one?

– Felipe Fonseca
30 mins ago













Like ive done here: prntscr.com/nerl0s and prntscr.com/nerl3o

– Felipe Fonseca
29 mins ago





Like ive done here: prntscr.com/nerl0s and prntscr.com/nerl3o

– Felipe Fonseca
29 mins ago










Felipe Fonseca is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















Felipe Fonseca is a new contributor. Be nice, and check out our Code of Conduct.













Felipe Fonseca is a new contributor. Be nice, and check out our Code of Conduct.












Felipe Fonseca 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f485843%2fsimple-line-in-latex-help%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

Should I use Docker or LXD?How to cache (more) data on SSD/RAM to avoid spin up?Unable to get Windows File...