summaryrefslogtreecommitdiffstats
path: root/matlab/tools/astra_imshow.m
blob: 60696740b8d15026f95c4006dcc8c41ef1a89b28 (plain)
1
2
3
4
5
6
7
8
9
10
function V = astra_imshow(data, range)

if numel(data) == 1
	data = astra_mex_data2d('get', data);
end
imshow(data,range);

if nargout >= 1
	V = data;
end