Scilab Function
Last update : 23/8/2006

set_pix_arr_data - set the elements for a pixel array.

Calling Sequence

[pix_arr_out]=set_pix_arr_data(pix_arr_in, data)

Parameters

Description

set pixel array data.

Examples

	dim=100;arr=[];
	for i=1:dim
		for j=1:dim
			sgn=i*j;
			arr=[arr,sgn];
		end
	end  
	pix_arr=pixel_array(dim);
	pix_arr=set_pix_arr_data(pix_arr,arr);
	a=pixarr_data(pix_arr);surf(a);
 

Author

Chen jingyuan, Gan guangyong (IAPCM, Beijing,China.)

See Also

pixel_array ,