set layers in PGFPLOTS polarplot not working as expected
Clash Royale CLAN TAG#URR8PPP
up vote
3
down vote
favorite
I have following code:
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, xticklabel=pgfmathprintnumberticksidegree, set layers=default]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
It draws some plots to a polar plot. With the first plot I try to fill the inner of the unit circle. However, I have not succeeded in doing so. I want the circle to be behind the axis. For this, I tried set layers in the options of the axis environment.
The first problem I experience is that: set layers=defautl and set layers should have the same effect, according to the documentation, but they don't. With set layers (without default), the axes vanish. with default the axes stay.
With the key on layer=axis background I tried to move the first plot behind the axes, as described here.
This does not work because the layer is unknown. I then tried set layers=standard. With this setting, the layer name is known, but the axes disappear again.
Can someone tell me, how to draw a plot behind polar axes?
Thank you
EDIT:
I've created a mimimal (not) working example with three varieties of code. The first two images should create the same output but they don't. The last one doen't do anything.
documentclass[tikz]standalone
usepackagepgfplots
pgfplotssetcompat=1.16
usepackagepgfplotstable
usepgfplotslibrarypolar
usepackagetikz
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers=default]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
endpolaraxis
endtikzpicture
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
endpolaraxis
endtikzpicture
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers=standard]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360, on layer=axis background]1;
endpolaraxis
endtikzpicture
enddocument
tikz-pgf pgfplots
add a comment |Â
up vote
3
down vote
favorite
I have following code:
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, xticklabel=pgfmathprintnumberticksidegree, set layers=default]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
It draws some plots to a polar plot. With the first plot I try to fill the inner of the unit circle. However, I have not succeeded in doing so. I want the circle to be behind the axis. For this, I tried set layers in the options of the axis environment.
The first problem I experience is that: set layers=defautl and set layers should have the same effect, according to the documentation, but they don't. With set layers (without default), the axes vanish. with default the axes stay.
With the key on layer=axis background I tried to move the first plot behind the axes, as described here.
This does not work because the layer is unknown. I then tried set layers=standard. With this setting, the layer name is known, but the axes disappear again.
Can someone tell me, how to draw a plot behind polar axes?
Thank you
EDIT:
I've created a mimimal (not) working example with three varieties of code. The first two images should create the same output but they don't. The last one doen't do anything.
documentclass[tikz]standalone
usepackagepgfplots
pgfplotssetcompat=1.16
usepackagepgfplotstable
usepgfplotslibrarypolar
usepackagetikz
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers=default]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
endpolaraxis
endtikzpicture
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
endpolaraxis
endtikzpicture
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers=standard]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360, on layer=axis background]1;
endpolaraxis
endtikzpicture
enddocument
tikz-pgf pgfplots
Please provide a complete MWE (and tryaxis on top
). Nobody hasstable.csv
, so please also add a short csv file.
â marmot
2 hours ago
The code does the same thing without the two csv files. You can just comment these lines, but I will try to create a MWE.
â GNA
2 hours ago
If I comment out the two csv files, then the circle is on the background.
â marmot
2 hours ago
I want the circle to be behind the axis and the plots in front of the axis. But the documentation is wrong. axis on top helps, but in this case all plots are in front of the axis, which is not what I want.
â GNA
2 hours ago
Writing 'set layers' causes the axis to completely disappear. I only get the gray filled circle.
â GNA
2 hours ago
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I have following code:
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, xticklabel=pgfmathprintnumberticksidegree, set layers=default]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
It draws some plots to a polar plot. With the first plot I try to fill the inner of the unit circle. However, I have not succeeded in doing so. I want the circle to be behind the axis. For this, I tried set layers in the options of the axis environment.
The first problem I experience is that: set layers=defautl and set layers should have the same effect, according to the documentation, but they don't. With set layers (without default), the axes vanish. with default the axes stay.
With the key on layer=axis background I tried to move the first plot behind the axes, as described here.
This does not work because the layer is unknown. I then tried set layers=standard. With this setting, the layer name is known, but the axes disappear again.
Can someone tell me, how to draw a plot behind polar axes?
Thank you
EDIT:
I've created a mimimal (not) working example with three varieties of code. The first two images should create the same output but they don't. The last one doen't do anything.
documentclass[tikz]standalone
usepackagepgfplots
pgfplotssetcompat=1.16
usepackagepgfplotstable
usepgfplotslibrarypolar
usepackagetikz
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers=default]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
endpolaraxis
endtikzpicture
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
endpolaraxis
endtikzpicture
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers=standard]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360, on layer=axis background]1;
endpolaraxis
endtikzpicture
enddocument
tikz-pgf pgfplots
I have following code:
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, xticklabel=pgfmathprintnumberticksidegree, set layers=default]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
It draws some plots to a polar plot. With the first plot I try to fill the inner of the unit circle. However, I have not succeeded in doing so. I want the circle to be behind the axis. For this, I tried set layers in the options of the axis environment.
The first problem I experience is that: set layers=defautl and set layers should have the same effect, according to the documentation, but they don't. With set layers (without default), the axes vanish. with default the axes stay.
With the key on layer=axis background I tried to move the first plot behind the axes, as described here.
This does not work because the layer is unknown. I then tried set layers=standard. With this setting, the layer name is known, but the axes disappear again.
Can someone tell me, how to draw a plot behind polar axes?
Thank you
EDIT:
I've created a mimimal (not) working example with three varieties of code. The first two images should create the same output but they don't. The last one doen't do anything.
documentclass[tikz]standalone
usepackagepgfplots
pgfplotssetcompat=1.16
usepackagepgfplotstable
usepgfplotslibrarypolar
usepackagetikz
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers=default]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
endpolaraxis
endtikzpicture
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
endpolaraxis
endtikzpicture
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5, set
layers=standard]
addplot[thick,fill=gray,draw=none,opacity=0.5, domain=0:360,
samples=360, on layer=axis background]1;
endpolaraxis
endtikzpicture
enddocument
tikz-pgf pgfplots
tikz-pgf pgfplots
edited 1 hour ago
asked 2 hours ago
GNA
706
706
Please provide a complete MWE (and tryaxis on top
). Nobody hasstable.csv
, so please also add a short csv file.
â marmot
2 hours ago
The code does the same thing without the two csv files. You can just comment these lines, but I will try to create a MWE.
â GNA
2 hours ago
If I comment out the two csv files, then the circle is on the background.
â marmot
2 hours ago
I want the circle to be behind the axis and the plots in front of the axis. But the documentation is wrong. axis on top helps, but in this case all plots are in front of the axis, which is not what I want.
â GNA
2 hours ago
Writing 'set layers' causes the axis to completely disappear. I only get the gray filled circle.
â GNA
2 hours ago
add a comment |Â
Please provide a complete MWE (and tryaxis on top
). Nobody hasstable.csv
, so please also add a short csv file.
â marmot
2 hours ago
The code does the same thing without the two csv files. You can just comment these lines, but I will try to create a MWE.
â GNA
2 hours ago
If I comment out the two csv files, then the circle is on the background.
â marmot
2 hours ago
I want the circle to be behind the axis and the plots in front of the axis. But the documentation is wrong. axis on top helps, but in this case all plots are in front of the axis, which is not what I want.
â GNA
2 hours ago
Writing 'set layers' causes the axis to completely disappear. I only get the gray filled circle.
â GNA
2 hours ago
Please provide a complete MWE (and try
axis on top
). Nobody has stable.csv
, so please also add a short csv file.â marmot
2 hours ago
Please provide a complete MWE (and try
axis on top
). Nobody has stable.csv
, so please also add a short csv file.â marmot
2 hours ago
The code does the same thing without the two csv files. You can just comment these lines, but I will try to create a MWE.
â GNA
2 hours ago
The code does the same thing without the two csv files. You can just comment these lines, but I will try to create a MWE.
â GNA
2 hours ago
If I comment out the two csv files, then the circle is on the background.
â marmot
2 hours ago
If I comment out the two csv files, then the circle is on the background.
â marmot
2 hours ago
I want the circle to be behind the axis and the plots in front of the axis. But the documentation is wrong. axis on top helps, but in this case all plots are in front of the axis, which is not what I want.
â GNA
2 hours ago
I want the circle to be behind the axis and the plots in front of the axis. But the documentation is wrong. axis on top helps, but in this case all plots are in front of the axis, which is not what I want.
â GNA
2 hours ago
Writing 'set layers' causes the axis to completely disappear. I only get the gray filled circle.
â GNA
2 hours ago
Writing 'set layers' causes the axis to completely disappear. I only get the gray filled circle.
â GNA
2 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
Now I can confirm your observation: the layers on polar plots do not work as expected. As a workaround, one can draw the grid by hand on the axis layer.
documentclass[tikz,3.14mm]standalone
usepackagesiunitx
usepackagepgfplots
pgfplotssetwidth=7cm,compat=1.16
usepgfplotslibrarypolar
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5,
xticklabel=pgfmathprintnumberticksidegree,
axis on top,grid style=draw=none]
addplot[thick,fill=red,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
% draw grid by hand
beginscope[on layer=axis lines,thin,gray]
draw(180,2) -- (0,2) (90,2) -- (270,2) (0,0);
addplot[domain=0:360,samples=60,smooth]1;
endscope
beginscope[on layer=axis foreground]
addplot[thick,domain=0:360] sin(x);
endscope
% addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
% addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
enddocument
As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.
It is a nice approach. However, the axis is still drawn in front of the two plots. Even with on layer=axis foreground. It does not work
â GNA
1 hour ago
@GNA You are right, there is indeed an issue. I looked throughtikzlibrarypgfplots.polar.code.tex
and did not find an obvious way to modify the grid drawing there, so the best thing I can offer is a workaround.
â marmot
1 hour ago
The best can't stay with a score of zero. +1.
â Sebastiano
1 hour ago
@Sebastiano Mille grazie but this is not an answer by egreg. ;-)
â marmot
1 hour ago
@marmot With all my sincerity you will reach the skill of nr. 1 as egreg.
â Sebastiano
1 hour ago
 |Â
show 2 more comments
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
Now I can confirm your observation: the layers on polar plots do not work as expected. As a workaround, one can draw the grid by hand on the axis layer.
documentclass[tikz,3.14mm]standalone
usepackagesiunitx
usepackagepgfplots
pgfplotssetwidth=7cm,compat=1.16
usepgfplotslibrarypolar
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5,
xticklabel=pgfmathprintnumberticksidegree,
axis on top,grid style=draw=none]
addplot[thick,fill=red,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
% draw grid by hand
beginscope[on layer=axis lines,thin,gray]
draw(180,2) -- (0,2) (90,2) -- (270,2) (0,0);
addplot[domain=0:360,samples=60,smooth]1;
endscope
beginscope[on layer=axis foreground]
addplot[thick,domain=0:360] sin(x);
endscope
% addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
% addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
enddocument
As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.
It is a nice approach. However, the axis is still drawn in front of the two plots. Even with on layer=axis foreground. It does not work
â GNA
1 hour ago
@GNA You are right, there is indeed an issue. I looked throughtikzlibrarypgfplots.polar.code.tex
and did not find an obvious way to modify the grid drawing there, so the best thing I can offer is a workaround.
â marmot
1 hour ago
The best can't stay with a score of zero. +1.
â Sebastiano
1 hour ago
@Sebastiano Mille grazie but this is not an answer by egreg. ;-)
â marmot
1 hour ago
@marmot With all my sincerity you will reach the skill of nr. 1 as egreg.
â Sebastiano
1 hour ago
 |Â
