本文是我从官网上拷贝过来的,上国外网越来越慢了……(离题了). At the Society of Exploration Geophysicists (SEG) Annual Meeting in September 2002, in Salt Lake City, the principal developers of Seismic Un*x were given a Special Commendation by the SEG. The recipients of the award
**使用系统内置的colormap** ``` syms x y ezmesh(x*exp(-x^2-y^2),[-2.5,2.5],40) colormap(hot) ``` 自定义colormap ``` syms x y ezmesh(x*exp(-x^2-y^2),[-2.5,2.5],40) colormap([0,1,0.5 ;1,0,0]) //分成两部分,分别映射成红色和绿色 ``` ``` syms x y ezmesh(x*exp(-x^2-y^2),[-
change grayscale to pseudo colouring using colormap in Matlab In matlab you can view a grayscale image with: imshow(im) Which for my image im shows:And you can also view this grayscale image using pseudocolors from a given colormap with something lik
from colormap import rgb2hex import numpy as np from matplotlib import pyplot as plt color_names = [] sample = [0, 0.25, 0.5, 0.75, 1] # 可以根据自己情况进行设置 for i in sample: for j in sample: for k in sample: col = rgb2hex(i, j, k, normalised=True) color_nam