Plotting multivariable function stored in a 2d array

I am trying to plot the solution to a PDE, which is stored as a 2d array. I am wandering if there is a way to plot the solution as a 3d image.


Try the surface function in Plots.jl, or Makie.jl for a more complete and interactive option.

Could you give a little bit more detail so we can help you? Is the data defined on a uniform or nonuniform mesh?

If it’s a uniform mesh, this is fairly straightforward to do using Plots.jl as David mentioned. The default GR backend is quite quick and looks nice but is not interactive. You can try using the Plotly backend for interactivity.

Here is the documentation: Home · Plots