立即注册 登录
气象家园 返回首页

15195775117的个人空间 http://bbs.06climate.com/?43007 [收藏] [复制] [分享] [RSS]

日志

IDL之覆盖图片不需要考虑原图尺寸

已有 79 次阅读2019-12-12 19:02 |个人分类:IDL

用来重叠的2张图的尺寸不必考虑,在image函数中设置尺寸即可

fig1='C:\Users\Administrator\Desktop\1.jpg'
fig2='C:\Users\Administrator\Desktop\2.jpg'
fig=image(fig1,dimensions=[500,500],$
  image_dimensions=[500,500],position=[0,0,1,1])
fig=image(fig2,dimensions=[500,500],$
  transparency=50,$
  image_dimensions=[500,500],position=[0,0,1,1],/overplot)


评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册

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

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

返回顶部