1 function p = plot_leafvertex_data(grid,data,params)
2 %
function p = plot_leafvertex_data(grid,data,params)
3 % plot method
for data on the
leaf level of the grid.
5 % Currently only implemented
for 2D. A patch plot is performed, such that the
6 % vertices have corresponding values as given by data, the values in between
7 % are interpolated by MATLAB.
10 % p:
this is the list of handles to the graphics primitives
12 % See also: plot_vertex_data() for optional params fields
14 % Bernard Haasdonk 23.3.2007
18 data = zeros(grid.nvertices,1);
24 error('plot_leafvertex_data not yet implemented for other than 2D');
27 % get minimal information required for plotting
28 gridtmp = gen_plot_data(grid);
30 % forward call to 2d vertex plot routine
31 p=plot_vertex_data(gridtmp,data,params);