Advertisement
Guest User

GNUPlot

a guest
Mar 12th, 2016
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set terminal epslatex color size 15cm,12cm
  2. set output 'graphLab1.tex'
  3. set xlabel '$f$\,, Гц'
  4. set ylabel '$|K|$'
  5. set title 'Зависимость коэффициента передачи от частоты'
  6. set xrange[10:3000]
  7. set yrange[0:1.1]
  8. set grid ytics lc rgb '#555555' lw 1 lt 0
  9. set ytics 0,0.1
  10. set mytics 2
  11. set grid xtics lc rgb '#555555' lw 1 lt 0
  12. set logscale x
  13.  
  14. f(x)=a*atan(b*x+c)+d
  15. fit f(x) 'data' using 1:2 via a,b,c,d
  16.  
  17. plot 'data' using 1:2 notitle with point pt 82, f(x) title '$|K(f)|$' with line lt 1 lw 3 lc rgb '#333333'
  18. set output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement