Python matplotlibで学ぶ…グラフ描画プログラム 新しいページはコチラ
提供: yonewiki
(→22行目/23行目) |
(→22行目/23行目) |
||
224行: | 224行: | ||
*width | *width | ||
::数値で太さを設定します。 | ::数値で太さを設定します。 | ||
+ | |||
+ | |||
*color | *color | ||
::目盛りの色を指定します。 | ::目盛りの色を指定します。 | ||
− | + | :::*色の名前の定数は以下のとおりになっています。 | |
+ | :::::[https://matplotlib.org/examples/color/named_colors.html https://matplotlib.org/examples/color/named_colors.html] | ||
+ | :::*16進数表記 | ||
+ | :::::'#xxxxxx'のxxに00~FFの値を適用してR(Red) G(Green) B(Blue)に対応し、すべての値が大きいほど白く、全ての値が小さいほど白くなる表記です。 | ||
+ | :::*KRGB表記 | ||
+ | ::::[x.0,x.0,x.0,x.0]と配列にK白黒度合いを0~1.0の小数で指定します。RGBも同様です。 | ||
*length | *length |