gnuplot + TeX

Install

<TeX install>

TeXworks-win-setup-0.6.2-201704300708-git_7ecce17.exe

 

<Ghostscript install>

gs921w32full-gpl.exe

 -> https://www.ghostscript.com/download/gsdnld.html

 

<scilab install>

scilab-5.5.2_x64.exe (previous version)

 -> http://www.scilab.org/

 

<KETpic setting>

ketpicsciL5_1_6c.zip

 -> http://ketpic.com/?page_id=56

  (KeTpic for Scilab/old/ketpicsciL5_1_6c.zip)

 

<gnuplot install>

 -> http://www.gnuplot.info/

eps output

> set terminal epslatex

> set output 'fig.eps'

> plot x

> unset output

 

To display this file type on a screen, "ghostview" program is needed.

tpic output

> set terminal tpic

> set output 'fig.tex'

> plot x

> unset output

GIF animation

set terminal gif animate optimize
set size square
set output "fig.gif"
set yrange [-1.1:1.1]
i=-1000
while(i<1000){
t=i/10
plot x+t notitle
i=i+1
}
unset output