pgf-tikz / pgfplots

pgfplots - A TeX package to draw normal and/or logarithmic plots directly in TeX in two and three dimensions with a user-friendly interface and pgfplotstable - a TeX package to round and format numerical tables. Examples in manuals and/or on web site.
http://pgfplots.sourceforge.net/
200 stars 35 forks source link

[fillbetween][polar] seem to be incompatible (so far) #124

Open pgf-tikz-bot opened 8 years ago

pgf-tikz-bot commented 8 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/124/ Author: mo-gul Timestamp: 2016-04-16 19:11:52.521000

It seems that fill between is not working in an polaraxis. I think this is because you just haven't implemented that combination so far, right? This was found in http://tex.stackexchange.com/questions/304588/pgfplots-polar-plot-extrema-of-values-and-fill-segmented-area

Here is a minimal example:

% ----- minimal example -----
\documentclass[border=2mm]{standalone}
\usepackage{pgfplots}
    \usepgfplotslibrary{
        fillbetween,
        polar,
    }
    \pgfplotsset{
        compat=1.13,
    }
\begin{document}
\begin{tikzpicture}
    \begin{polaraxis}[
        domain=0:360,
        samples=360,
    ]
        \addplot [blue,name path=A] expression {3};
        \addplot [green,name path=B] expression {1};
        \addplot [red!25] fill between [of=A and B];
    \end{polaraxis}
\end{tikzpicture}
\end{document}
% ---------------------------
pgf-tikz-bot commented 6 years ago

Migrated from SourceForge https://sourceforge.net/p/pgfplots/bugs/124/#1064 Author: cfeuersaenger Timestamp: 2017-12-22 07:17:50.083000

see also