show 2 more comments
up vote
4
down vote
accepted
Now I can confirm your observation: the layers on polar plots do not work as expected. As a workaround, one can draw the grid by hand on the axis layer.
documentclass[tikz,3.14mm]standalone
usepackagesiunitx
usepackagepgfplots
pgfplotssetwidth=7cm,compat=1.16
usepgfplotslibrarypolar
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5,
xticklabel=pgfmathprintnumberticksidegree,
axis on top,grid style=draw=none]
addplot[thick,fill=red,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
% draw grid by hand
beginscope[on layer=axis lines,thin,gray]
draw(180,2) -- (0,2) (90,2) -- (270,2) (0,0);
addplot[domain=0:360,samples=60,smooth]1;
endscope
beginscope[on layer=axis foreground]
addplot[thick,domain=0:360] sin(x);
endscope
% addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
% addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
enddocument
As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.
It is a nice approach. However, the axis is still drawn in front of the two plots. Even with on layer=axis foreground. It does not work
â GNA
1 hour ago
@GNA You are right, there is indeed an issue. I looked throughtikzlibrarypgfplots.polar.code.tex
and did not find an obvious way to modify the grid drawing there, so the best thing I can offer is a workaround.
â marmot
1 hour ago
The best can't stay with a score of zero. +1.
â Sebastiano
1 hour ago
@Sebastiano Mille grazie but this is not an answer by egreg. ;-)
â marmot
1 hour ago
@marmot With all my sincerity you will reach the skill of nr. 1 as egreg.
â Sebastiano
1 hour ago
 |Â
