Sure, I can provide a basic example of plotting a 3D figure using discrete data in Mathematica. Suppose we have a data set dependent on two variables, x and t.
Here's a simplified code snippet for how you might do that using Mathematica's ListPointPlot3D function, which is used for 3D plots with discrete data:
In this example, the Table function is used to generate the x, t, and u values. u is calculated as Sin[x] + Cos[t], but in your case, you would replace this with your own data.
Flatten is used to format the data into a list of {x, t, u} triples, which is the format that ListPointPlot3D requires.
The output of this script is a 3D plot of the Sin[x] + Cos[t] function.
Note that in the Table function, {x, 0, Pi, Pi/10} and {t, 0, Pi, Pi/10} define the range and step size for the x and t values respectively. You can adjust these to fit your specific data.
Remember, this is a very simplified example. Depending on your actual data and what you want to achieve, you might need to use different functions or techniques. The Wolfram Language documentation is a great resource for learning more about how to use Mathematica.
If you obtain the whole numerical response of your entire nodes (called npt), you can make a matrix of npt*3 (named u)and incorporate the x coordinates for first column, t coordinates for second column and numerical responses related to each node for third column. after that, you can utilize ListPlot3D or ListSurfacePlot3D