damyarou

python, GMT などのプログラム

2019-04-29から1日間の記事一覧

Python 色見本作成(16進指定)

記事の最後に行く 色見本作成プログラム import matplotlib.pyplot as plt import subprocess def drawfig(scolor): xmin=0 xmax=6 ymin=0 ymax=36 plt.figure(figsize=(4,8),facecolor='w') plt.rcParams['font.family'] = 'Ricty Diminished' plt.xlim([xm…

Python 色見本作成(HSV => 16進変換)

記事の最後に行く 色見本作成プログラム import matplotlib.pyplot as plt import colorsys import subprocess def drawfig(ls_h,ls_s,ls_v): scolor=defcolor(ls_h,ls_s,ls_v) n=len(ls_h) m=len(ls_s) fsz=9 xmin=-1.0 xmax=float(m) ymin=-2.0 ymax=float…