comment

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

関連記事

no image

fputs を使って文字列を出力する方法

C言語で文字列を出力するときは、printf を使うことができる。 printf の代わりに fputs を使って文字列を出力することができる。 出力に変数をしなくてもよいときは、fputs のほうが …

no image

c++ で文字列を「区切り文字」を使って分ける方法

string の find を使って、区切り文字の場所を取得し、その位置で区切る。 例 #include <iostream> #include <string> using namesp …

no image

tex で三角形の相似記号を入力する

\sim を使う。 例 $\triangle{ABC} \sim \triangle{DEF}$ 結果

no image

gnuplot で「かけ算記号」を表示する方法

書き出し先(output)のフォーマットを eps 形式にしてから、{/Symbol \264} とすると「かけ算記号」が入力できる。 例 set term post eps enhanced set …

no image

matplotlib で、縦横の線(グリッド)を描く方法

pyplot grid で縦横線(罫線のようなもの)を引くことができる。 例 from matplotlib import pyplot as plt data_x = [25,26,27] …