cscale¶
- cfplot.cscale(scale=None, ncols=None, white=None, below=None, above=None, reverse=False, uniform=False)[source]¶
- cscale - choose and manipulate colour maps. Around 200 colour scales areavailable - see the gallery section for more details.scale=None - name of colour mapncols=None - number of colours for colour mapwhite=None - change these colours to be whitebelow=None - change the number of colours below the mid point ofthe colour scale to be thisabove=None - change the number of colours above the mid point ofthe colour scale to be thisreverse=False - reverse the colour scaleuniform=False - produce a uniform colour scale.For example: if below=3 and above=10 are specifiedthen initially below=10 and above=10 are used. Thecolour scale is then cropped to use scale colours6 to 19. This produces a more uniform intensity colourscale than one where all the blues are compressed into3 colours.Personal colour maps are available by saving the map as red green blueto a file with a set of values on each line.Use cscale() To reset to the default settings.
- Returns:
None