comment

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

関連記事

no image

tex でバックスラッシュを入力する方法

テキストモードでは \textbackslash 数式モード内では \backslash を、それぞれ使う。 例 $\backslash$ \textbackslash 結果

no image

matplotlib でグラフの中に注釈の文字を書く方法

annotate を使う。 例 import numpy as np from matplotlib import pyplot as plt x = np.linspace(-10,10,100) …

no image

python3 で数字をゼロ埋めして表示する

string の、zfill を使う。 例 n = 3 n0 = str(n).zfill(10) print(n0) 結果 0000000003

no image

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

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

no image

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

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