I have a CSV data file like the following
X Y Z T
0 0 0 12420
0 0 1 2154
0 0 2 54565
0 0 3 54640
.
.
0 0 10 53565
0 1 0 12420
.
.
0 1 10 53565
.
.
0 10 10 53565
1 0 0 2454535
.
.
10 10 10 6985
which represents a discrete three-dimensional field (for instance, T(x,y,z), where x, y and z are discrete values). I would like to plot a slice of this field (for instance, T(x,y) for z=10, assuming the original file has this information - i.e., interpolation is not necessary), using the pgfplots package. For this, I would normally break the CSV file to only have the results for z=10, but I've been wondering if it is possible to do this directly from the original file (with the 3D field), also using pgfplots?
I am aware of the skip coords between index command, but so far I have not been able to use it for the purpose I want.
\addplot3with therestrict x to domainoption (oryorz). So you could givexandymeshes andzvalues and then consider only data withzin a given range. There's not a\addplot4to which you can givex,yandzmeshes andvvalues and then restrict to a certain range ofv. – Enlico Jul 25 '16 at 15:13