comment

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

関連記事

no image

tex で表を横にぶち抜きしたものを作成する方法

multicolumn を使う。 例 \begin{center} \begin{table}[] \begin{tabular}{|c|c|c|c|} \hline \multicolumn …

no image

tex で図の番号を表示しない方法

caption パッケージを使っておき、\caption* を使うと、図の番号を表示しないようにできる。 例 \usepackage{caption} \begin{document} \begin{ …

no image

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

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

no image

python3 で文字列を入力させて受け取る方法

C言語で scanf のようなものを作るには、python では input() で実現できる。 例 print(‘xの値を入力してください’) x = input() print(‘xの値は ‘ + …

no image

gnuplot で、グラフの形を正方形にする方法

set size square または、その省略形で set size sq というコマンドを使えば正方形の中にグラフを描くことができる。 例 set size square plot cos(x) …