Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
Help us understand the problem. What is going on with this article?

gnuplot > 読込みファイルのセパレータをカンマにする > set datafile separator ","

More than 3 years have passed since last update.
動作環境
GeForce GTX 1070 (8GB)
ASRock Z170M Pro4S [Intel Z170chipset]
Ubuntu 14.04 LTS desktop amd64
TensorFlow v0.11
cuDNN v5.1 for Linux
CUDA v8.0
Python 2.7.6
IPython 5.1.0 -- An enhanced Interactive Python.
gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
GNU bash, version 4.3.8(1)-release (x86_64-pc-linux-gnu)
gnuplot 4.6 patchlevel 4

gnuplotではデフォルトではスペース区切りのファイルを読込むようだ。
カンマ区切りのファイルを読込みたい。

$ head dipoles_170404 
-0.209440,-1.466077,-5.235988
0.209440,-1.466077,-5.235988
-1.047198,-1.047198,-5.235988
-0.628319,-1.047198,-5.235988
-0.209440,-1.047198,-5.235988
0.209440,-1.047198,-5.235988
0.628319,-1.047198,-5.235988
1.047198,-1.047198,-5.235988
-1.047198,-0.628319,-5.235988
-0.628319,-0.628319,-5.235988

参考 http://gnuplot.sourceforge.net/docs_4.2/node173.html

gnuplot> set datafile separator ","
gnuplot> splot "dipoles_170404"

qiita.png

7of9
セブンオブナインです。Unimatrix 01の第三付属物 9の7という識別番号です。Star trek Voyagerの好きなキャラクターです。まとめ記事は後日タイトルから内容がわからなくなるため、title検索で見つかるよう個々の記事にしてます。いわゆるBorg集合体の有名なセリフから「お前たち(の知識)を吸収する。抵抗は無意味だ」。Thanks in advance.
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away