Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to draw mosaics with NCL

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article introduces you how to use NCL to draw mosaics, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Not long ago, I saw a map of abnormal precipitation probability on the website of the National Climate Center:

For this lattice rather than smooth curve mapping, to be honest, I don't know its official name, so I just gave it a name-mosaic map.

At first, a classmate saw this picture, he said that he did not particularly understand, the probability should be positive, how can there be negative? And the results of multiple set members are naturally positive and negative, how to determine whether the final probability is positive or negative? I thought about it, this plus or minus sign should indicate positive and negative anomalies, and the value is the value of probability. As for the determination of the final probability, of course, which interval has more members, which one is chosen. There are so many people.

To draw a mosaic, the command on NCL is very simple, and this sentence is enough:

Res@cnFillMode = "CellFill"

This is the temperature anomaly probability predicted by the 51 members of EC in Jiangsu according to the picture above, isn't it similar?

The colorbar in this picture is a little different from our usual way of drawing, but it's not difficult to implement it in NCL:

Res@lbTitleOn = False; turn off titleres@lbLabelFont = "Helvetica-Bold"; label fontres@lbLabelPosition = "bottom"; label positionres@lbLabelAlignment = "BoxCenters" Label orientationres@lbLabelStrings = (/ "- 60", "- 50", "- 40", "Normal", "40", "50", "60" /) on how to use NCL to draw mosaics to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report