comment

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

関連記事

no image

python3 で、ファイルの文字列の1行目を出力する

ファイルを読み込んで、1行目だけをコンソールに出力するには readlines() を使う。 例 f = open(“data.txt”) lines = f.readlines() print(li …

no image

matplotlib の ax でx軸、y軸の端の値を設定する

axes には、set_xlim として定義する。 例 import numpy as np from matplotlib import pyplot as plt x = np.linspace( …

no image

vs code スニペットで $ 記号を入力する方法

vs code スニペット(自動入力)設定ファイル中で $ 記号を入力する方法。 $ のかわりに $$ と入力すればよい。 参考リンク https://stackoverflow.com/questi …

no image

std::vector で、vector の要素を erase() で消去する

任意の要素を指定して、 養素を消去することができる。 例 #include <iostream> #include <vector> int main() { std::vector&lt …

no image

tex でマイクロメートル(μm)を入力する方法

tex でマイクロメートル(μm)を表示する方法。(数式モード外での書き方。) 例 20 {\textmu}m 結果 レッドブル シュガーフリー 250ml×24本  全国送料無料(沖縄、離島は要別途 …