comment

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

関連記事

no image

python3 でリストの偶数番目・奇数番目の項目を出力する

リストに対して、::2 を使えば良い。 例 list1 = [‘日’,’月’,’火’,’水’,’木’,’金’,’土’] list2 = list1[::2] list3 = list1[1::2] p …

no image

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

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

no image

tex で⇔記号の上に文字を表示する方法

\underset を使って表示することができる。amsmath パッケージを使う。 例 \usepackage{amsmath} \begin{document} $\underset{\Leftr …

no image

gnuplot で、グラフの境界の一部を非表示にする方法

次のページで書いてあることを参考にする。 http://gnuplot.sourceforge.net/docs_4.2/node162.html bottom=1, left=2, top=4, r …

no image

python3 で、dictionary のキー一覧を取得する方法

dict.keys() でキーを取得することができる。 参考:dictionary の値一覧を取得するときは、dict.values() を使う。 例 print(dict.keys())