matlan plot grey
时间:04-01
整理:3721RD
点击:
Hi all,
I have to plot a function, namely the transmittance T in a dielectric multilayer, in function of the angle of incidence and of the frequency. I would like to put the angle of incidence on the X axis, and the frequency on the Y axis and then plot the function T with a scale of grey.
Does anyone know the matlab function to do this?
Thanks in advance
I have to plot a function, namely the transmittance T in a dielectric multilayer, in function of the angle of incidence and of the frequency. I would like to put the angle of incidence on the X axis, and the frequency on the Y axis and then plot the function T with a scale of grey.
Does anyone know the matlab function to do this?
Thanks in advance
what do you mean by "with a scale of grey"?
I suppose you want to plot a surface or contour plot with the "grey" color-map. then you should take a look at the following functions at the MATLAB help:
meshgrid,contour, mesh, colormap
else function ' fill'
Thank you for your answers,
I have found the function, it was "imagesc".
Cheers
...
cong...