How can I plot acquired matrix data

1 visualizzazione (ultimi 30 giorni)
Sam Hurrell
Sam Hurrell il 12 Nov 2020
Risposto: KSSV il 12 Nov 2020
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)

Risposte (1)

KSSV
KSSV il 12 Nov 2020

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by