プロット関数のオプションであり,曲線や曲面のプロット範囲を超えた部分を描画する際のスタイルを指定する.
ClippingStyle
プロット関数のオプションであり,曲線や曲面のプロット範囲を超えた部分を描画する際のスタイルを指定する.
詳細
- ClippingStyleは,Plot3DやArrayPlotのような関数だけではなく,PlotやListLinePlotのような関数にも使用できる.
- ClippingStyleは,VectorPlotのような関数でも,大きさがVectorRangeで与えられた範囲外であるベクトルのスタイル付けに使用される.
- 設定可能な指定値
-
Automatic 切り取られた部分をデフォルトスタイルで示す None 曲線や曲面が切り取られる部分にギャップを残す g 切り取られた面をすべてグラフィックス指示子 g を使って示す {gmin,gmax} 上面で切り取られた面と底面で切り取られた部分に異なる指示子を使う - 指定された各指示子は,RGBColorやHueのような色の指示子か,RedやBlueのような名前付きの色でなければならない.この指示子にはOpacityを加えることができる.
- ClippingStyleで定義された範囲が曲面の場合,EdgeForm,FaceForm,Specularityのような指示子も使うことができる.
- ClippingStyleで定義された範囲が線の場合,ThicknessとDashingの指示子も使うことができる.
- 指示子はDirective[g1,g2,…]を使って組み合せることができる.
例題
すべて開く すべて閉じる例 (3)
Table[Plot3D[Sin[x y], {x, -3, 3}, {y, -3, 3}, PlotRange -> {-.7, .7}, ClippingStyle -> cs], {cs, {None, Automatic, Opacity[0.5]}}]Table[Plot[Sin[x], {x, -3, 3}, PlotRange -> {-.7, .7}, ClippingStyle -> cs], {cs, {None, Automatic, Red}}]Plot3D[Sin[x y], {x, -3, 3}, {y, -3, 3}, PlotRange -> {-.7, .7}, ClippingStyle -> {Red, Green}]Plot[Sin[x], {x, -3, 3}, PlotRange -> {-.7, .7}, ClippingStyle -> {Red, Green}]スコープ (4)
Table[DensityPlot[Sin[x y], {x, -3, 3}, {y, -3, 3}, PlotRange -> {-.7, .7}, ClippingStyle -> cs, BoundaryStyle -> Red], {cs, {None, Automatic, {Orange, Yellow}}}]Table[ContourPlot[Sin[x y], {x, -3, 3}, {y, -3, 3}, PlotRange -> {-.7, .7}, ClippingStyle -> cs, BoundaryStyle -> Red], {cs, {None, Automatic, {Orange, Yellow}}}]data = RandomReal[{-5, 5}, {20, 20}];Table[ArrayPlot[RandomReal[{-5, 5}, {20, 20}], PlotRange -> {-3, 3}, ClippingStyle -> cs], {cs, {None, {Orange, Yellow}}}]Table[VectorPlot[{y ^ 2 - Sin[x], x ^ 2 + Cos[y]}, {x, -3, 3}, {y, -3, 3}, VectorRange -> {2, 8}, ClippingStyle -> cs], {cs, {None, Automatic, {Red, Green}}}]テクニカルノート
テキスト
Wolfram Research (2007), ClippingStyle, Wolfram言語関数, https://reference.wolfram.com/language/ref/ClippingStyle.html (2020年に更新).
CMS
Wolfram Language. 2007. "ClippingStyle." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2020. https://reference.wolfram.com/language/ref/ClippingStyle.html.
APA
Wolfram Language. (2007). ClippingStyle. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ClippingStyle.html
BibTeX
@misc{reference.wolfram_2026_clippingstyle, author="Wolfram Research", title="{ClippingStyle}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ClippingStyle.html}", note=[Accessed: 08-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_clippingstyle, organization={Wolfram Research}, title={ClippingStyle}, year={2020}, url={https://reference.wolfram.com/language/ref/ClippingStyle.html}, note=[Accessed: 08-September-2026]}