爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 3082|回复: 0

[混合编程] IDL之用超粗线代替柱状图不可取

[复制链接]

新浪微博达人勋

发表于 2019-2-27 09:07:40 | 显示全部楼层 |阅读模式

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

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

x
问题起源:
因为制作比例型柱状图,绘图采用覆盖式画法(可查看IDL的barplot的help),我感觉比较麻烦,
于是想能否用超粗线代替之,
而试验证明,线条的宽度有限制,好像最大只能是10,比柱子的宽度要求低很多,
所以,此想法失败
fig=plot(indgen(10),thick=2,/current,layout=[4,2,1])
fig=plot(indgen(10),thick=4,/current,layout=[4,2,2])
fig=plot(indgen(10),thick=6,/current,layout=[4,2,3])
fig=plot(indgen(10),thick=8,/current,layout=[4,2,4])
fig=plot(indgen(10),thick=10,/current,layout=[4,2,5])
fig=plot(indgen(10),thick=15,/current,layout=[4,2,6])
fig=plot(indgen(10),thick=20,/current,layout=[4,2,7])
fig=plot(indgen(10),thick=30,/current,layout=[4,2,8])

飞鸽截图20190227085326.png fig=barplot(indgen(10))
fig=barplot(indgen(10)/2.0,fill_color='r',/overplot)

飞鸽截图20190227085724.png

密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

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

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

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