comment

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です

関連記事

no image

matplotlib で縦横の罫線を出力する

罫線を出力するには、pyplot.grid を使う。 例 import numpy as np import matplotlib.pyplot as plt x = np.linspace(0, 2 …

no image

python3 で辞書(dict) の for ループでキーと値を取得する

キーと値を取得するには次のようにする。キーは dict のループ、値は dict の values() のループで取得できる。 例 mydictionary = {‘color’: ‘白’, ‘ani …

no image

duコマンドの使い方。

du コマンドは、ストレージの使用状況を調べるコマンドである。 h オプションをつけると出力結果が human readble になる。 du の h は human の h と覚える ソート 出力結 …

no image

tex で、理由や根拠を示す(なぜならば)を入力する

tex で「なぜならば」記号(∵)を入力するには、数式モードで $\because$ と書く。ams のパッケージを使う。 例 \usepackage{amsmath}\usepackage{amss …

no image

tex で表に空欄をつける方法

区切りの & だけを入力すると、表に空欄を作ることができる。 例 \begin{table} \begin{tabular}{ |c|c|c|c| } \hline 1 & & …