2
2

More than 1 year has passed since last update.

【環境構築】Fortranでgnuplotを起動する方法

Last updated at Posted at 2022-09-23

背景

  • Fortranで計算した結果を描画するにはgnuplotを使用することが多い。
  • Fortranのプログラム内からgnuplotを呼び出して表示させたいことがある。

目標

  • Fortranのプログラム内からgnuplotを起動して表示させる。

Fortranからgnuplotを起動するプログラム

Fortranからgnuplotを起動してファイルロードによってグラフを作るプログラム
program anime
implicit none
character(500) :: gnu

gnu = "gnuplot > load 'ファイル名'"

call system(gnu)

end program anime

関連記事

参考資料

個人ブログ

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2