set layers in PGFPLOTS polarplot not working as expected

The name of the pictureThe name of the pictureThe name of the pictureClash 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









share|improve this question























  • 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











  • 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














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









share|improve this question























  • 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











  • 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












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









share|improve this question















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 1 hour ago

























asked 2 hours ago









GNA

706




706











  • 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











  • 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











  • 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










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


enter image description here



As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.






share|improve this answer






















  • 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










  • 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











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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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






























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


enter image description here



As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.






share|improve this answer






















  • 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










  • 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















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


enter image description here



As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.






share|improve this answer






















  • 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










  • 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













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


enter image description here



As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.






share|improve this answer














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


enter image description here



As you see, the filled circle is on the background, i.e. behind the grid, but the plot is on the foreground.







share|improve this answer














share|improve this answer



share|improve this answer








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










  • @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










  • @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










  • @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


















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?