当前位置:网站首页>Introduce several colormaps suitable for matlab
Introduce several colormaps suitable for matlab
2022-08-07 10:35:00 【zdlwhereyougo】
The colormap that comes with matlab is not good-looking. I found some plug-ins in the app market of matlab, which are quite good. I will introduce them to you.
Plugin name:
1: MatPlotLib Perceptually Uniform Colormaps
2: cmocean perceptually-uniform colormaps
3: CubeHelix Colormap Generator: Beautiful and Versatile!
How to get:
Prepare matlab account and password
matlab->app->install app->search tool->get or install
1: MatPlotLib Perceptually Uniform Colormaps
Demo simple call
Functions:cividis,inferno,magma,plasma,tab10,tab20,tab20b,tab20c,twilight,twilight_shifted,virids
2: cmocean perceptually-uniform colormaps
Function: cmocean
3: CubeHelix Colormap Generator: Beautiful and Versatile!
Functions: cubehelix, cubehelix_view, preset_colormap
cubehelix_view is a fun function, you can set it yourself, preview it in advance, and it is very interactive
preset_colormap is a bit complicated, I don't understand it
clc;clear ;close all;x=1:10;x=x';t=1:0.1:19;y=x.*sin(t);figurehp=plot(t,y);% clr=jet(length(hp));% You can watch the previous video, which introduces multiple curves to adjust the color% clr=tab10(length(hp));%length(hp) is determined by the number of curves% clr=tab20(length(hp));% clr=tab20b(length(hp));% clr=tab20c(length(hp));% clr=cubehelix(length(hp))% [map,lo,hi,prm] = cubehelix(N,start,rots,satn,gamma,irange,domain)[clr,ho,li]=cubehelix_view(length(hp));% This is the most fun, can’t stop playing, haha% % can directly save clr for later drawing, or remember the parameters on the interface, use the following command to call% % [map,lo,hi,prm] = cubehelix(N,start,rots,satn,gamma,irange,domain)for i=1:length(hp)hp(i).Color=clr(i,:);hp(i).LineWidth=2;endlegend边栏推荐
- Solve the problem that the file content of typora is copied to csdn and the picture cannot be displayed
- SQL 获取每个部门中当前员工薪水最高的相关信息
- Learn to Arthas, 3 years experience with 5 years work force you!
- 360 Enterprise Security Cloud debuts at the 2022 Global Digital Economy Conference to consolidate the digital foundation of small, medium and micro enterprises
- 大学三年狂拿国内外十几个3D挑战赛大奖?!国内CG新星崛起
- What skills does a technical director need?priority?
- 2022 Niuxue Multi-School League Game 6 Solution
- 100天精通Andriod逆向——第1天:ADB原理及其常用命令
- 企业内容建站系统 ModStartCMS v4.5.0 后台登录改版,登录安全增强
- Project Optimization Data Collection Optimization (Unity3D)
猜你喜欢

发现一款好用到爆的数据库工具,被惊艳到了
![[.NET6+Modbus] Modbus TCP protocol analysis, simulation environment and basic communication based on .NET](/img/f6/33f78eb57594edbddb64a6b7445b82.png)
[.NET6+Modbus] Modbus TCP protocol analysis, simulation environment and basic communication based on .NET

Mysql中获取所有表名以及表名带时间字符串使用BetweenAnd筛选区间范围

Redis是单线程的,但Redis为什么这么快?

数据库分表之雪花算法

unipush2.0教程

Product "free gift" + premium investment, Sanofi fired the first shot of bottom-hunting China's biotech assets

The difference between delete commands in MySQL (delete, truncate, drop)

China's mobile phones continue to innovate, and the full screen goes further, leading mobile phone innovation

The snowflakes algorithm of a database table
随机推荐
process scheduling
Mysql中获取所有表名以及表名带时间字符串使用BetweenAnd筛选区间范围
项目优化之性能优化(Unity3D)
UGUI系列-实现层级菜单(Unity3D)
Redis只能做缓存?太out了!
[Bit band operation to register assignment] GPIO multiplexing mode initialization based on ADuCM4050
UGUI series-InputField limits the number of inputs and limits the input format
Redis是单线程的,但Redis为什么这么快?
unity 动画结束 后处理事件
unity打包webgl 部署到本地Web服务器
360企业安全云亮相2022全球数字经济大会 夯实中小微企业数字化底座
搭一个K3S 玩玩
The 900-page mathematical paper proves that the rotating black hole will not explode, Chengtong Yau: The first major breakthrough in general relativity in more than 30 years...
由参数cluster_database引发的ORA-01102异常
数据库分表之雪花算法
100天精通Andriod逆向——第1天:ADB原理及其常用命令
UGUI系列-原理分析(Unity3D)
Shell 正则及其命令
大厂外包,值得拥有吗?
Canvas和SVG的区别