I’ve read in data from a PDE solver which has (x, y, z) and value. I grouped the single list into 4 values each using data = ReadList[…, Real]; p = Partition[data, 4]; I then tried
ListDensityPlot3D[p], but this gave me a division by zero error because of an Opacity problem, so I tried
which runs for a while and then comes up with an empty plot.
The fourth value in the list is mostly zeros except for the central region which has values in the range of +/- 1e-5. Is there a command which will scale the values into a range ListDensityPlot3D is happy with, or is there an option to let the function know the values are tiny?
I tried ColorFunction, but maybe I don’t understand how to use it. I can post process the numbers to scale them though, before messing with Mathematica. Log(-x) is imaginary, so that complicates things.
Thanks, I was hoping I was missing something obvious, but a little more work to make the numbers nice won’t be that difficult.