comment

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

関連記事

no image

gnuplot で微分記号(文字上のドット)を入力する方法

文字の上にドットを付けて、時間微分を表すことがある。これを gnuplot で表現するには、次のようにする。 例 set encoding utf8 set ylabel “x\U+0307” plo …

no image

tex で文字の上の点を入力する方法

テキストモードでは \. 数式モードでは \dot{} を使う。 例 \.{a}$\dot{x}$ 結果

no image

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

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

no image

python3 でランダムな整数の配列を作る方法

random モジュールを使う。randint() の引数で、配列の最小値と最大値を指定できる。 例 import random random_arr = [random.randint(-2 …

no image

matplotlib で複数のグラフを並べて表示する方法

plot.subplots() でグラフの縦方向と横方向の数を指定する。 例 import numpy as np from matplotlib import pyplot as plt x1 = …