24.1.8. Plots
24.1.8.1. Bar plot
Creates a bar plot from a category and a layer field.
Parametreler
Label |
Name |
Type |
Tanım |
---|---|---|---|
Input layer |
|
[vector: any] |
Input vector layer |
Category field name |
|
[tablefield: any] |
Categorical field to use for grouping the bars (X axis) |
Value field |
|
[tablefield: any] |
Value to use for the plot (Y axis). |
Bar plot |
|
[html] Default: |
Specify the HTML file for the plot. One of:
The file encoding can also be changed here. |
Çıkışlar
Label |
Name |
Type |
Tanım |
---|---|---|---|
Bar plot |
|
[html] |
HTML file with the plot. Available in the . |
Python code
Algorithm ID: qgis:barplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Konsoldan işleme algoritmalarını kullanma for details on how to run processing algorithms from the Python console.
24.1.8.2. Box plot
Creates a box plot from a category field and a numerical layer field.
Parametreler
Label |
Name |
Type |
Tanım |
---|---|---|---|
Input layer |
|
[vector: any] |
Input vector layer |
Category name field |
|
[tablefield: any] |
Categorical field to use for grouping the boxes (X axis) |
Value field |
|
[tablefield: any] |
Value to use for the plot (Y axis). |
Additional statistic lines |
|
[enumeration] Default: 0 |
Additional statistics information to add to the plot. One of:
|
Box plot |
|
[html] Default: |
Specify the HTML file for the plot. One of:
The file encoding can also be changed here. |
Çıkışlar
Label |
Name |
Type |
Tanım |
---|---|---|---|
Box plot |
|
[html] |
HTML file with the plot. Available in the . |
Python code
Algorithm ID: qgis:boxplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Konsoldan işleme algoritmalarını kullanma for details on how to run processing algorithms from the Python console.
24.1.8.3. Mean and standard deviation plot
Creates a box plot with mean and standard deviation values.
Parametreler
Label |
Name |
Type |
Tanım |
---|---|---|---|
Input table |
|
[vector: any] |
Input vector layer |
Category name field |
|
[tablefield: any] |
Categorical field to use for grouping the boxes (X axis) |
Value field |
|
[tablefield: any] |
Value to use for the plot (Y axis). |
Plot |
|
[html] Default: |
Specify the HTML file for the plot. One of:
The file encoding can also be changed here. |
Çıkışlar
Label |
Name |
Type |
Tanım |
---|---|---|---|
Plot |
|
[html] |
HTML file with the plot. Available in the . |
Python code
Algorithm ID: qgis:meanandstandarddeviationplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Konsoldan işleme algoritmalarını kullanma for details on how to run processing algorithms from the Python console.
24.1.8.4. Polar plot
Generates a polar plot based on the value of an input vector layer.
Two fields must be entered as parameters: one that defines the category each feature (to group features) and another one with the variable to plot (this has to be a numeric one).
Parametreler
Label |
Name |
Type |
Tanım |
---|---|---|---|
Input layer |
|
[vector: any] |
Input vector layer |
Category name field |
|
[tablefield: any] |
Categorical field to use for grouping the features (X axis) |
Value field |
|
[tablefield: any] |
Value to use for the plot (Y axis). |
Polar plot |
|
[html] Default: |
Specify the HTML file for the plot. One of:
The file encoding can also be changed here. |
Çıkışlar
Label |
Name |
Type |
Tanım |
---|---|---|---|
Polar plot |
|
[html] |
HTML file with the plot. Available in the . |
Python code
Algorithm ID: qgis:polarplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Konsoldan işleme algoritmalarını kullanma for details on how to run processing algorithms from the Python console.
24.1.8.5. Raster layer histogram
Generates a histogram with the values of a raster layer.
Parametreler
Label |
Name |
Type |
Tanım |
---|---|---|---|
Input layer |
|
[raster] |
Input raster layer |
Band number |
|
[raster band] |
Raster band to use for the histogram |
number of bins |
|
[number] Default: 10 |
The number of bins to use in the histogram (X axis). Minimum 2. |
Histogram |
|
[html] Default: |
Specify the HTML file for the plot. One of:
The file encoding can also be changed here. |
Çıkışlar
Label |
Name |
Type |
Tanım |
---|---|---|---|
Histogram |
|
[html] |
HTML file with the plot. Available in the . |
Python code
Algorithm ID: qgis:rasterlayerhistogram
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Konsoldan işleme algoritmalarını kullanma for details on how to run processing algorithms from the Python console.
24.1.8.6. Vector layer histogram
Generates a histogram with the values of the attribute of a vector layer.
The attribute to use for computing the histogram must be numeric.
Parametreler
Label |
Name |
Type |
Tanım |
---|---|---|---|
Input layer |
|
[vector: any] |
Input vector layer |
Attribute |
|
[tablefield: any] |
Value to use for the plot (Y axis). |
number of bins |
|
[number] Default: 10 |
The number of bins to use in the histogram (X axis). Minimum 2. |
Histogram |
|
[html] Default: |
Specify the HTML file for the plot. One of:
The file encoding can also be changed here. |
Çıkışlar
Label |
Name |
Type |
Tanım |
---|---|---|---|
Histogram |
|
[html] |
HTML file with the plot. Available in the . |
Python code
Algorithm ID: qgis:vectorlayerhistogram
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Konsoldan işleme algoritmalarını kullanma for details on how to run processing algorithms from the Python console.
24.1.8.7. Vector layer scatterplot
Creates a simple X
- Y
scatter plot for a vector layer.
Parametreler
Label |
Name |
Type |
Tanım |
---|---|---|---|
Input layer |
|
[vector: any] |
Input vector layer |
X attribute |
|
[tablefield: any] |
Field to use for the X axis |
Y attribute |
|
[tablefield: any] |
Field to use for the Y axis |
Scatterplot |
|
[html] Default: |
Specify the HTML file for the plot. One of:
The file encoding can also be changed here. |
Çıkışlar
Label |
Name |
Type |
Tanım |
---|---|---|---|
Scatterplot |
|
[html] |
HTML file with the plot. Available in the . |
Python code
Algorithm ID: qgis:vectorlayerscatterplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Konsoldan işleme algoritmalarını kullanma for details on how to run processing algorithms from the Python console.
24.1.8.8. Vector layer scatterplot 3D
Creates a 3D scatter plot for a vector layer.
Parametreler
Label |
Name |
Type |
Tanım |
---|---|---|---|
Input layer |
|
[vector: any] |
Input vector layer |
X attribute |
|
[tablefield: any] |
Field to use for the X axis |
Y attribute |
|
[tablefield: any] |
Field to use for the Y axis |
Z attribute |
|
[tablefield: any] |
Field to use for the Z axis |
Histogram |
|
[html] Default: |
Specify the HTML file for the plot. One of:
The file encoding can also be changed here. |
Çıkışlar
Label |
Name |
Type |
Tanım |
---|---|---|---|
Histogram |
|
[html] |
HTML file with the plot. Available in the . |
Python code
Algorithm ID: qgis:scatter3dplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
The algorithm id is displayed when you hover over the algorithm in the Processing Toolbox. The parameter dictionary provides the parameter NAMEs and values. See Konsoldan işleme algoritmalarını kullanma for details on how to run processing algorithms from the Python console.