Hello , I have these two graphics, representung results of a simulation and want to plot those results together, however I'm only getting two separate graphics with the function I'm working on. Any thoughts?
This is my current work and results
hold on N = 1000; xv = linspace(min(x), max(x), N); yv = linspace(min(y), max(y), N); [Xm,Ym] = ndgrid(xv, yv); Zm = griddata(x, y, F1, Xm, Ym); figuresurf(Xm, Ym, Zm)shading interpgrid on N = 7.5; xv = linspace(min(xr), max(xr), N); yv = linspace(min(yr), max(yr), N); [Xr,Yr] = ndgrid(xv, yv); Zr = griddata(xr, yr, F1r, Xr, Yr); figureplot3(Xr, Yr, Zr,'o','Color','g')grid onhold off
Thank in Advance!!
Best Answer