重要
翻訳は あなたが参加できる コミュニティの取り組みです。このページは現在 65.22% 翻訳されています。
24.1.14. プロット
24.1.14.1. ベクタレイヤの棒グラフ
カテゴリとレイヤの属性値から、棒グラフを作成します。
図 24.32 Bar plot example
パラメータ
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
入力レイヤ |
|
[vector: geometry] |
入力ベクタレイヤ |
カテゴリを示す属性(フィールド) |
|
[テーブルのフィールド:任意] |
棒グラフをグループ化するために使用するカテゴリ値のフィールド(X軸) |
値フィールド |
|
[テーブルのフィールド:数値] |
グラフに使用する値(Y軸) |
Title Optional |
|
[string] Default: "" |
Title of the plot |
X-axis Title Optional |
|
[string] Default: "" |
If empty, the name of the category field is used. With a single space, the axis title is hidden. |
Y-axis Title Optional |
|
[string] Default: "" |
If empty, the name of the value field is used. With a single space, the axis title is hidden. |
ベクタレイヤの棒グラフ |
|
[html] デフォルト: |
プロットのHTMLファイルを指定します。次のいずれかです:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
ベクタレイヤの棒グラフ |
|
[html] |
グラフのHTMLファイル。 からアクセスできます。 |
Python コード
アルゴリズムID: qgis:barplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.14.2. ベクタレイヤのボックスプロット
カテゴリ属性とレイヤの数値属性から、ボックスプロットを作成します。
図 24.33 Example of box plot
パラメータ
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
入力レイヤ |
|
[vector: geometry] |
入力ベクタレイヤ |
カテゴリを示す属性(フィールド) |
|
[テーブルのフィールド:任意] |
ボックスをグループ化するために使用するカテゴリ値のフィールド(X軸) |
値フィールド |
|
[テーブルのフィールド:数値] |
グラフに使用する値(Y軸) |
追加の統計指標 |
|
[列挙型] デフォルト: 0 |
プロットに追加する統計情報。次のいずれかです:
|
Title Optional |
|
[string] Default: "" |
Title of the plot |
X-axis Title Optional |
|
[string] Default: "" |
If empty, the name of the category field is used. With a single space, the axis title is not shown. |
Y-axis Title Optional |
|
[string] Default: "" |
If empty, the name of the value field is used. With a single space, the axis title is not shown. |
ベクタレイヤのボックスプロット |
|
[html] デフォルト: |
プロットのHTMLファイルを指定します。次のいずれかです:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
ベクタレイヤのボックスプロット |
|
[html] |
グラフのHTMLファイル。 からアクセスできます。 |
Python コード
アルゴリズムID: qgis:boxplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.14.3. Generate elevation profile image
Creates an elevation profile image from a list of map layers and an optional terrain layer.
図 24.34 Example of elevation profile
パラメータ
Basic parameters
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
Profile curve |
|
[geometry: line] |
The LineString geometry (WKT or GeoJSON) representing the profile curve along which the elevation profile will be generated |
Map layers |
|
[layer] [list] |
The list of map layers to include in the elevation profile |
Chart width (in pixels) |
|
[数値: Integer] Default: 400 Minimum value: 0 |
The width of the output chart in pixels. |
Chart height (in pixels) |
|
[数値: Integer] Default: 300 Minimum value: 0 |
The height of the output chart in pixels. |
Terrain layer Optional |
|
[ラスタ] |
A terrain layer (e.g., DEM) to use for elevation data. If not provided, elevation data will be derived from the map layers. |
Advanced parameters
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
Chart minimum distance (X axis) Optional |
|
[numeric: double] |
The minimum distance (X axis) to display on the chart. If not specified, the chart will auto-scale. |
Chart maximum distance (X axis) Optional |
|
[numeric: double] |
The maximum distance (X axis) to display on the chart. If not specified, the chart will auto-scale. |
Chart minimum elevation (Y axis) Optional |
|
[numeric: double] |
The minimum elevation (Y axis) to display on the chart. If not specified, the chart will auto-scale. |
Chart maximum elevation (Y axis) Optional |
|
[numeric: double] |
The maximum elevation (Y axis) to display on the chart. If not specified, the chart will auto-scale. |
Chart text color Optional |
|
[color] |
The color of the text in the chart (e.g., axis labels, titles). |
Chart background color Optional |
|
[color] |
The background color of the chart. |
Chart border color Optional |
|
[color] |
The color of the chart border. |
Profile tolerance |
|
[numeric: double] Default: 5.0 Minimum value: 0 |
Defines how far a feature (vector point, line, polygon, or point cloud) can be from the profile line to be included in the results. It uses map units and does not affect other layer types. |
Chart DPI |
|
[数値: Integer] Default: 96 Minimum value: 0 |
The resolution of the output image in dots per inch (DPI). |
Output image |
|
[file] デフォルト: |
Specify the image file for the plot. One of:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
Output image |
|
[file] |
The generated elevation profile image in the specified format. |
Python コード
Algorithm ID: native:generateelevationprofileimage
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.14.4. テーブルの平均・標準偏差のプロット
平均と標準偏差の表示のあるボックスプロットを作成します。
図 24.35 Example of mean and standard deviation plot
パラメータ
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
入力テーブル |
|
[vector: geometry] |
入力ベクタレイヤ |
カテゴリを示す属性(フィールド) |
|
[テーブルのフィールド:任意] |
ボックスをグループ化するために使用するカテゴリ値のフィールド(X軸) |
値フィールド |
|
[テーブルのフィールド:数値] |
グラフに使用する値(Y軸) |
出力のプロット |
|
[html] デフォルト: |
プロットのHTMLファイルを指定します。次のいずれかです:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
出力のプロット |
|
[html] |
グラフのHTMLファイル。 からアクセスできます。 |
Python コード
アルゴリズムID: qgis:meanandstandarddeviationplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.14.5. ベクタレイヤのポーラープロット
入力ベクタレイヤの値に基づいたポーラープロットを作成します。
パラメータとして2つのフィールドを入力する必要があります。1つは各地物のカテゴリを定義するフィールド(地物をグループ化するため)で、もう1つはプロットする値のフィールド(数値でなければならない)です。
図 24.36 Example of polar plot
パラメータ
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
入力レイヤ |
|
[vector: geometry] |
入力ベクタレイヤ |
カテゴリを示す属性(フィールド) |
|
[テーブルのフィールド:任意] |
地物をグループ化するために使用するカテゴリ値のフィールド(X軸) |
値フィールド |
|
[テーブルのフィールド:数値] |
グラフに使用する値(Y軸) |
ベクタレイヤのポーラープロット |
|
[html] デフォルト: |
プロットのHTMLファイルを指定します。次のいずれかです:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
ベクタレイヤのポーラープロット |
|
[html] |
グラフのHTMLファイル。 からアクセスできます。 |
Python コード
アルゴリズムID: qgis:polarplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.14.6. ラスタレイヤのヒストグラム
ラスタレイヤの値のヒストグラムを作成します。
図 24.37 Raster layer histogram example
パラメータ
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
入力レイヤ |
|
[ラスタ] |
入力ラスタレイヤ |
バンド番号 |
|
[ラスタのバンド] |
ヒストグラムに使用するラスタのバンド番号 |
階級数 |
|
[数値: Integer] デフォルト: 10 |
ヒストグラムに使用するビンの数(X軸)。最小値は2です。 |
ヒストグラム |
|
[html] デフォルト: |
プロットのHTMLファイルを指定します。次のいずれかです:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
ヒストグラム |
|
[html] |
グラフのHTMLファイル。 からアクセスできます。 |
Python コード
アルゴリズムID: qgis:rasterlayerhistogram
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.14.7. ベクタレイヤのヒストグラム
ベクタレイヤの属性値のヒストグラムを作成します。
ヒストグラムの計算に使用する属性は数値でなければなりません。
図 24.38 Example of vector layer histogram
パラメータ
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
入力レイヤ |
|
[ベクタ:任意] |
入力ベクタレイヤ |
属性 |
|
[テーブルのフィールド:数値] |
グラフに使用する値(Y軸) |
階級数 |
|
[数値: Integer] デフォルト: 10 |
ヒストグラムに使用するビンの数(X軸)。最小値は2です。 |
ヒストグラム |
|
[html] デフォルト: |
プロットのHTMLファイルを指定します。次のいずれかです:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
ヒストグラム |
|
[html] |
グラフのHTMLファイル。 からアクセスできます。 |
Python コード
アルゴリズムID: qgis:vectorlayerhistogram
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.14.8. ベクタレイヤの散布図
ベクタレイヤのシンプルな X - Y 散布図を作成します。
図 24.39 Example of vector layer scatterplot
パラメータ
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
入力レイヤ |
|
[vector: geometry] |
入力ベクタレイヤ |
X属性値 |
|
[テーブルのフィールド:数値] |
X軸に使用するフィールド |
Y属性値 |
|
[テーブルのフィールド:数値] |
Y軸に使用するフィールド |
Hover text Optional |
|
[expression] Default: "" |
Text to be shown when hovering with the mouse over data points. It can be picked from a field or based on an expression. |
Title Optional |
|
[string] Default: "" |
Title of the plot |
X-axis Title Optional |
|
[string] Default: "" |
If empty, the field name of the x attribute is used. With a single space, the axis title is not shown. |
Y-axis Title Optional |
|
[string] Default: "" |
If empty, the field name of the y attribute is used. With a single space, the axis title is not shown. |
Use logarithmic scale for x-axis |
|
[boolean] Default: False |
When enabled, uses logarithmic scale for the x-axis |
Use logarithmic scale for y-axis |
|
[boolean] Default: False |
When enabled, uses logarithmic scale for the y-axis |
散布図の出力 |
|
[html] デフォルト: |
プロットのHTMLファイルを指定します。次のいずれかです:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
散布図の出力 |
|
[html] |
グラフのHTMLファイル。 からアクセスできます。 |
Python コード
アルゴリズムID: qgis:vectorlayerscatterplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。
24.1.14.9. ベクタレイヤの3D散布図
ベクタレイヤの3D散布図を作成します。
図 24.40 Example of 3D scatter plot
パラメータ
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
入力レイヤ |
|
[vector: geometry] |
入力ベクタレイヤ |
X属性値 |
|
[テーブルのフィールド:数値] |
X軸に使用するフィールド |
Y属性値 |
|
[テーブルのフィールド:数値] |
Y軸に使用するフィールド |
Z属性値 |
|
[テーブルのフィールド:数値] |
Z軸に使用するフィールド |
Title Optional |
|
[string] Default: "" |
Title of the plot |
X-axis Title Optional |
|
[string] Default: "" |
If empty, the field name of the X attribute is used. |
Y-axis Title Optional |
|
[string] Default: "" |
If empty, the field name of the Y attribute is used. |
Z-axis Title Optional |
|
[string] Default: "" |
If empty, the field name of the Z attribute is used. |
Scatterplot 3D |
|
[html] デフォルト: |
プロットのHTMLファイルを指定します。次のいずれかです:
|
出力
ラベル |
名前 |
データ型 |
説明 |
|---|---|---|---|
Scatterplot 3D |
|
[html] |
グラフのHTMLファイル。 からアクセスできます。 |
Python コード
アルゴリズムID: qgis:scatter3dplot
import processing
processing.run("algorithm_id", {parameter_dictionary})
algorithm id は、プロセシングツールボックス内でアルゴリズムにマウスカーソルを乗せた際に表示されるIDです。 parameter dictionary は、パラメータの「名前」とその値を指定するマッピング型です。Python コンソールからプロセシングアルゴリズムを実行する方法の詳細については、 プロセシングアルゴリズムをコンソールから使う を参照してください。