0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

gnuplot / x-y-z の3次元散布図(splot)

Last updated at Posted at 2019-03-25

サンプルコード

local FNAME="$1"
splot "$FNAME" using 7:12:9 with points

# !/bin/sh

do_gnuplot() {
     local     FNAME="$1"

gnuplot << _EOT_
  set terminal x11
  set title      "x:Weight y:Siboi z:ADL"
  set xlabel     "Weight"
  set ylabel     "Sibo"
  set zlabel     "ADL"

#  1    2  3   4       5    6    7    8        9 10  11  12     13   14
# date,FY,age,検診場所,age2,身長,体重,体脂肪率,総コレ,LDL,HDL,中性脂肪,γGTP,

  set xrange[60:90]
  set yrange[*:*]
  set zrange[*:*]
  set grid
  splot "$FNAME" using 7:12:9 with points
_EOT_
}

  do_gnuplot $1
  echo "Hit any key"
  read DMY
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?