gnuplot Examples

 

unset label  
set title "Hall voltage as function of temperature" 
set xlabel "Temperatrue[℃]" 
set ylabel "Hall voltage[mV]" 
set label "I[mA]=30\nB[mT]=300 " at 120,-25 
plot  '-' using 1:2:3:4  title " "with xyerrorbars  
25    57.3    0.5    0.05 
35    57.8    0.5    0.05 
45    58    0.5    0.05 
55    57.1    0.5    0.05 
65    54    0.5    0.05 
75    47.1    0.5    0.05 
85    35.4    0.5    0.05 
95    21.4    0.5    0.05 
105    6.9    0.5    0.05 
115    0    0.5    0.05 
125    -3.1    0.5    0.05 
135    -4.3    0.5    0.05 
140    -4.1    0.5    0.05

 

 

 #script 2*standard derivation 
plot  [100:240] '-' using 1:2:3 title "r=0.019" with yerrorbars, \ 
'-' using 1:2:4 title "r=0.295" with yerrorbars,\ 
'-' using 1:2:4 title "r=0.04" with yerrorbars, \ 
'-' using 1:2:4 title "r=0.05" with yerrorbars,\ 
 1.75588E+11 title "theoritical value" 
119.9    1.81264E+11    1885866928    3771733855 
140.4    1.7771E+11    1885866928    3771733855 
160.6    1.83247E+11    1885866928    3771733855 
180.1    1.80967E+11    1885866928    3771733855 
200.9    1.79127E+11    1885866928    3771733855 
220.5    1.82463E+11    1885866928    3771733855 
EOF 
119.9    1.90149E+11    5385243100    10770486201 
140.9    1.73616E+11    5385243100    10770486201 
160.2    1.82143E+11    5385243100    10770486201 
180.7    1.81233E+11    5385243100    10770486201 
200.8    1.77745E+11    5385243100    10770486201 
220.1    1.7563E+11    5385243100    10770486201 
EOF 
119.9    2.31105E+11    21589919917    43179839834 
140.3    1.93235E+11    21589919917    43179839834 
160.6    1.81056E+11    21589919917    43179839834 
180.6    1.79937E+11    21589919917    43179839834 
200.5    1.74548E+11    21589919917    43179839834 
220.7    1.63073E+11    21589919917    43179839834 
EOF 
119.9    2.28741E+11    17958593709    35917187417 
140.3    1.97008E+11    17958593709    35917187417 
160.1    1.87698E+11    17958593709    35917187417 
180.6    1.8083E+11    17958593709    35917187417 
200.8    1.77515E+11    17958593709    35917187417 
220    1.77573E+11    17958593709    35917187417 
EOF

 

Leave a Reply