简体   繁体   中英

2D annulus plot in MATLAB

I would like to create an annular plot of a function z=f(x,y), such as

http://www.gibmetportal.gi/images/example_polar_annulus_plot.jpg

in MATLAB. My data (x,y,z=f(x,y)) is in a csv file, which I can read in MATLAB. The problem is that x and y are not given as a regular grid, ie, they do not resemble the output of the meshgrid command. Any suggestions?

So you're problem is that the data is scattered and not on a regular grid?

try doc griddata

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM