comment

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

関連記事

no image

tex の表で、複数行を1行内に入れる方法

multirow パッケージを使っておき、表内で multirow で入力する。 例 \usepackage{multirow} \begin{document} \begin{table} \beg …

no image

正規表現でプラス(+)の意味

+記号は、1文字以上の繰り返しを表す。 あてはまる文字が0文字の場合は表現しない。 例 [A-Z]+ あてはまる文字列 ABCC ZYXEFG あてはまらない文字列 123 ABC9

no image

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

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

no image

tex で、表のキャプション内で改行する方法

\newline を使って次のように書く。 例 \begin{table} \begin{tabular}{ |c|c|c|c| } \hline 1 & 2 & 3 \\ \hlin …

no image

c言語で文字をつなげる方法

sprintf 関数を使って、result 変数に文字列 s1 と文字列 s2 を結合した文字列を出力することができる。 例 #include<stdio.h> int main(void) { …