1.5.2 Commands and macros linked with colors

Exemple(s): Each facet is coloured according to the rating of the center of gravity. The color is added thanks to the ColorJump macro in the jump ending facet constant. The Hsb macro is made for continuously varying the color. Before drawing the surface, the facets are sorted using the SortFacet command, then are drawn.

  \begin{texgraph}[name=ColorJump, export=pgf]
  stock:=for facette in S By jump do
  FillStyle:=full, LabelSize:=footnotesize,
  BoxAxes3D(grid:=1, FillColor:=lightblue),


Heat type colouring