| 5 | 1/1 | 返回列表 |
| 查看: 1561 | 回復(fù): 3 | |||
| 當(dāng)前只顯示滿足指定條件的回帖,點(diǎn)擊這里查看本話題的所有回帖 | |||
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 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 0856 271求調(diào)劑 +3 | 展信悅_ 2026-03-21 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 302求調(diào)劑 +11 | 呼呼呼。。。。 2026-03-17 | 11/550 |
|
|
[考研] 310求調(diào)劑 +3 | baibai1314 2026-03-16 | 3/150 |
|
|
[考研] 一志愿武理材料305分求調(diào)劑 +6 | 想上岸的鯉魚 2026-03-18 | 7/350 |
|
|
[考研] 【考研調(diào)劑】化學(xué)專業(yè) 281分,一志愿四川大學(xué),誠心求調(diào)劑 +8 | 吃吃吃才有意義 2026-03-19 | 8/400 |
|
|
[考研] 304求調(diào)劑 +7 | 司空. 2026-03-18 | 7/350 |
|
|
[考研] 一志愿武漢理工材料工程專碩調(diào)劑 +9 | Doleres 2026-03-19 | 9/450 |
|
|
[考研] 求調(diào)劑一志愿南京航空航天大學(xué)289分 +3 | @taotao 2026-03-19 | 3/150 |
|
|
[考研] 265求調(diào)劑 +12 | 梁梁校校 2026-03-19 | 13/650 |
|
|
[基金申請]
學(xué)校已經(jīng)提交到NSFC,還能修改嗎?
40+4
|
babangida 2026-03-19 | 8/400 |
|
|
[考研] 招收調(diào)劑碩士 +4 | lidianxing 2026-03-19 | 12/600 |
|
|
[考研] 材料考研調(diào)劑 +3 | xwt。 2026-03-19 | 3/150 |
|
|
[考研] 328求調(diào)劑,英語六級551,有科研經(jīng)歷 +4 | 生物工程調(diào)劑 2026-03-16 | 12/600 |
|
|
[考研] 0854可跨調(diào)劑,一作一項(xiàng)核心論文五項(xiàng)專利,省、國級證書40+數(shù)一英一287 +8 | 小李0854 2026-03-16 | 8/400 |
|
|
[考研] 一志愿蘇州大學(xué)材料工程(085601)專碩有科研經(jīng)歷三項(xiàng)國獎兩個實(shí)用型專利一項(xiàng)省級立項(xiàng) +6 | 大火山小火山 2026-03-16 | 8/400 |
|
|
[考研] 考研調(diào)劑 +3 | 淇ya_~ 2026-03-17 | 5/250 |
|
|
[考研] 0703化學(xué)調(diào)劑 290分有科研經(jīng)歷,論文在投 +7 | 膩膩gk 2026-03-14 | 7/350 |
|
|
[考研] 288求調(diào)劑 +4 | 奇點(diǎn)0314 2026-03-14 | 4/200 |
|
|
[考研] 本科南京大學(xué)一志愿川大藥學(xué)327 +3 | 麥田耕者 2026-03-14 | 3/150 |
|
|
[考研] 289求調(diào)劑 +4 | 這么名字咋樣 2026-03-14 | 6/300 |
|