You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
mipt_lab/2.1.1/2.1.1.graph

34 lines
1.2 KiB
Plaintext

2 years ago
#!/usr/bin/gnuplot -persist
set terminal postscript solid color eps enhanced
#set terminal png enhanced
set output "2.1.1.ps"
set encoding koi8r
#set label 11 center at graph 0.5,char 0.5 "Рис.2 Результаты измерений напряжения V_{B} в зависимости от тока I_{A} для проволок разной длины l и их линейная аппроксимация y = kx" font "Arial,10"
set grid
set xlabel "N, Вт"
set ylabel '/Symbol D T, ^\circ C'
set multiplot
set yrange [0:8]
set xrange [0:1.5]
set key spacing 2
set key bottom right
set key off
set style line 1 lt 1 pt 7 ps 0.5 lc rgb "red"
set style line 2 lt 1 pt 7 ps 0.5 lc rgb "blue"
#set style line 3 lt 1 pt 7 ps 0.5 lc rgb "green"
set style line 4 lc black
set key box linestyle 4
set key opaque Left
plot "2.1.1(q1).txt" using 1:2:3 notitle with yerrorbars linestyle 1
plot "2.1.1(q2).txt" using 1:2:3 notitle with yerrorbars linestyle 2
#plot "1.1.1(20).txt" using 2:1:3 notitle with yerrorbars linestyle 3
plot 3.68*x smooth csplines title "q_{1}" linestyle 1, \
4.6*x smooth csplines title "q_{2}" linestyle 2
# 2.006*x smooth csplines title "l = 20 см\nk=2.006^+/-0.023 Ом" linestyle 3