雑多な技術系メモ

自分用のメモ。内容は保証しません。よろしくお願いします。

gnuplot

3Dグラフ用のサンプルプログラム

rubyのgnuplotで3Dグラフを生成するサンプルを貼っておきます。 require "gnuplot" Gnuplot.open do |gp| Gnuplot::SPlot.new( gp ) do |plot| plot.output "test.eps" plot.xlabel "x" plot.ylabel "y" plot.zlabel "z" plot.set 'terminal postscript 16 e…