New answers tagged

2

The issue is that the variation of the sphere is smaller than the one of the cylinder. Why does that matter? In the survey phase pgfplots checks what the minima and maxima are of all plots, and then comes up with a formula such that the maximal point meta corresponds to the upper end of the color spectrum and the minimal point meta to the lower end. So all ...


5

You can adjust the point meta. I introduce an angle \myangle that determines the direction. \documentclass{article} \usepackage[a4paper,top=3cm,bottom=3cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry} \usepackage{pgfplots} \pgfplotsset{compat=1.8} \usepgfplotslibrary{colormaps} \begin{document} \begin{tikzpicture}[scale=2] \pgfmathsetmacro{\myangle}{...


Top 50 recent answers are included