How do I plot the graph of arctan using Tikz, NOT using pgfplots Announcing the arrival of...

Do you forfeit tax refunds/credits if you aren't required to and don't file by April 15?

How widely used is the term Treppenwitz? Is it something that most Germans know?

Does accepting a pardon have any bearing on trying that person for the same crime in a sovereign jurisdiction?

How to draw this diagram using TikZ package?

Single word antonym of "flightless"

What are 'alternative tunings' of a guitar and why would you use them? Doesn't it make it more difficult to play?

How much radiation do nuclear physics experiments expose researchers to nowadays?

"Seemed to had" is it correct?

Gastric acid as a weapon

The logistics of corpse disposal

When is phishing education going too far?

Is high blood pressure ever a symptom attributable solely to dehydration?

How to bypass password on Windows XP account?

Right-skewed distribution with mean equals to mode?

How can I make names more distinctive without making them longer?

Stars Make Stars

How do I mention the quality of my school without bragging

Check which numbers satisfy the condition [A*B*C = A! + B! + C!]

What's the purpose of writing one's academic bio in 3rd person?

What does the "x" in "x86" represent?

Can Pao de Queijo, and similar foods, be kosher for Passover?

How to assign captions for two tables in LaTeX?

Should I call the interviewer directly, if HR aren't responding?

What is the correct way to use the pinch test for dehydration?



How do I plot the graph of arctan using Tikz, NOT using pgfplots



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Draw a Line Between Two Points described by Trigonometric CalculationsTikZ scaling graphic and adjust node position and keep font sizeNumerical conditional within tikz keys?TikZ/ERD: node (=Entity) label on the insideComplex function plot using TikZ or PGFPlotsPositioning a node via using TikZ to calculate arctan(2)Polar plot using pgfplots/tikzPGFplots problem : not the good graphThickening the line in legend representationSine function in pgfplots and MATLAB. Why are different results obtained?how to plot a graph by using pgfplots












0















I am trying to plot the atan() function, but it keeps giving me an error. This is my code. What in the world am I doing wrong? Why doesn't it plot on the graph I made. Also I cannot use pgfplots.



begin{tikzpicture}
draw [help lines] (-5,-pi) grid (5,pi);
draw [->,thick] (-5,0) -- (0,0) -- (5,0) node [below] {small $x$};
draw [->,thick] (0,-pi) -- (0,pi) node [left] {small $y$};
foreach x in {-5,-4,...,5} draw (x, -0.1) -- (x,0.1);
foreach x in {-5,-4,...,-1} node at (x, -0.1) [below] {tiny $x$};
foreach x in {1,2,...,5} node at (x, -0.1) [below] {tiny $x$};

draw (-0.1, -pi/2) -- (0.1,-pi/2);
draw (-0.1, -pi/4) -- (0.1,-pi/4);
draw (-0.1, pi/4) -- (0.1,pi/4);
draw (-0.1, pi/2) -- (0.1,pi/2);

node at (-0.1, -pi/2) [left] {tiny $-pi/2$};
node at (-0.1, -pi/4) [left] {tiny $-pi/4$};
node at (-0.1, pi/4) [left] {tiny $pi/4$};
node at (-0.1, pi/2) [left] {tiny $pi/2$};

draw [scale=0.5,domain=0:5,variable=x] plot (x,atan(x r));

end{tikzpicture}








share







New contributor




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
















  • 1





    Enclose atan(x r) in braces: plot (x,{atan(x r)});

    – Phelype Oleinik
    4 mins ago











  • Possible duplicate of Draw a Line Between Two Points described by Trigonometric Calculations

    – Phelype Oleinik
    3 mins ago











  • Try draw[blue] plot[domain=0:5,variable=x,samples=71] (x,{atan(x r)*pi/180});, i.e. scale the plot to radians.

    – marmot
    15 secs ago
















0















I am trying to plot the atan() function, but it keeps giving me an error. This is my code. What in the world am I doing wrong? Why doesn't it plot on the graph I made. Also I cannot use pgfplots.



begin{tikzpicture}
draw [help lines] (-5,-pi) grid (5,pi);
draw [->,thick] (-5,0) -- (0,0) -- (5,0) node [below] {small $x$};
draw [->,thick] (0,-pi) -- (0,pi) node [left] {small $y$};
foreach x in {-5,-4,...,5} draw (x, -0.1) -- (x,0.1);
foreach x in {-5,-4,...,-1} node at (x, -0.1) [below] {tiny $x$};
foreach x in {1,2,...,5} node at (x, -0.1) [below] {tiny $x$};

draw (-0.1, -pi/2) -- (0.1,-pi/2);
draw (-0.1, -pi/4) -- (0.1,-pi/4);
draw (-0.1, pi/4) -- (0.1,pi/4);
draw (-0.1, pi/2) -- (0.1,pi/2);

node at (-0.1, -pi/2) [left] {tiny $-pi/2$};
node at (-0.1, -pi/4) [left] {tiny $-pi/4$};
node at (-0.1, pi/4) [left] {tiny $pi/4$};
node at (-0.1, pi/2) [left] {tiny $pi/2$};

draw [scale=0.5,domain=0:5,variable=x] plot (x,atan(x r));

end{tikzpicture}








share







