Questions tagged [atan2]
The atan2 tag has no summary.
4 questions
1 vote
0 answers
149 views
Unexpected behavior of atan2() function with pgfplots
Hi I'd like to draw some Bode-like plots, the atan2() function seems to not work correctly at some combination of values. I managed to re-create the minimal working code to show the problem: I am ...
0 votes
1 answer
169 views
Evaluate rotation based on atan x
I would like to express the angle of rotation for the tangent line in terms of atan x using the slope (which is calculated earlier in the problem). I can get it to work using the angle but I do not ...
0 votes
1 answer
205 views
Transform cartesian coordinates to polar coordinates
I am working with tikz. I want to draw a line that is rectangular to a certain other line and has a certain length. The coordinates are defined as cartesian. What I am searching for is a function to ...
2 votes
4 answers
511 views
How to plot atan2(x,y) like?
How do i plot atan2(y,x) like the Wikipedia picture https://en.wikipedia.org/wiki/Atan2#/media/File:Atan2_diagram.svg I tried \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.10}...