comment

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

関連記事

no image

matplotlib で、2次関数のグラフを描画する方法

2次関数のグラフを表示するには次のようにする。 例 import matplotlib.pyplot as plt import numpy as np # numpy linspace 等間隔な数列 …

no image

tex でアンダーライン(下線)に色をつける方法

テキストの下線に色を付けたい場合には、color, soul パッケージを使用する。 そして、下線をつけたいテキストを\ul で囲む。 例 \usepackage{color, soul} \begi …

no image

matplotlib で、凡例を表示する方法

データに label を関連付け、plt.legend() で凡例を表示する。 例 from matplotlib import pyplot as plt data_x = [25,26,2 …

no image

tex でかけ算の記号 x (✕)を表示する

かけ算記号を表示するには、$\times$ を使う。 例 $2 \times 3$ 結果

no image

c++ で std::vector を宣言時に初期化する方法

std::vector を宣言時に初期化することができる。 コンパイル時に、–std=c++11 のオプションを指定する。 例 #include <iostream> #includ …