Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [polarplot]

Plots in polar coordinate

Filter by
Sorted by
Tagged with
0 votes
1 answer
46 views

Adding text with reference to yticklabel in polar plot

I have a polar plot with a not very clever dB label under yticklabel. In this case everything is fine, but I want to change many such charts but with a different y-range, so I need to add a label with ...
Chey's user avatar
  • 85
0 votes
0 answers
36 views

how to magnify part of a polar plot using spy library

I need to magnify a region around the origin of a polar plot by using the spy library. I already (successfully) used the library before in Cartersian coordinates. However, in this case, I am not sure ...
Euclides's user avatar
3 votes
1 answer
77 views

Error bars in polaraxis plot

I am trying to create a polaraxis plot with error bars for the y datapoints. I tried it with error bars/.cd similar to how it is done with an axis plot, but the result gets very messy. For context, ...
KarateKlaus's user avatar
2 votes
2 answers
79 views

change point color in tikz polar coordinates

im currently struggling with changing the color of single points in polar coordinates. I want to create a visualisation for the HSV colorspace by using a cylinder. Thanks to HSV shading of cone in ...
Philipp Bleimund's user avatar
5 votes
1 answer
143 views

Merging 2 hemispheres using tikz

I am trying to reproduce this complicated figure using tikz : this consists of 2 merging hemisphere as shown below : I don't know if this is really difficult in latex but I have tried to inspire ...
Waxler's user avatar
  • 776
3 votes
1 answer
57 views

Pgfplots quarter-circle polar axis: drawing ticks on the 0-degree axis instead of 90-degree

I've drawn a quarter-circle polar axis with pgfplots. However, the ticks are drawn on the 90-degrees axis whereas the tick labels are drawn on the 0-degrees axis. Can I fix this with pgfplots options? ...
Anna's user avatar
  • 837
3 votes
1 answer
82 views

Polar Plot with selective display

I have been encountering a problem with my polar plot now. The original code is shown as below: \documentclass[10pt,border=10pt]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{polar} \...
YIL's user avatar
  • 55
2 votes
1 answer
80 views

Change the position of ylabel in this polar plot

First this is my latex code to plot the radiation pattern. \documentclass[10pt,border=10pt]{standalone} \usepackage{pgfplots} \usepgfplotslibrary{polar} \pgfplotsset{compat=1.12} \begin{document} ...
YIL's user avatar
  • 55
2 votes
1 answer
151 views

How to rotate a polar plot without rotating the grid lines

Please, how do I rotate the following polar plot without rotating its grid lines and polar axis lines? To make it clearer, I just want to rotate the petals alone without rotating any axis or grid ...
Abdulhafeez Ayinde Abdulsalam's user avatar
5 votes
3 answers
258 views

Coloring petals of a polar curve

Please, how do I color each of the five petals of the following polar curve with different colors? \usepackage{pgfplots} \usepgfplotslibrary{polar} \pgfplotsset{compat=newest} \begin{document} \...
Abdulhafeez Ayinde Abdulsalam's user avatar
2 votes
3 answers
125 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,...
DDS's user avatar
  • 9,008
5 votes
2 answers
303 views

Polar Axes Radians

