File: eg5.plt

package info (click to toggle)
gnuplot 5.0.5+dfsg1-6+deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 12,800 kB
  • ctags: 8,062
  • sloc: ansic: 78,152; cpp: 6,981; makefile: 2,075; sh: 1,343; lisp: 655; perl: 302; awk: 235; pascal: 194; tcl: 88; python: 46
file content (15 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
set terminal latex
set output "eg5.tex"
set format y "$%g$"
set format x '$%4.1f\pi$'
unset clip points
set title 'This is $\sin(x)$'
set xlabel "This is the $x$ axis"
set ylabel '$\sin(x)$'
unset key
set xtics ('$-\pi$' -pi,\
 '$-\frac{\pi}{2}$' -pi/2,\
 "0" 0,\
 '$\frac{\pi}{2}$' pi/2,\
 '$\pi$' pi)
plot [-pi:pi] [-1:1] sin(x)