File: eg5.plt

package info (click to toggle)
gnuplot5 5.0.0~rc%2Bdfsg2-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,548 kB
  • ctags: 8,104
  • sloc: ansic: 77,108; cpp: 6,848; makefile: 1,932; sh: 1,343; lisp: 657; 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)