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

Are my PIs rude or am I just being too sensitive?

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

Output the ŋarâþ crîþ alphabet song without using (m)any letters

Can inflation occur in a positive-sum game currency system such as the Stack Exchange reputation system?

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

Bonus calculation: Am I making a mountain out of a molehill?

Should I discuss the type of campaign with my players?

How to assign captions for two tables in LaTeX?

I am not a queen, who am I?

Why did the IBM 650 use bi-quinary?

When to stop saving and start investing?

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

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

Doubts about chords

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

When is phishing education going too far?

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

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

Sorting numerically

How to recreate this effect in Photoshop?

Is there a service that would inform me whenever a new direct route is scheduled from a given airport?

What would be the ideal power source for a cybernetic eye?

What are the motives behind Cersei's orders given to Bronn?

Storing hydrofluoric acid before the invention of plastics



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
    10 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
    10 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
    10 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
    10 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
10 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
10 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

El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

Castillo d'Acher Características Menú de navegación

Connecting two nodes from the same mother node horizontallyTikZ: What EXACTLY does the the |- notation for...