ColorFunctionBinning
プロット関数のオプションで,スタイリングのために値を有限数のビンに分割する.
詳細
- 次は,ColorFunctionBinningの可能な設定である.
-
None 値の連続範囲 Automatic ビンを自動決定する n 等間隔のほぼ n 個の区分 "KMeans" k 平均クラスタリングアルゴリズムを使ってビンを求める "Quantile" ビンの計算に四分位数を使う {d} 幅 d のビンを使う {min,max,d} 幅 d の min から max までのビンを使う {{b1,b2,…}} 特定の区切り点 biを使ってビンを分割する {"name",n} 名前付きのメソッドを使って n 個の区分を求める f f[{v1,v2,…}]を使ってビンを決定する - ビン分割された色関数を使うと,色関数がビンの値ではなくビンの数に基づいて均等にサンプリングされる.
例題
すべて開く すべて閉じる例 (2)
Noneを使うことで色の連続範囲を使う:
GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> None]GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> Automatic]スコープ (5)
GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> {5 10 ^ 11}]GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> "KMeans"]GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> {"KMeans", 7}]"Quantile"を使うと,各ビンにほぼ同数の領域が入れられる:
GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> "Quantile"]GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> "Quantile", PlotMarkers -> {Automatic, Point}]GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> {"Quantile", 4}]GeoRegionValuePlot[["Europe"] -> "GDP", ColorFunctionBinning -> {{10 ^ 9, 10 ^ 10, 10 ^ 11, 10 ^ 12, 10 ^ 13}}]テキスト
Wolfram Research (2020), ColorFunctionBinning, Wolfram言語関数, https://reference.wolfram.com/language/ref/ColorFunctionBinning.html.
CMS
Wolfram Language. 2020. "ColorFunctionBinning." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ColorFunctionBinning.html.
APA
Wolfram Language. (2020). ColorFunctionBinning. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ColorFunctionBinning.html
BibTeX
@misc{reference.wolfram_2026_colorfunctionbinning, author="Wolfram Research", title="{ColorFunctionBinning}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ColorFunctionBinning.html}", note=[Accessed: 14-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_colorfunctionbinning, organization={Wolfram Research}, title={ColorFunctionBinning}, year={2020}, url={https://reference.wolfram.com/language/ref/ColorFunctionBinning.html}, note=[Accessed: 14-September-2026]}