New contributor




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
















  • 1





    Enclose atan(x r) in braces: plot (x,{atan(x r)});

    – Phelype Oleinik
    4 mins ago











  • Possible duplicate of Draw a Line Between Two Points described by Trigonometric Calculations

    – Phelype Oleinik
    3 mins ago











  • Try draw[blue] plot[domain=0:5,variable=x,samples=71] (x,{atan(x r)*pi/180});, i.e. scale the plot to radians.

    – marmot
    15 secs ago














0












0








0








I am trying to plot the atan() function, but it keeps giving me an error. This is my code. What in the world am I doing wrong? Why doesn't it plot on the graph I made. Also I cannot use pgfplots.



begin{tikzpicture}
draw [help lines] (-5,-pi) grid (5,pi);
draw [->,thick] (-5,0) -- (0,0) -- (5,0) node [below] {small $x$};
draw [->,thick] (0,-pi) -- (0,pi) node [left] {small $y$};
foreach x in {-5,-4,...,5} draw (x, -0.1) -- (x,0.1);
foreach x in {-5,-4,...,-1} node at (x, -0.1) [below] {tiny $x$};
foreach x in {1,2,...,5} node at (x, -0.1) [below] {tiny $x$};

draw (-0.1, -pi/2) -- (0.1,-pi/2);
draw (-0.1, -pi/4) -- (0.1,-pi/4);
draw (-0.1, pi/4) -- (0.1,pi/4);
draw (-0.1, pi/2) -- (0.1,pi/2);

node at (-0.1, -pi/2) [left] {tiny $-pi/2$};
node at (-0.1, -pi/4) [left] {tiny $-pi/4$};
node at (-0.1, pi/4) [left] {tiny $pi/4$};
node at (-0.1, pi/2) [left] {tiny $pi/2$};

draw [scale=0.5,domain=0:5,variable=x] plot (x,atan(x r));

end{tikzpicture}








share







New contributor




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












I am trying to plot the atan() function, but it keeps giving me an error. This is my code. What in the world am I doing wrong? Why doesn't it plot on the graph I made. Also I cannot use pgfplots.



begin{tikzpicture}
draw [help lines] (-5,-pi) grid (5,pi);
draw [->,thick] (-5,0) -- (0,0) -- (5,0) node [below] {small $x$};
draw [->,thick] (0,-pi) -- (0,pi) node [left] {small $y$};
foreach x in {-5,-4,...,5} draw (x, -0.1) -- (x,0.1);
foreach x in {-5,-4,...,-1} node at (x, -0.1) [below] {tiny $x$};
foreach x in {1,2,...,5} node at (x, -0.1) [below] {tiny $x$};

draw (-0.1, -pi/2) -- (0.1,-pi/2);
draw (-0.1, -pi/4) -- (0.1,-pi/4);
draw (-0.1, pi/4) -- (0.1,pi/4);
draw (-0.1, pi/2) -- (0.1,pi/2);

node at (-0.1, -pi/2) [left] {tiny $-pi/2$};
node at (-0.1, -pi/4) [left] {tiny $-pi/4$};
node at (-0.1, pi/4) [left] {tiny $pi/4$};
node at (-0.1, pi/2) [left] {tiny $pi/2$};

draw [scale=0.5,domain=0:5,variable=x] plot (x,atan(x r));

end{tikzpicture}






tikz-pgf





share







New contributor




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










share







New contributor




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








share



share






New contributor




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









asked 7 mins ago









user185895user185895

1




1




New contributor




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





New contributor





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






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








  • 1





    Enclose atan(x r) in braces: plot (x,{atan(x r)});

    – Phelype Oleinik
    4 mins ago











  • Possible duplicate of Draw a Line Between Two Points described by Trigonometric Calculations

    – Phelype Oleinik
    3 mins ago











  • Try draw[blue] plot[domain=0:5,variable=x,samples=71] (x,{atan(x r)*pi/180});, i.e. scale the plot to radians.

    – marmot
    15 secs ago














  • 1





    Enclose atan(x r) in braces: plot (x,{atan(x r)});

    – Phelype Oleinik
    4 mins ago











  • Possible duplicate of Draw a Line Between Two Points described by Trigonometric Calculations

    – Phelype Oleinik
    3 mins ago











  • Try draw[blue] plot[domain=0:5,variable=x,samples=71] (x,{atan(x r)*pi/180});, i.e. scale the plot to radians.

    – marmot
    15 secs ago








1




1





Enclose atan(x r) in braces: plot (x,{atan(x r)});

– Phelype Oleinik
4 mins ago





Enclose atan(x r) in braces: plot (x,{atan(x r)});

– Phelype Oleinik
4 mins ago













Possible duplicate of Draw a Line Between Two Points described by Trigonometric Calculations

– Phelype Oleinik
3 mins ago





Possible duplicate of Draw a Line Between Two Points described by Trigonometric Calculations

– Phelype Oleinik
3 mins ago













Try draw[blue] plot[domain=0:5,variable=x,samples=71] (x,{atan(x r)*pi/180});, i.e. scale the plot to radians.

– marmot
15 secs ago





Try draw[blue] plot[domain=0:5,variable=x,samples=71] (x,{atan(x r)*pi/180});, i.e. scale the plot to radians.

– marmot
15 secs ago










0






active

oldest

votes












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


}
});






user185895 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%2f485060%2fhow-do-i-plot-the-graph-of-arctan-using-tikz-not-using-pgfplots%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








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










draft saved

draft discarded


















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













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












user185895 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%2f485060%2fhow-do-i-plot-the-graph-of-arctan-using-tikz-not-using-pgfplots%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

Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...