2 added 12 characters in body
source | link
zmin = -1;
zmax = 1;

Manipulate[
 Row[{
   Graphics3D[{
     ColorData["TemperatureMap"][
      (z - zmin)/(zmax - zmin)],
     Polygon[{
       {1/2, 0, z},
       {1, 0, z},
       {5/4, Sqrt[3]/4, z},
       {1, Sqrt[3]/2, z},
       {1/2, Sqrt[3]/2, z},
       {1/4, Sqrt[3]/4, z}}]},
    PlotRange -> {zmin, zmax},
    ImageSize -> 300,
    BoxRatios -> {1, 1, 1}],
   BarLegend[{"TemperatureMap", {zmin, zmax}}]}],
 {{z, 0(zmax+zmin)/2}, zmin, zmax, .1, Appearance -> "Labeled"}]

enter image description here

zmin = -1;
zmax = 1;

Manipulate[
 Row[{
   Graphics3D[{
     ColorData["TemperatureMap"][
      (z - zmin)/(zmax - zmin)],
     Polygon[{
       {1/2, 0, z},
       {1, 0, z},
       {5/4, Sqrt[3]/4, z},
       {1, Sqrt[3]/2, z},
       {1/2, Sqrt[3]/2, z},
       {1/4, Sqrt[3]/4, z}}]},
    PlotRange -> {zmin, zmax},
    ImageSize -> 300,
    BoxRatios -> {1, 1, 1}],
   BarLegend[{"TemperatureMap", {zmin, zmax}}]}],
 {{z, 0}, zmin, zmax, .1, Appearance -> "Labeled"}]

enter image description here

zmin = -1;
zmax = 1;

Manipulate[
 Row[{
   Graphics3D[{
     ColorData["TemperatureMap"][
      (z - zmin)/(zmax - zmin)],
     Polygon[{
       {1/2, 0, z},
       {1, 0, z},
       {5/4, Sqrt[3]/4, z},
       {1, Sqrt[3]/2, z},
       {1/2, Sqrt[3]/2, z},
       {1/4, Sqrt[3]/4, z}}]},
    PlotRange -> {zmin, zmax},
    ImageSize -> 300,
    BoxRatios -> {1, 1, 1}],
   BarLegend[{"TemperatureMap", {zmin, zmax}}]}],
 {{z, (zmax+zmin)/2}, zmin, zmax, .1, Appearance -> "Labeled"}]

enter image description here

1
source | link

zmin = -1;
zmax = 1;

Manipulate[
 Row[{
   Graphics3D[{
     ColorData["TemperatureMap"][
      (z - zmin)/(zmax - zmin)],
     Polygon[{
       {1/2, 0, z},
       {1, 0, z},
       {5/4, Sqrt[3]/4, z},
       {1, Sqrt[3]/2, z},
       {1/2, Sqrt[3]/2, z},
       {1/4, Sqrt[3]/4, z}}]},
    PlotRange -> {zmin, zmax},
    ImageSize -> 300,
    BoxRatios -> {1, 1, 1}],
   BarLegend[{"TemperatureMap", {zmin, zmax}}]}],
 {{z, 0}, zmin, zmax, .1, Appearance -> "Labeled"}]

enter image description here