|
|
[ÇóÖú]
gnuplotÖвåÒ³£¨Í¼Æ¬£©ÎÞ·¨ÍêÈ«ÏÔʾ¡£ÇëÎÊÈçºÎ½«Í¼Æ¬ËõС£¬ÒÔʹµÃ¿ÉÒÔÏÔʾ?
´ó¼ÒºÃ£¬
ÎÊÌâÊÇÕâÑù¡£Ò»¸±Í¼Ïñ£¬ ÎÒÏë¼ÓÈëÒ»¸öͼƬ²åÒ³¡£µ±²åҳΪһ¸öº¯Êýʱ£¬¿ÉÒÔÕý³£ÏÔʾ£¨ÈçͼÖÐ×ó±ß²åÒ³£©£»µ«ÊǼÓÈëÒ»·ùͼƬʱ£¬ÒòΪÏÞÖÆÁ˲åÒ³µÄ³ß´ç£¬²»ÖªÊDz»ÊÇͼƬ̫´ó, Ö»ÏÔʾÁ˾ֲ¿£¨È總ͼÓұ߲åÒ³£©. ¸½gnuplotÃüÁî
ÇëÎÊÈçºÎ¿ØÖÆÍ¼Æ¬µÄ´óСʹµÃÕâ¸öͼƬ²åÒ³ÄÜÏÔʾÍêÈ«£¿ËÑË÷δµÃ£¬Çë´ó¼Ò°ïæ. л¡«¡£
Ê¥µ®¿ìÀÖ
Gang
---------------
set term postscript eps color solid linewidth 2 "Times-New-Roman" 24 enhanced
set out 'multi_s.eps'
set xlabel "r(m)" font "Times-New-Roman, 24"
set xrange [0 : 5]
set xtics 0.4
set mxtics 2
set ylabel "E "
set yrange [-0.6:4]
set ytics 1
set mytics 2
set key right top
set size 1.0,1.0 #This sets the size of the total figure.
set origin 0.0,0.0
set multiplot
set origin 0.0,0.0 #This is the bigger plot.
set size 1,1
set key right top
#set title ' Free energy'
plot [2.4 : 4.4] "pp_s.dat" u 1:3 w l lw 2 notitle ,\
"pp_s.dat" u 1:3:4 w yerrorbars ls 1 notitle
# The second graph
set origin 0.2,0.5 #This is where the origin of the inset lies, the coordinate is the relative
set size 0.20,0.35 #size of the bigger plot, not the absolute value.
set border # with border
unset xlabel; unset ylabel; unset title; set nokey; unset xtics; unset ytics
plot [2.4: 4.4] "pp_s.dat" u 1:3 w l lw 2 notitle
# The third graph
set origin 0.7,0.4 #This is where the origin of the inset lies, the coordinate is the relative
set size 0.20,0.35 #size of the bigger plot, not the absolute value.
unset border
unset xlabel; unset ylabel; unset title; set nokey; unset xtics; unset ytics
plot "mei.jpg" binary filetype=jpg with rgbimage notitle
set nomultiplot
set output
set term wxt
![gnuplotÖвåÒ³£¨Í¼Æ¬£©ÎÞ·¨ÍêÈ«ÏÔʾ¡£ÇëÎÊÈçºÎ½«Í¼Æ¬ËõС£¬ÒÔʹµÃ¿ÉÒÔÏÔʾ?]()
multi_s.png |
|