You can see from this example (found online) I have a radius of 1. Is there a way to increase the radius to four or five? I am trying to make a template for my students to graph on. \documentclass[...
Nick B's user avatar
  • 881
2 votes
2 answers
233 views

Building a 2D Polar Histogram with PGFPlots

When I read the paper G.A. Jacobs et al./ Advances in Space Research, 68 (2021), 746--761, I found such an interesting figure: Let's call it a 2D polar histogram. (Maybe it has a more suitable name?) ...
J.W Kang's user avatar
  • 121
-1 votes
1 answer
529 views

Polar Lemniscate Bernoulli in Latex

I would like to plot a lemniscate Bernoulli (2D) in Latex and in polar coordinates, but I haven’t the appropriate code. Probably it would be easier to plot that in Octave or gnuplot, but I have a ...
Spyridon Kanavos's user avatar
0 votes
1 answer
201 views

Plotting in Polar coordinates

I expected the following polar plot to generate something that looks like a parabola. It does not. \documentclass[a4paper,11pt]{article} \usepackage{array} \usepackage{float} \usepackage{tikz} \...
Bob's user avatar
  • 255
0 votes
1 answer
308 views

Plot straight lines with pgfplots using polaraxis with legend

I am trying to plot straight lines in the polaraxis environment (which is a requirement). Since they must pass by the origin, the parametric polar equation is of the form $\theta=constant$. However, ...
mekano's user avatar
  • 3
2 votes
1 answer
807 views

Plotting resistance and reactance curves on the Smith Chart

For my class, I have been trying to plot constant resistance and reactance curves on the Smith chart. While the latter appears to be straightforward, the only way I can think of for the former is ...
Hasan Tahir Abbas's user avatar
0 votes
2 answers
45 views

Custom Plot (not over the addplot command). How to from Cartesian to Polar Grid

I would like to display a Polar Grid instead of the cartesian axes (see lines 9 and 10). The following code creates a custom plot (not over the addplot command of pgfplots package). With what needs ...
John's user avatar
  • 25
0 votes
1 answer
518 views

Drawing lines in polar coordinates (polaraxis)

I am trying to draw a picture of a line but using a polar coordinate system: \begin{center} \begin{tikzpicture} \begin{polaraxis}[ xticklabels={,0,$\frac\pi6$,$\frac\pi3$,$\frac\pi2$,$\frac{2\pi}3$,$\...
Ecoi's user avatar
  • 57
1 vote
2 answers
271 views

Shading with polar curves when using tikzfillbetween

I am currently trying to depict a portion of a ring which got distorted at one point. To this end, first I am plotting two curves into polar coordinates, then I am using tikzfillbetween command ...
Yacola's user avatar
  • 153
1 vote
1 answer
866 views

Pgfplots polar contour plot from file table with shading

I want to generate a polar plot with a colorbar quite similar to this one: from this question: Rotating polar contour plot messes with alignment of plot and axis I want to use this file with the ...
user3116388's user avatar
2 votes
3 answers
365 views

Tikz: Labeling around a circle and drawing concentring arrows

I have the following code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{math,arrows.meta} \begin{document} \tikzmath{\radiusarrow = 3; \radiusmax = 4;} \centering ...
Julien M.'s user avatar
  • 155
1 vote
1 answer
236 views

Polar plot using pgfplots>polaraxis in Plain Tex

I use polaraxis a lot in the pgfplots package. It works well in LaTex. However, in Plain Tex I get an error like the following: ! Undefined control sequence. \pgfplots@environment@polaraxis@ [#1]->\...
Jun's user avatar
  • 39
2 votes
1 answer
129 views

How to draw const plot on polar axis?

I want to draw planisphere with constellation borders from file with points. But points are connected by line, not arcs. \begin{polaraxis} \addplot+[mark=none,very thin,blue,solid,const plot] ...
Masaya Kato's user avatar
2 votes
1 answer
127 views

pgfplots: polaraxis | polar | unable to add annotation (\draw, \node)

I think, that I miss the obvious! I want to create a (empty) polar diagram with the pgfplots package. I want to add some custom annotations etc. using tikz commands (\draw or \node, for example). ...
Dr. Manuel Kuehner's user avatar
6 votes
2 answers
479 views

Tikz/pgfplots shade to origin (polar)

I'm trying to shade in just one petal of a polar function. Specifically, I was wondering if there was a way to shade in the bounded region that lives between my two rays: I've tried searching for ...
Donnie Nathan Chad's user avatar
1 vote
1 answer
76 views

Legend style option has no effect in polaraxis

Setting the global option label style in a polaraxis does not seem to have any effect. Is there a specific style to use in this case ? I could not find any in the documentation. % arara: pdflatex \...
BambOo's user avatar
  • 8,831
3 votes
1 answer
531 views

PGFPlots fill color in polar plot from data set

My aim is to create a polar plot from a data set, where an additional data column defines the fill color radially out from the center. Can this be done in PGFPlots? In the example below, I create a ...
David H.'s user avatar
3 votes
1 answer
255 views

Draw multiple polar graphs in different positions on a common coordination system - Tikz

I am trying to plot several polar graphs in a tikzpicture. The idea is to plot the same function but for different parameters. An idea of what I am trying to achieve can be seen below Although I am ...
Thanos's user avatar
  • 12.5k
2 votes
1 answer
591 views

Clean solution to move yaxis in polar plot

I want to be able to plot the upper half of the attached polar plot (MWE), by setting xmin=0 and xmax=180. This, however, is non-trivial when I at the same time want to have the yaxis with labels and ...
user2978680's user avatar
5 votes
1 answer
342 views

LATEX Removing part of shaded area in polar plot

I've been working on creating the following picture using TikZ. The following code is as far as I've gotten. \documentclass[width=5cm, height=5cm, border=2mm]{standalone} \usepackage{tikz} \begin{...
salami_pirate's user avatar
2 votes
1 answer
848 views

LATEX Tikz shading region between polar plots

I'm attempting to use just Tikz to shade in the region within the polar plot but outside of the internal circle as seen in the screenshot below... I understand that pgf plots might be the better ...
salami_pirate's user avatar
6 votes
1 answer
419 views

Logarithmic polarplot with TikZ/pgfplot

I'd like to do a logarithmic polar plot like the one in Wikipedia Polar Plot. I've come up with the following PGF Plot so far: \documentclass[border=5mm]{standalone} \usepackage{pgfplots} \...
Chipmuenk's user avatar
  • 203
16 votes
3 answers
1k views

PGFPlots: Background color for polar plot

I would like to draw a so called "skyplot" in PGFPlots. Skyplots display satellites with their positions over the visible sky. In addition, I would like to draw a background for some specific ...
BigMick's user avatar
  • 263
10 votes
4 answers
2k views

Shading a region between two polar curves

I'm using Tikz and have two polar curves r=1.5+cos(t) and r=1.5. I would like to fill (shade) the area between curves (shown by an arrow on the picture). How can I do this? Maybe using \clip or ...
user35603's user avatar
  • 307
1 vote
1 answer
462 views

Filled circular sections in polar axis, tikz

I would like to draw and fill circular sections in a polar axis, with 0 deg in correspondence of the current vertical axis, as in the first example picture. Unfortunately I couldn't find any similar ...
Davide's user avatar
  • 67
3 votes
1 answer
798 views

Fill Between with Multiple Tikzpicture

I am using PGFPlots version 1.14 and PGF version 3.0.1a and am having a weird effect with fill between. The coloring for fill between is appearing in the subsequent graph, not in the graph it was ...
Matt's user avatar
  • 41
3 votes
1 answer
263 views

How to draw this z-grid graph of constant damping factors and natural frequencies pt2

This question is building from the elegant solution given by marsupilam found here: How to draw this z-grid graph of constant damping factors and natural frequencies How to plot the other have of ...
Joe's user avatar
  • 9,080
1 vote
0 answers
103 views

Plot a Polar Cordinate Node point [duplicate]

This question is building from the elegant solution posted by marsupilam found here. I am trying to plot the a point on this plot with coordinates 0.7201 + j0.5093. When I put this point in like ...
Joe's user avatar
  • 9,080
4 votes
1 answer
1k views

How can I draw a curved surface in a polar coordinate system?

I'm fairly new to using TikZ and so far I've got a spherical coordinate system, and labelled the point P at which I want to draw a curved surface. A full sphere of unit radius, for example, would be a ...
bluprince13's user avatar
2 votes
1 answer
3k views

change the origin of polar coordinates in tikz

I am using TikZ automata to draw a roted tree digraph. I'd like to use a \froeach loop at every node to build the next generation (in polar coordinates relative to tha actual node). Thus, it would be ...
suitangi's user avatar
  • 799
3 votes
1 answer
496 views

pgfplots - Nodes on polar curve r=1+cos(x)

I want to draw circles as node on polar curve r=1+cos(x) with equal intervals. I can draw one node on curve, say for 30 degree, using parametric equation of curve using code below. \documentclass[...
user avatar
13 votes
4 answers
3k views

How to draw polar grid system around another grid for object in TikZ 3D?

I am trying to put two polar planes/axes around an object (here a heart in Fig. 2) by TikZ/... translations and rotations for 3D phenomena. I think the problem is to Translate and rotate the second ...
Léo Léopold Hertz 준영's user avatar
4 votes
2 answers
506 views

Polar coordinate axes

I am trying to create a set of polar coordinate axes using this code: \documentclass[pstricks,preview,margin=0pt]{standalone} \usepackage{pst-plot,graphicx} \begin{document} \psset{linecolor=black,...
posfan12's user avatar
  • 379
2 votes
1 answer
205 views

Polaraxis nonaligned negative yticklabel

I would like to plot a polar plot in dB scaling, in this case I have positive and negative values. Usually a negative radius is plotted in the opposite direction, but with the help of transforming the ...
Roos's user avatar
  • 284
1 vote
2 answers
213 views

Can one generate a 'boxed polar plot' with pgfplots and polaraxis?

Sometimes data to be plotted on a polar plot take large values in a specific direction. Is it possible to shape a polar plot created with pgfplots and the polaraxis environment (for example via ...
Antonio's user avatar
  • 57
1 vote
1 answer
372 views

Producing an a transducer directivity pattern with dB scale

Edit: Question updated to address comments from Willie Wong. The directiviy pattern now plots as I've added 90 to each value. I need the y-axis to read from -N to 0 dB where N will vary, however when ...
BenK-G's user avatar
  • 77
2 votes
1 answer
770 views

pgfplot with polar axis with log scale

Could it be possible to have a pgfplot plot the linear coordinate in log scale? \begin{tikzpicture} \begin{polaraxis}[xmin=0,xmax=45, xtick={0,45,90}, xticklabels={$0$, $\frac{\pi}{4}$, $\frac{\pi}{...
aaragon's user avatar
  • 3,051
4 votes
0 answers
611 views

Rotating polar pgfplot [closed]

I rotated my polar plot by 90 degree. To make sure, the y-Line stays at the 90 degree position I used xmin=90, xmax=450, but now I need my xtick labels back from 0 to 330. \documentclass[a4paper, ...
MajorC's user avatar
  • 93
2 votes
0 answers
74 views

Rotate ytick after rotating polaraxis

I rotated a polaraxis 90 degree CCW. \documentclass[a4paper, 11pt]{report} \usepackage{pgfplots} %Plots direkt in LaTeX aus externen Dateien berechnen \pgfplotsset{compat = newest} % Use the latest ...
MajorC's user avatar
  • 93