
numeric
The blend type of a graduation determines how the color changes from start to the finish, and is therefore only relevant for 2-color graduations.
There are 3 types of blend:Normal (0): the start color graduates to the finish color at a uniform rate
Triangular (1): the start color graduates to the finish color and back again to the start color. The rate of change is constant and the color-reversion point (i.e. the apex of the color triangle) can be set by a blend focus factor. This reversion point is by default the middle of the fill polygon.
Bell (2): the start color graduates to the finish color and back again to the start color. The rate of change is not constant giving more emphasis to the finish color, and like the triangular shape the color-reversion point (i.e. the top of the color bell) can be set by a blend focus factor.
Here are examples of graduations with the 3 different blend types.
Normal Triangular Bell
The commands to create these graduations are as follows:
graduation mygrad,-rgb=<blue.rgb,yellow.rgb>,-ty=0;# normal graduation mygrad,-rgb=<blue.rgb,yellow.rgb>,-ty=1;# triangular graduation mygrad,-rgb=<blue.rgb,yellow.rgb>,-ty=2;# bell
All 3 of these examples use a default blend factor. See graduation.blend_focus for examples which vary the blend focus.
|
Commands: |
|