Try Ainterp = [itp[x,y] for x in X, y in Y] It's best to do this inside a function, because then the element type should be inferred, and it will be far more efficient.
Best, --Tim On Sunday, March 06, 2016 05:22:17 PM [email protected] wrote: > Thank you for your note, > > But the problem is that broadcasting will not work in my case, once I > already have the three vectors that I want to plot instead of > two entries and one image (as in the example). I believe that I need > something to interpolate my vectors in order to generate the surface. > > On Sunday, March 6, 2016 at 7:17:38 PM UTC-6, Isaiah wrote: > > See: > > > > https://groups.google.com/forum/#!searchin/julia-users/meshgrid|sort:date/ > > julia-users/FuKK7zjncN8/dpWjRImMBgAJ> > > On Sun, Mar 6, 2016 at 7:30 PM, <[email protected] <javascript:>> wrote: > >> Is the meshgrid function (similar to MATLAB) available in Julia? > >> > >> I'm trying to plot a surface using 3 (1D) vectors and I'm not sure yet > >> how can I deal with this problem > >> without using this function. > >> > >> Thank you!
