| 4 | 1/1 | 返回列表 |
| 查看: 1558 | 回復(fù): 3 | |||
damao4361556鐵蟲 (正式寫手)
|
[交流]
gnuplot 畫圖 eps 格式 錯亂 已有2人參與
|
|
有用gnuplot 畫圖的嗎? 為何 屏幕上輸出的圖片格式很好 生成eps后 用其他軟件打開 就全亂了? 輸出的時候需要注意什么嗎? |
至尊木蟲 (正式寫手)

鐵蟲 (正式寫手)
|
你好 以下是我的語句: 我畫的多圖模式,屏幕上的圖很完美,AI打開的圖 就 變錯亂了,大小也變了 set term post eps color solid enh font 'Times new roman,16' set output "dephasing.eps" #set terminal pngcairo enhanced font 'Times new roman,16' #set output 'dephasing.png' #line style set style line 11 lc rgb '#8b1a0e' pt 1 ps 1 lt 1 lw 2 # --- red set style line 1 lc rgb 'black' pt 1 ps 1 lt 1 lw 2 # --- red set style line 2 lc rgb 'red' pt 1 ps 1 lt 1 lw 2 # --- red set style line 3 lc rgb 'blue' pt 1 ps 1 lt 1 lw 2 # --- red set style line 4 lc rgb 'green' pt 1 ps 1 lt 1 lw 2 # --- red #point style set style line 5 lc rgb '#808000' pt 1 ps 1.5 # square set style line 6 lc rgb '#808000' pt 1 ps 1.5 # circle set style line 7 lc rgb '#808000' pt 1 ps 1.5 # triangle set style line 8 lc rgb '#808000' pt 1 ps 1.5 # triangle #fitted function f1(x)=exp(-x*x/sigmaa/sigmaa/2) sigmaa=1 f2(x)=exp(-x*x/sigmab/sigmab/2) sigmab=1 f3(x)=exp(-x*x/sigmac/sigmac/2) sigmac=1 f4(x)=exp(-x*x/sigmad/sigmad/2) sigmad=1 set style function lines set size 0.9, 0.6 set origin 0.0, 0.0 set multiplot set tics scale 1 #set key autotitle column nobox samplen 1 noenhanced set size 0.3,0.3 set origin 0.0,0.3 set grid set xr [0:1400] set xtics 0,400.,1400. font "times new roman, 16" set ytics -0.01,0.02,1 font "times new roman, 16" #set mytics 5 #set mxtics 10 set ylabel "ACF [eV^2]" font "times new roman,16" set key font "times new roman, 16" #set output "dephasing.eps" plot \ "21" u 1:5 w l ls 1 t "Pristine perovskite" , \ "22" u 1:5 w l ls 2 t "Defective perovskite" set size 0.3,0.3 set origin 0.3,0.3 unset ytics set xr [0:500] set xtics 0,100.,500. font "times new roman, 16" set ylabel "Spectral Density" font "times new roman,16" plot \ "11" u 4:6 w l ls 1 t "Pristine perovskite" , \ "12" u 4:6 w l ls 2 t "Defective perovskite" set size 0.3,0.3 set origin 0.6,0.3 set xr [0:50] set xtics 0,10.,50. font "times new roman, 16" set ytics ("0" 0, "1" 1) font "times new roman, 16" set ylabel "Dephasing function" font "times new roman,16" fit f1(x) "21" u 1:2 via sigmaa fit f2(x) "22" u 1:2 via sigmab plot \ "21" u 1:2 w l ls 1 t "Pristine perovskite", \ f1(x) w p ls 5 t "fitted", \ "22" u 1:2 w l ls 2 t "Defective perovskite", \ f2(x) w p ls 6 t "fitted" set size 0.3,0.3 set origin 0,0 set ytics set xr [0:1400] set xtics 0,400.,1400. font "times new roman, 16" set ytics -0.01,0.02,1 font "times new roman, 16" set ylabel "ACF [eV^2]" font "times new roman,16" set xlabel "Time [fs]" font "times new roman,16" plot \ "23" u 1:5 w l ls 3 t "Hole trapping" , \ "24" u 1:5 w l ls 4 t "Electron trapping" set size 0.3,0.3 set origin 0.3,0 unset ytics set xr [0:500] set xtics 0,100.,500. font "times new roman, 16" set ylabel "Spectral Density" font "times new roman,16" set xlabel "Frequency [cm^-1]" font "times new roman,16" plot \ "13" u 4:6 w l ls 3 t "Hole trapping" , \ "14" u 4:6 w l ls 4 t "Electron trapping" set size 0.3,0.3 set origin 0.6,0 set xr [0:50] set xtics 0,10.,50. #set ytics 0,1.,1. set ytics ("0" 0, "1" 1) font "times new roman, 16" set ylabel "Dephasing function" font "times new roman,16" set xlabel "Time [fs]" font "times new roman,16" fit f3(x) "23" u 1:2 via sigmac fit f4(x) "24" u 1:2 via sigmad plot \ "23" u 1:2 w l ls 3 t "Hole trapping" , \ f3(x) w p ls 7 t "fitted", \ "24" u 1:2 w l ls 4 t "Electron trapping", \ f4(x) w p ls 8 t "fitted" unset multiplot unset output |
| 4 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 求材料調(diào)劑 +7 | 隔壁陳先生 2026-03-12 | 7/350 |
|
|---|---|---|---|---|
|
[考研] 266求調(diào)劑 +5 | 陽陽哇塞 2026-03-14 | 9/450 |
|
|
[考研] 化學(xué)工程321分求調(diào)劑 +15 | 大米飯! 2026-03-15 | 18/900 |
|
|
[考研] 297求調(diào)劑 +8 | 戲精丹丹丹 2026-03-17 | 8/400 |
|
|
[考研] 070300化學(xué)319求調(diào)劑 +6 | 錦鯉0909 2026-03-17 | 6/300 |
|
|
[碩博家園] 湖北工業(yè)大學(xué) 生命科學(xué)與健康學(xué)院-課題組招收2026級食品/生物方向碩士 +3 | 1喜春8 2026-03-17 | 5/250 |
|
|
[考研] 有沒有道鐵/土木的想調(diào)劑南林,給自己招師弟中~ +3 | TqlXswl 2026-03-16 | 7/350 |
|
|
[考研] 333求調(diào)劑 +3 | 文思客 2026-03-16 | 7/350 |
|
|
[考研] 化學(xué)調(diào)劑0703 +8 | 啊我我的 2026-03-11 | 8/400 |
|
|
[考研] 0703一志愿211 285分求調(diào)劑 +5 | ly3471z 2026-03-13 | 5/250 |
|
|
[考研] 085600調(diào)劑 +5 | 漾漾123sun 2026-03-12 | 6/300 |
|
|
[考研] 求老師收留調(diào)劑 +4 | jiang姜66 2026-03-14 | 5/250 |
|
|
[考博] 東華理工大學(xué)化材專業(yè)26屆碩士博士申請 +6 | zlingli 2026-03-13 | 6/300 |
|
|
[考研] 294求調(diào)劑 +3 | Zys010410@ 2026-03-13 | 4/200 |
|
|
[考研] 297一志愿上交085600求調(diào)劑 +5 | 指尖八千里 2026-03-14 | 5/250 |
|
|
[考研] 308 085701 四六級已過求調(diào)劑 +7 | 溫喬喬喬喬 2026-03-12 | 14/700 |
|
|
[考研] 281求調(diào)劑 +9 | Koxui 2026-03-12 | 11/550 |
|
|
[考研] 0703化學(xué)求調(diào)劑 +7 | 綠豆芹菜湯 2026-03-12 | 7/350 |
|
|
[考研] 工科材料085601 279求調(diào)劑 +8 | 困于星晨 2026-03-12 | 10/500 |
|
|
[考研] 070303一志愿西北大學(xué)學(xué)碩310找調(diào)劑 +3 | d如愿上岸 2026-03-13 | 3/150 |
|