How can I plot acquired matrix data

1 次查看(过去 30 天)
Sam Hurrell
Sam Hurrell 2020-11-12
回答: KSSV 2020-11-12
I have multiple data sets as matrix's: (x,y,C),(x,z,C), or (y,z,C). They are all 2D data slices exported from comsol, with coloumns 1-2 as the axis (x/y/z) and the 3rd column as the output value 'C'. The maximum axis value is x=0.1, y=0.2, z=0.5, and the min values are all 0. Values usually have up to 16 decimal places but should be rounded to 3dp. I want to present each matrix as either a pcolor 2D map or a surf plot, with the result being C. A typical matrix would look like this:
X Y C
0.04 0.069608 0.082662
0.043 0.074804 0.115348
0.045 0.074804 0.119363
0.048 0.076536 0.134744
(but the largest dataset is ~135,000 rows)

回答(1 个)

KSSV
KSSV 2020-11-12

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by