File: eg5.plt

package info (click to toggle)
gnuplot 4.6.6-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 15,640 kB
  • sloc: ansic: 85,383; cpp: 6,743; lisp: 3,999; makefile: 2,126; sh: 976; objc: 647; asm: 539; perl: 310; awk: 235; pascal: 194; csh: 179; 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)