Version 3.2
SVG |
PNG![]() |
Source (svg): /processing_temp_file/N40E008_H21FTb.svg (copy and paste into Composer image source box)
Source (png): /processing_temp_file/N40E008_H21FTb.png
Input one-band raster = /srtm_dir/N40E008.hgt
Scalebar orientation = horizontal
Title = SRTM
Sub-title = Elevation (m)
Number of decimals to display = 0
Tick separation = 3
Colour scalebar ratio: width/length = 0.1
Ticks offset to arrive at nice numbers = 0.0
Alternate ticks on both axis? = False
Ticks on both side? = True
Ticks position = bottom
Ticks font size (relative) = 4.0
Title font size (relative to ticks font) = 6.0
Sub-title font size (relative to ticks font) = 5.0
Colour scalebar frame thickness (points) = 1.0
Colours divider thickness (points) = 0.0
Title colour (r,g,b,a) [0., 1.] or colour name = black
Sub-title colour (r,g,b,a) [0., 1.] or colour name = black
Frame/labels colour (r,g,b,a) [0., 1.] or colour name = black
Dividers colour (r,g,b,a) [0., 1.] or colour name = black
Reverse colour scalebar? = False
Output a png file as well? (SVG by default) = True
Additional parameters:
Title alignment: center
Sub-title alignment: center
Mathfont set: dejavusans
Ticks label font properties: Family: ['sans-serif'], Size: 4.0, Weight: normal, Variant: normal, Style: normal, Stretch: normal
Title font properties: Family: ['sans-serif'], Size: 6.0, Weight: bold, Variant: normal, Style: normal, Stretch: normal
Sub-title font properties: Family: ['sans-serif'], Size: 5.0, Weight: medium, Variant: normal, Style: normal, Stretch: normal
Result file = /processing_temp_file/N40E008_H21FTb.svg
and /processing_temp_file/N40E008_H21FTb.png
"It is known that some vector graphics viewers (svg and pdf)
renders white gaps between segments of the colorbar. This is due to bugs in the viewers,
not Matplotlib."
source: https://matplotlib.org/api/_as_gen/matplotlib.pyplot.
colorbar.html