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

鐵蟲 (正式寫手)
|
你好 以下是我的語句: 我畫的多圖模式,屏幕上的圖很完美,AI打開的圖 就 變錯(cuò)亂了,大小也變了 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ā)表 | |
|---|---|---|---|---|
|
[考研] 一志愿吉林大學(xué)材料學(xué)碩321求調(diào)劑 +3 | Ymlll 2026-03-18 | 5/250 |
|
|---|---|---|---|---|
|
[考研] 274求調(diào)劑 +3 | S.H1 2026-03-18 | 3/150 |
|
|
[考研] 求材料調(diào)劑 +7 | 隔壁陳先生 2026-03-12 | 7/350 |
|
|
[考研] 070300化學(xué)319求調(diào)劑 +6 | 錦鯉0909 2026-03-17 | 6/300 |
|
|
[考研] 288求調(diào)劑,一志愿華南理工大學(xué)071005 +4 | ioodiiij 2026-03-17 | 4/200 |
|
|
[考研] 303求調(diào)劑 +4 | 睿08 2026-03-17 | 6/300 |
|
|
[考研] 265求調(diào)劑 +3 | 梁梁校校 2026-03-17 | 3/150 |
|
|
[考研] 334求調(diào)劑 +3 | 志存高遠(yuǎn)意在機(jī)?/a> 2026-03-16 | 3/150 |
|
|
[考研] 277調(diào)劑 +5 | 自由煎餅果子 2026-03-16 | 6/300 |
|
|
[考研] 290求調(diào)劑 +6 | 孔志浩 2026-03-12 | 11/550 |
|
|
[考研] 211本,11408一志愿中科院277分,曾在中科院自動(dòng)化所實(shí)習(xí) +6 | Losir 2026-03-12 | 7/350 |
|
|
[考研] 285化工學(xué)碩求調(diào)劑(081700) +9 | 柴郡貓_ 2026-03-12 | 9/450 |
|
|
[考研] 藥學(xué)383 求調(diào)劑 +3 | 藥學(xué)chy 2026-03-15 | 4/200 |
|
|
[考研] 0703化學(xué)調(diào)劑 290分有科研經(jīng)歷,論文在投 +7 | 膩膩gk 2026-03-14 | 7/350 |
|
|
[考研] 070305求調(diào)劑 +3 | mlpqaz03 2026-03-14 | 4/200 |
|
|
[考研] 294求調(diào)劑 +3 | Zys010410@ 2026-03-13 | 4/200 |
|
|
[考研] 255求調(diào)劑 +3 | 李嘉慧, 2026-03-12 | 4/200 |
|
|
[考研] 招收0805(材料)調(diào)劑 +3 | 18595523086 2026-03-13 | 3/150 |
|
|
[考研] 求調(diào)劑 +7 | 18880831720 2026-03-11 | 7/350 |
|
|
[考研] 材料301分求調(diào)劑 +5 | Liyouyumairs 2026-03-12 | 5/250 |
|