how do i plot this 4-D double matrix?

hello again, i have this files that i extracted from my hydrodynamic simulation on delft3d, but i need to actually see them as a whole, since i already extracted the particular data i needed.
Name Size Bytes Class Attributes
X 1x71x42x6 143136 double
Y 1x71x42x6 143136 double
Zp1 2500x71x42x6 357840000 double
Zp2 2500x71x42x6 357840000 double
Zp3 2500x71x42x6 357840000 double
Zp4 1284x71x42x6 183786624 double
a4_salin_6c_p1 2500x71x42x6 357840000 double
a4_salin_6c_p2 2500x71x42x6 357840000 double
a4_salin_6c_p3 2500x71x42x6 357840000 double
a4_salin_6c_p4 1284x71x42x6 183786624 double
dt_p1 2500x1 40001 datetime
dt_p2 2500x1 40001 datetime
dt_p3 2500x1 40001 datetime
dt_p4 1284x1 20545 datetime
jd_p1 2500x1 20000 double
jd_p2 2500x1 20000 double
jd_p3 2500x1 20000 double
jd_p4 1284x1 10272 double
so how can i plot ?
any ideas, i am a newbie and i dont know coding, so please something detailed :) thanks

4 comentarios

Stephen23
Stephen23 el 28 de Nov. de 2017
Editada: Stephen23 el 28 de Nov. de 2017
"so how can I plot"
Your question is so general as to be basically meaningless. You show us a table of eighteen variables and you do not tell us which variables you want to plot, you do not tell us anything about how the data is arranged, or what combinations you want to plot, or what plot types you want to use, or anything else relevant.
The most correct (and also most helpful) response to such a general question is the general answer "go and read the MATLAB documentation".
Good luck!
roberto ivan perez luna
roberto ivan perez luna el 28 de Nov. de 2017
Editada: roberto ivan perez luna el 28 de Nov. de 2017
its a 71 x 42 matrix, with 6 layers and 8784 timesteps for every one of the 6 layers.
since its too large i split it in 4 parts when i exported using quickplot (matlab data viewer for delft3d).
sorry for the "lack" of deepness, but i dont know this at all, not even how to answer it and i certainly look it up and i just dont quite get it.
so please help me ;)
Walter Roberson
Walter Roberson el 28 de Nov. de 2017
For any one timestep, how would you like to see the 71 x 42 matrix of 6 layers visualized?
For example is layer N "on top" of layer (N-1) and there are NaN values for each location where the layer below should show through?
roberto ivan perez luna
roberto ivan perez luna el 28 de Nov. de 2017
yes, the layers are from vertical depth, 1 is at the surface and 6 is at the bottom.
and yes, there are NaN values, since not all of the 71x42 dimentions have values, because it is the surface of an estuary.
and like this one, since i have to show how well mixed it is.
any help, please ;)

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 28 de Nov. de 2017

0 votos

Use slice() to display in the form of the plot you have posted.

Productos

Preguntada:

el 28 de Nov. de 2017

Respondida:

el 28 de Nov. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by