Questions tagged [polar]
The polar tag has no usage guidance.
21
questions
2
votes
3
answers
88
views
Overriding the (0,0) Default When Using Pstricks Polar Coordinates
Consider the code
\documentclass[12pt]{book}
\usepackage{pstricks,xcolor,graphicx}
\begin{document}
\thispagestyle{empty}
\begin{pspicture}(-5,-5)(5,12)%
\psframe[fillcolor=yellow!35!brown,...
2
votes
1
answer
49
views
Scatter Plotting an Image in a Pspicture with Polar-Type Coordinates
I would like to be able to direct an image from a fixed point in a pspicture to various locations in the picture individual specifying angles and radii from that point.
Consider the code (which I ...
1
vote
1
answer
71
views
An Efficient Method for Drawing a Constellation of Glowing Stars
As an application of the question posed in How to Give Stars a Glow Effect
Consider the code
\documentclass{book}
\textheight 8.5in \textwidth 5.75in
\usepackage{tikz}
\usetikzlibrary{fadings, calc}
...
0
votes
1
answer
46
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 ...
1
vote
1
answer
84
views
Drawing Lemniscate of Bernoulli
I want to draw the Lemniscate of Bernoulli. Its polar equation is r^2=a^2\cos(2\theta), so it should be quite straightforward to plot.
Choosing a=2, I tried with the following
\documentclass{...
4
votes
1
answer
112
views
pgfplot polaraxis y tick labels overlapping
I am just trying to create a polar axis plot with yticks being 0.5,0.75,...2.5. However, when I go through with it using:
documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[a4paper, margin=...
2
votes
1
answer
64
views
tikz-3dplot : discordance between polar and Cartesian coordinates ? (solved)
Recently I used the package tikz-3dplot to draw a figure until I was confronted to a very strange issue. I finally build a Minimal Working Example to isolate the problem and fully annotated it to ...
1
vote
1
answer
93
views
Polar plot with small values and coordinate transformations leads to a "Dimension too large error"
EDIT : As it seems to be a bug in pgfplots an issue has been opened: https://github.com/pgf-tikz/pgfplots/issues/360
While plotting polar axes, I faced an issue when transforming small quandtities ...
3
votes
1
answer
40
views
Logarithmic Y axis in pgfplots - Inaccurate Numbers
Following this thread and this thread regarding logarithmic Y axis in pgfplots polar charts, although the solution works great graphically, the numbers suffer from rounding errors during calculations. ...
1
vote
1
answer
47
views
Logarithmic Y axis + Colors + Arrow Heads in pgfplots polar charts
I am trying to merge the excellent solution for using logarithmic Y axis in pgfplots polar charts with the excellent solution for adding colors and arrow heads decorations to pgfplots polar chart. ...
2
votes
1
answer
98
views
Logarithmic Y Axis in pgfplots polar charts
I am trying to use logarithmic Y Axis in pgfplots polar charts by specifying ymode=log:
\documentclass[]{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{polar}
\pgfplotsset{compat=1.12}
\begin{...
3
votes
1
answer
210
views
How to add colors and arrow heads decorations to pgfplots polar chart
I am trying to add different colors and arrow heads to a polar chart:
\documentclass[]{standalone}
\usepackage{pgfplots}
\usepgfplotslibrary{polar}
\pgfplotsset{compat=1.12}
\begin{document}
\begin{...
2
votes
1
answer
67
views
nodes near coords with pgfplots polar
Using pgfplots for polar charts, is it possible to write the y value at the edge of every data line, in a way that the line will not hide the value (as shown in the picture)?
\documentclass[]{...
1
vote
1
answer
72
views
How to make this graph of a converted polar equation?
I need to recreate the following graph on the right side. It has to be in the normal, nonpolar axis.
5
votes
2
answers
395
views
Rotating polar contour plot messes with alignment of plot and axis
I am generating polar contour plots. In my industry, it is convention to put 0 degrees on the bottom rather than the right. My initial attempt was to use rotate=-90 within the polaraxis environment, ...
4
votes
1
answer
77
views
ticklabels for polaraxis plot
How can I add ^\circ to all xticklabels in a polaraxis plot? The following attempt adds a lot of filling zeros:
\begin{tikzpicture}
\def\y{50}
\begin{polaraxis}[
xtick={0,30,...,...
2
votes
1
answer
421
views
sketching a polar curve using tikz and orientation counterclockwise
I would like to modify the code below so that
Can I indicate the counterclockwise directions with arrow
-- from O to B
-- from B to A
-- from A to O
Also, 2. Can we indicate theta_1 and theta_2 ...
0
votes
1
answer
219
views
drawing a polar type region and shading area using latex [closed]
I would like to draw the attached picture and insert it in a latex document. I was wondering if someone can help me?
3
votes
3
answers
193
views
Rectangle parallel to a radial direction
I wanted to draw a rectangle parallel to a radial direction and I achieved this, but I would like to know if there is a more elegant way to do it.
Here is my MWE:
\documentclass[border = 0.5cm]{...
3
votes
2
answers
2k
views
pgfplots: How to remove all axis lines of polaraxis?
I need to draw a polar coordinate system without border lines.
Adding axis lines=none (without star) to pgfplot's polaraxis argument list blanks out the coordinate system completely (including grid ...
10
votes
2
answers
3k
views
Axis ticks in radians in polar pgfplots
I am using the polar library with pgfplots to plot a graph like this:
\begin{tikzpicture}
\begin{polaraxis}
\addplot[mark = none, domain = 0.4:12, samples = 600, data cs = polarrad]{sin(x)};
\end{...