| 5 | 1/1 | 返回列表 |
| 查看: 1560 | 回復(fù): 3 | |||
| 當(dāng)前只顯示滿足指定條件的回帖,點擊這里查看本話題的所有回帖 | |||
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ā)表 | |
|---|---|---|---|---|
|
[考研] 085410人工智能專碩317求調(diào)劑(0854都可以) +3 | xbxudjdn 2026-03-18 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 286求調(diào)劑 +6 | lemonzzn 2026-03-16 | 9/450 |
|
|
[考研] 085601專碩,總分342求調(diào)劑,地區(qū)不限 +5 | share_joy 2026-03-16 | 5/250 |
|
|
[考研] 0703化學(xué)調(diào)劑 +3 | 妮妮ninicgb 2026-03-17 | 3/150 |
|
|
[基金申請] 被我言中:新模板不強調(diào)格式了,假專家開始管格式了 +4 | beefly 2026-03-14 | 4/200 |
|
|
[考研] 本人考085602 化學(xué)工程 專碩 +16 | 不知道叫什么! 2026-03-15 | 18/900 |
|
|
[考研] 290求調(diào)劑 +3 | p asserby. 2026-03-15 | 4/200 |
|
|
[考研] 283求調(diào)劑 +3 | 聽風(fēng)就是雨; 2026-03-16 | 3/150 |
|
|
[考研] 326求調(diào)劑 +4 | 諾貝爾化學(xué)獎覬?/a> 2026-03-15 | 7/350 |
|
|
[基金申請]
今年的國基金是打分制嗎?
50+3
|
zhanghaozhu 2026-03-14 | 3/150 |
|
|
[考研] 304求調(diào)劑 +4 | ahbd 2026-03-14 | 4/200 |
|
|
[考研] 321求調(diào)劑 +5 | 大米飯! 2026-03-15 | 5/250 |
|
|
[考研] 277材料科學(xué)與工程080500求調(diào)劑 +3 | 自由煎餅果子 2026-03-16 | 3/150 |
|
|
[考研] 288求調(diào)劑 +4 | 奇點0314 2026-03-14 | 4/200 |
|
|
[考研] 265求調(diào)劑 +4 | 威化餅07 2026-03-12 | 4/200 |
|
|
[基金申請] 現(xiàn)在如何回避去年的某一個專家,不知道名字 +3 | zk200107 2026-03-12 | 6/300 |
|
|
[考研] [0860]321分求調(diào)劑,ab區(qū)皆可 +4 | 寶貴熱 2026-03-13 | 4/200 |
|
|
[考研] 求調(diào)劑 +5 | 一定有學(xué)上- 2026-03-12 | 5/250 |
|
|
[考研] 一志愿211化學(xué)學(xué)碩310分求調(diào)劑 +8 | 努力奮斗112 2026-03-12 | 9/450 |
|
|
[考研] 一志愿山大07化學(xué) 332分 四六級已過 本科山東雙非 求調(diào)劑! +3 | 不想理你 2026-03-12 | 3/150 |
|