Ich zeichne drei surf
Diagramme in einer groupplot
Umgebung mit pgfplots
. Für das dritte Gruppendiagramm habe ich aktiviert colorbar
. Ich möchte, dass die Farbleiste alle drei Diagramme darstellt, also z
sollten gleiche Werte gleiche Farben haben. Ich kann zmax
das Gruppendiagramm einstellen, aber das begrenzt nur die Achsen in einem 3D-Diagramm. Die Farbkarte scheint vom minimalen bis zum maximalen Wert angewendet zu werden, unabhängig vom Wert von zmin
und . Gibt es eine Möglichkeit, den Bereich einer Farbkarte an und zmax
anzupassen ? (Das Einschränken wird in diesem Fall kein Problem sein, weil so gewählt wird, dass nichts eingeschränkt wird. Das Problem ist, dass derzeit eines meiner Diagramme nur etwa die Hälfte von erreicht , aber an diesem Punkt ist die Farbkarte noch bei maximaler Intensität.)zmin
zmax
zmax
zmax
\begin{tikzpicture}
\begin{groupplot}[group style = {group size = 3 by 1, horizontal sep = 1.5cm},
zmax = 50, view = {0}{90}]
\nextgroupplot[xlabel = $x_2$, ylabel = $x_3$]
\addplot3[surf, shader = interp] table {data-x2x3.dat};
\nextgroupplot[xlabel = $x_3$, ylabel = $x_1$]
\addplot3[surf, shader = interp] table {data-x3x1.dat};
\nextgroupplot[xlabel = $x_1$, ylabel = $x_2$, colorbar]
\addplot3[surf, shader = interp] table {data-x1x2.dat};
\end{groupplot}
\end{tikzpicture}
Antwort1
Wie Jake in seinemKommentar, die festzulegenden Eigenschaften sind point meta min
und point meta max
auf der Achse (oder groupplot
in diesem Fall).