Advertisement
Guest User

Untitled

a guest
Mar 5th, 2017
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set terminal png
  2. set output "R.png"
  3.  
  4. set title "Графики относительной погрешности при R=0.5...3"
  5. set ylabel "Относительная погрешность, %"
  6. set xlabel "Коэффициент подобия"
  7.  
  8. set grid
  9. set xtics 0.005
  10. set ytics 0.02
  11.  
  12. set parametric
  13. y(t)=t;
  14. set xrange[0.013:0.07]
  15. set yrange[0:0.2]
  16. set trange [0.013:0.07]
  17.  
  18. plot "R=0,5.txt"    with lines  lw 2 lt rgb 'red'       ti "R = 0.5",\
  19.      "R=1.txt"      with lines  lw 2 lt rgb 'green'     ti "R = 1",\
  20.      "R=1,5.txt"    with lines  lw 2 lt rgb 'brown'     ti "R = 1.5",\
  21.      "R=2.txt"      with lines  lw 2 lt rgb 'purple'    ti "R = 2",\
  22.      "R=2,5.txt"    with lines  lw 2 lt rgb 'orange'    ti "R = 2.5",\
  23.      "R=3.txt"      with lines  lw 2 lt rgb 'blue'      ti "R = 3",\
  24.      y(t), 0.1      notitle     lw 4 lt rgb "black"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement