MVLib - Short Writeup - Version 4.0
Setting of Colour Palette - Last update: March 11, 2015
As all the MVLib internal parameters you can be set the color palette to be used for the next plot by a call to mvsetflags routine as follow:
call mvsetflags('Palette di Colori',value)
. Please also carefully consider what follow:
  • the string parameter passed as first argument is NOT case sensitive
  • the second argument is a real input variable specifying the value the range 1-19
  • the second argument must always be passed as a real value, to mvsetflags routine also if, in this case, only integer values are allowed
  • building of the following palettes is also affected by MVLib parameter Colore Sfondo, if this parameter is set to zero (default) the background color is white and color number 1 is black, the opposite occurs if the value of this parameter is different from zero
  • Few of the following palettes (as an example palettes 2, 3, 4, 9, 11 and 17) can be defined with a different number of colors, in this case the building of the palette is affected by the value of MVLib parameter Numero di Colori.
  • the choice of the palette must be carried out before the call to any graphic routine
  • the choice of the palette will not affect the graphic routines mm5colormap, mm5contorni and mm5freccetelle.
List of defined palettes
  1. Default palette
  2. a palette ranging from blues tone to red tones; the sequence of colors is, in this case, affected by the value of MVLib parameter Numero di Colori, if the parameter is set to 20, the following palette is used
  3. a palette with gray tones; the sequence of colors in this s case affected by the value of MVLib parameter Numero di Colori, if the parameter is set to 20, the following palette is used
  4. a palette with blue tones plus few fundamental colors, usually used to plot precipitation fields. The sequence of colors in this is case affected by the value of MVLib parameter Numero di Colori, if the parameter is set to 20, the following palette is used
  5. a palette similar to palette 1.
  6. a palette with 36 colors suited for painting DEM
  7. a palette with 14 colors invented by Erika Coppola, it suited for plotting several curves
  8. a palette with 25 colors usually used for plottax, plottaxy, etc. routines
  9. similar to palette 3, but the sequence is reversal; the sequence of colors in this s case affected by the value of MVLib parameter Numero di Colori, if the parameter is set to 25, the following palette is used
  10. a palette with 65 colors "stolen" from matlab utilities
  11. this palette has been created to superimpose cloudness to the DEM. The sequence of colors in this s case affected by the value of MVLib parameter Numero di Colori, if the parameter is set to 45, the following palette is used
  12. a palette with 47 colours created by Barbara Tomassetti and suited for painting the DEM
  13. a palette with 66 colours created by Nico Cimini and suited for painting the DEM
  14. a palette with 16 colors created by Nico Cimini with few different colours
  15. a sequence of 65 colours similar to palette 10, but the sequence is reversal
  16. a sequence of 14 colours used for plotting global precipitation
  17. another sequence of blu-red tones; the sequence of colors, in this case, is affected by the value of MVLib parameter Numero di Colori, if this parameter is set to 34, the following palette is used
  18. a sequence of 22 colours used for NN5 analysis
  19. a sequence of 76 colours created by Annalina Lombardi and Barbara Tomassetti