2021年6月8日火曜日

matplotlibはdateオブジェクトを認識する

 MobilityReportHomework

https://colab.research.google.com/drive/1GzSjUvEivOgN0CGMFlGT7KKVRrMbNg1j?usp=sharing


#日付オブジェクトへの変換
from datetime import date
sss="2019-12-04"
print(type(sss),sss)
ddd=date.fromisoformat(sss)
print(type(ddd),ddd)


これのリストをX軸に使うことができる

2021年6月4日金曜日

emacs でコンパイル時のエラー行にジャンプ

 M-x compile

ctrl+x `

でエラー行にジャンプ


https://flex.phys.tohoku.ac.jp/texi/emacs-jp/emacs-jp_158.html

gfortan -gをつけましょう。コンパイラのトレースバック機能はだいぶと良くなってきた.

gfortran,以下のように -O2と-gが両立するようだ。コンパイラのトレースバック機能がだいぶと良くなってきた。

 mpif90  -O2  -g -fimplicit-none -ffixed-line-length-132 -DMPIK  -JOBJ.gfortran -IOBJ.gfortran -c ../wanniergw/htbplot.F -o OBJ.gfortran/htbplot.o