IDL 可以创建这样的等高线图颜色条吗?
在此图像的底部,您将看到一个漂亮的颜色条,它与图表的颜色正确匹配:
http://stribog.cc.umanitoba.ca/ceos/20100517_00z_prod/
我找不到任何可以创建具有我想要的颜色的颜色条的东西,它似乎总是涉及包含颜色的光谱我没用过。
我有一个用于数据的颜色向量。有没有办法可以使用该向量来创建仅包含这些颜色的颜色条?
At the bottom of this image, you'll see a nice colorbar that matches the colors of the graph correctly:
http://stribog.cc.umanitoba.ca/ceos/20100517_00z_prod/
I couldn't find anything that created a color bar with exactly the colors I wanted, it always seemed to involve a spectrum that included colors I didn't use.
I have a vector of colors I use for my data. Is there I way I can use that vector to create a color bar with only those colors?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我确信这是可以做到的。事实上,该示例图看起来很像 IDL。发布一些您现在正在做的示例代码,我也许可以提供帮助,但是从头开始太难了。
I'm sure it can be done. In fact that sample plot looks suspiciously like IDL. Post some sample code of what you're doing now, I may be able to help, but starting from scratch is too hard.