I have a MxN matrix. What is the best way to plot it? I tried using histogram2d
, but its example just uses two vectors, and with my matrix the result is weird. I also tried something like
using Plots
x=range(1,stop=50,length=50)
y=range(1,stop=50,length=50)
f(x,y) = sol.u[end][x,y]
plot(x,y,f,st=:surface,camera=(-30,30))
but this is for a continuous function. And while I would try and interpolate my data, this feels weird and potentially a bit unnecessary.