请选择 进入手机版 | 继续访问电脑版
爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3159|回复: 5

[图形美化] 关于Grads一页多图的疑惑

[复制链接]

新浪微博达人勋

发表于 2016-3-8 22:03:54 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
本帖最后由 二子搞研究 于 2016-3-8 22:16 编辑

这是我根据论坛的贴子画出来的图,使用了'run page 21 21'与'vpage 0 5.5 0 6'两种方式,同时也结合了set parea效果如下,可是无论怎么设置图片的大小似乎都差不多大,如果才能调整两张图片使其尽量能够占满空间呢?我不想设置页面为竖直的,左右方对比起来方便一些。求指点!

vpage.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-3-8 22:04:41 | 显示全部楼层
@river 呼叫大神!
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-3-9 07:55:53 | 显示全部楼层
你看看这两个命令的用法和不同
set vpage

set vpage xmin xmax ymin ymax

This command defines a "virtual page" that fits within the specified limits of the real page. All graphics output will be drawn into this "virtual page" until another set vpage command is entered. A clear command clears the physical page (and any virtual pages drawn on it).

When GrADS is first started, it prompts for landscape or portrait mode. This defines the size of the real page (11x8.5 or 8.5x11), and the dimensions for the virtual page must fit within this real page.

The set vpage command will define virtual page limits in terms of inches (virtual page inches), which are the coordinates that will be used in the various commands that require inches to be used. The new page limits are printed when the set vpage command completes.

To return to the default state where the real page equals the virtual page, enter:

set vpage off


set parea

set parea xmin xmax ymin ymax

The command specifies the area for plotting contour plots, maps, or line graphs. This area does not include axis labels, titles, etc., so if you need to see those, provide for an adequate margin.

The region is specified in terms of virtual page units. By default, the virtual page is equal to the real page, so the units are approximately inches on the real page.

Maps are scaled to fit within the plotting area such that their correct aspect ratio is maintained. Thus, the map will not fill the entire plotting area except under certain lat/lon ranges. A line graph or a contour plot without a map will be scaled to fit entirely within the specified plotting area.

By default, an appropriate plotting area is chosen depending on the type of graphics output. To return to this default, enter:

set parea off
It is not appropriate to use this command to put multiple plots on one page. It is better to use the set vpage command.
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2016-3-9 09:46:23 | 显示全部楼层
river 发表于 2016-3-9 07:55
你看看这两个命令的用法和不同
set vpage

看过了,也调了很多次,效果依旧很不理想,是不是就只能这样了。。。。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-3-9 11:16:45 | 显示全部楼层
二子搞研究 发表于 2016-3-9 09:46
看过了,也调了很多次,效果依旧很不理想,是不是就只能这样了。。。。

你就两张图,别人还有直接两张图挨在一起的······你不要用那个page的什么东西,就直接用上面那两个命令来画
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2016-3-9 11:18:56 | 显示全部楼层
{:eb302:}{:eb302:}{:eb302:}{:eb302:}{:eb302:}
密码修改失败请联系微信:mofangbao
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表