24小时热门版块排行榜    

查看: 957  |  回复: 2

Dylan1280

新虫 (初入文坛)

[求助] gnuplot中插页(图片)无法完全显示。请问如何将图片缩小,以使得可以显示?

大家好,

问题是这样。一副图像, 我想加入一个图片插页。当插页为一个函数时,可以正常显示(如图中左边插页);但是加入一幅图片时,因为限制了插页的尺寸,不知是不是图片太大, 只显示了局部(如附图右边插页). 附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
回复此楼
统计物理,量子场论,相干态,SQUIDs
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

itpfeng

木虫 (著名写手)

gnuplot不能就图那你不能把图缩小去就gnuplot么,未必gnuplot里就内置了把图片缩小的功能,要熟悉这些新功能还是去看manual
2楼2013-12-20 02:20:57
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

Dylan1280

新虫 (初入文坛)

我也這樣想。不過將圖片像素後減小了很多以後,以我這命令,也不行。不知道您說的『把圖縮小』還可指什麼操作?
统计物理,量子场论,相干态,SQUIDs
3楼2013-12-20 17:44:48
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 Dylan1280 的主题更新
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 xvJS1BYDxvBS 2026-10-31 10/500 2026-11-01 14:50 by BCdvBAEpt3zm
[论文投稿] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +3 xvJS1BYDxvBS 2026-10-31 7/350 2026-11-01 14:50 by BCdvBAEpt3zm
[找工作] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 1uaZt2kAZj2S 2026-10-31 8/400 2026-11-01 14:48 by BCdvBAEpt3zm
[公派出国] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 1uaZt2kAZj2S 2026-10-30 14/700 2026-11-01 14:24 by BCdvBAEpt3zm
[硕博家园] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +5 X5bHxOULxFqb 2026-10-30 13/650 2026-11-01 14:16 by BCdvBAEpt3zm
[基金申请] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +3 xvJS1BYDxvBS 2026-10-31 3/150 2026-11-01 12:53 by BCdvBAEpt3zm
[考博] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 1uaZt2kAZj2S 2026-10-31 6/300 2026-11-01 12:40 by BCdvBAEpt3zm
[考研] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +4 1uaZt2kAZj2S 2026-10-31 8/400 2026-11-01 12:38 by BCdvBAEpt3zm
[论文投稿] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +3 1uaZt2kAZj2S 2026-10-30 12/600 2026-11-01 12:19 by BCdvBAEpt3zm
[硕博家园] 售一区SCI文章T0P,我:8O.551.O54,科目全,可十急 +3 1uaZt2kAZj2S 2026-10-30 13/650 2026-11-01 12:14 by BCdvBAEpt3zm
[考研] 售SCI文章,我:8O.5.5.1O.54,科目全,可十急 +3 1uaZt2kAZj2S 2026-10-30 16/800 2026-11-01 12:14 by BCdvBAEpt3zm
[教师之家] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +5 X5bHxOULxFqb 2026-10-30 15/750 2026-11-01 12:11 by BCdvBAEpt3zm
[基金申请] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +3 hKe7U1kad5Sg 2026-10-31 6/300 2026-11-01 11:09 by BCdvBAEpt3zm
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 xvJS1BYDxvBS 2026-10-31 4/200 2026-11-01 11:01 by BCdvBAEpt3zm
[硕博家园] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 xvJS1BYDxvBS 2026-10-31 9/450 2026-11-01 10:53 by BCdvBAEpt3zm
[博后之家] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +4 1uaZt2kAZj2S 2026-10-31 7/350 2026-11-01 10:48 by BCdvBAEpt3zm
[考博] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +4 1uaZt2kAZj2S 2026-10-30 16/800 2026-11-01 10:27 by BCdvBAEpt3zm
[公派出国] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +3 1uaZt2kAZj2S 2026-10-30 14/700 2026-11-01 07:01 by YXM1FDCSE8Bn
[考博] 售SCI一区T0P文章,我:8.O.55.1.O.5.4,科目全,可+急 +4 X5bHxOULxFqb 2026-10-30 21/1050 2026-11-01 06:46 by YXM1FDCSE8Bn
[考博] 申博求助 20+3 Katrinae 2026-10-26 4/200 2026-10-27 09:56 by 北京莱茵编辑
信息提示
请填处理意见