show 2 more comments
up vote
4
down vote
accepted
up vote
4
down vote
accepted
Now I can confirm your observation: the layers on polar plots do not work as expected. As a workaround, one can draw the grid by hand on the axis layer.
documentclass[tikz,3.14mm]standalone
usepackagesiunitx
usepackagepgfplots
pgfplotssetwidth=7cm,compat=1.16
usepgfplotslibrarypolar
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5,
xticklabel=pgfmathprintnumberticksidegree,
axis on top,grid style=draw=none]
addplot[thick,fill=red,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
% draw grid by hand
beginscope[on layer=axis lines,thin,gray]
draw(180,2) -- (0,2) (90,2) -- (270,2) (0,0);
addplot[domain=0:360,samples=60,smooth]1;
endscope
beginscope[on layer=axis foreground]
addplot[thick,domain=0:360] sin(x);
endscope
% addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
% addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
enddocument
As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.
Now I can confirm your observation: the layers on polar plots do not work as expected. As a workaround, one can draw the grid by hand on the axis layer.
documentclass[tikz,3.14mm]standalone
usepackagesiunitx
usepackagepgfplots
pgfplotssetwidth=7cm,compat=1.16
usepgfplotslibrarypolar
begindocument
begintikzpicture
beginpolaraxis[xtick=0,90,180,270, ytick=0,1, ymax=1.5,
xticklabel=pgfmathprintnumberticksidegree,
axis on top,grid style=draw=none]
addplot[thick,fill=red,draw=none,opacity=0.5, domain=0:360,
samples=360,]1;
% draw grid by hand
beginscope[on layer=axis lines,thin,gray]
draw(180,2) -- (0,2) (90,2) -- (270,2) (0,0);
addplot[domain=0:360,samples=60,smooth]1;
endscope
beginscope[on layer=axis foreground]
addplot[thick,domain=0:360] sin(x);
endscope
% addplot+[thick, mark=none, >->] table[col sep=comma,x=ang,y=abs] images/tikz/stability/stable.csv;
% addplot+[thick, mark=none, >->, orange] table[col sep=comma,x=ang,y=abs] images/tikz/stability/instable.csv;
endpolaraxis
endtikzpicture
enddocument
As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.
edited 1 hour ago
answered 1 hour ago
marmot
64.8k470139
64.8k470139
It is a nice approach. However, the axis is still drawn in front of the two plots. Even with on layer=axis foreground. It does not work
â GNA
1 hour ago
@GNA You are right, there is indeed an issue. I looked throughtikzlibrarypgfplots.polar.code.tex
and did not find an obvious way to modify the grid drawing there, so the best thing I can offer is a workaround.
â marmot
1 hour ago
The best can't stay with a score of zero. +1.
â Sebastiano
1 hour ago
@Sebastiano Mille grazie but this is not an answer by egreg. ;-)
â marmot
1 hour ago
@marmot With all my sincerity you will reach the skill of nr. 1 as egreg.
â Sebastiano
1 hour ago
 |Â
show 2 more comments
It is a nice approach. However, the axis is still drawn in front of the two plots. Even with on layer=axis foreground. It does not work
â GNA
1 hour ago
@GNA You are right, there is indeed an issue. I looked throughtikzlibrarypgfplots.polar.code.tex
and did not find an obvious way to modify the grid drawing there, so the best thing I can offer is a workaround.
â marmot
1 hour ago
The best can't stay with a score of zero. +1.
â Sebastiano
1 hour ago
@Sebastiano Mille grazie but this is not an answer by egreg. ;-)
â marmot
1 hour ago
@marmot With all my sincerity you will reach the skill of nr. 1 as egreg.
â Sebastiano
1 hour ago
It is a nice approach. However, the axis is still drawn in front of the two plots. Even with on layer=axis foreground. It does not work
â GNA
1 hour ago
It is a nice approach. However, the axis is still drawn in front of the two plots. Even with on layer=axis foreground. It does not work
â GNA
1 hour ago
@GNA You are right, there is indeed an issue. I looked through
tikzlibrarypgfplots.polar.code.tex
and did not find an obvious way to modify the grid drawing there, so the best thing I can offer is a workaround.â marmot
1 hour ago
@GNA You are right, there is indeed an issue. I looked through
tikzlibrarypgfplots.polar.code.tex
and did not find an obvious way to modify the grid drawing there, so the best thing I can offer is a workaround.â marmot
1 hour ago
The best can't stay with a score of zero. +1.
â Sebastiano
1 hour ago
The best can't stay with a score of zero. +1.
â Sebastiano
1 hour ago
@Sebastiano Mille grazie but this is not an answer by egreg. ;-)
â marmot
1 hour ago
@Sebastiano Mille grazie but this is not an answer by egreg. ;-)
â marmot
1 hour ago
@marmot With all my sincerity you will reach the skill of nr. 1 as egreg.
â Sebastiano
1 hour ago
@marmot With all my sincerity you will reach the skill of nr. 1 as egreg.
â Sebastiano
1 hour ago
 |Â
show 2 more comments
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f454970%2fset-layers-in-pgfplots-polarplot-not-working-as-expected%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Please provide a complete MWE (and try
axis on top
). Nobody hasstable.csv
, so please also add a short csv file.â marmot
2 hours ago
The code does the same thing without the two csv files. You can just comment these lines, but I will try to create a MWE.
â GNA
2 hours ago
If I comment out the two csv files, then the circle is on the background.
â marmot
2 hours ago
I want the circle to be behind the axis and the plots in front of the axis. But the documentation is wrong. axis on top helps, but in this case all plots are in front of the axis, which is not what I want.
â GNA
2 hours ago
Writing 'set layers' causes the axis to completely disappear. I only get the gray filled circle.
â GNA
2 hours ago