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

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

日志

[NCL] 小技巧

已有 896 次阅读2016-4-22 15:20 |个人分类:NCL

      2)  自定义线形
                       pattern = "$$$$______$$$$______$$$$______$$$$_____$$$$______"
                       res@xyDashPatterns = NhlNewDashPattern(wks,pattern)
     3)   控制风矢量图
        Important resources for controlling the length, density, direction, and style of vectors:

    4)  设置cmyk 颜色模式

         CMYK color    https://www.ncl.ucar.edu/Applications/colormap.shtml

        If you need to use CMYK color, then this is only supported with the old style color model (pre NCL V6.1.0), and hence you must use "oldps" or    "oldpdf" as the output format. You can set this via a workstation resource, before you call gsn_open_wks:

       type = "oldps" ; cannot use "ps" or "pdf"
       type@wkColorModel = "cmyk"
       wks = gsn_open_wks(type,"example")

        Note: a user reported a noticeable degradation in the color quality when using the old postscript and pdf drivers along with the CMYK option. He said he's been able to submit RGB figures to various journals for the last few years, and never had a problem. If you have to send in CMYK graphics, then submit the figures as RGB (which is the default in NCL), and then use an external package like Illustrator to convert them to CMYK.

评论 (0 个评论)

facelist doodle 涂鸦板

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

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

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

返回顶部