matlab nclCM
时间: 2023-08-26 19:14:58 浏览: 67
回答: 在Matlab中,可以使用NCL的color tables来绘制图形。使用这些color tables需要将NCL_colormap.nc和get_NCL_colormap.m文件放到当前的Matlab运行目录下。然后,可以使用以下代码来调用NCL的color tables,其中括号内的参数是color map的名称(以matlab_jet为例):
colormap(get_NCL_colormap('matlab_jet'))。
这样就可以在Matlab中使用NCL的color tables来进行图形绘制了。NCL的color tables提供了更多的选择,相比于Matlab自带的colormap。你可以在NCL的color tables页面上找到更多的颜色选择。同时,还可以在Matplotlib的color tables中找到更多的颜色表。希望这对习惯使用Matlab绘图的同学有所帮助。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [matlab之map补充工具——读取NCL丰富的colormap给matlab用](https://blog.csdn.net/qq_27984679/article/details/104170418)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]