How can I plot acquired matrix data
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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)
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!