/all_pairs/bin/

s-git' href='or' title='mc2-scripts-and-benchmarks.git Git repository'/>
summaryrefslogblamecommitdiffstats
path: root/SD-VBS/common/toolbox/toolbox_basic/filter_hist/show_cumhist.m
blob: fe82e6488db1bb5b4276e67dc15e197f9e83f709 (plain) (tree)



























                                                          
function show_hist(cumhists,bins,fig_id,hold_flag,ct)
%%
%    show_hist(cumhists,bins,fig_id,ct)
%
%

	if (~exist('ct')),
		ct = 'b-o';
	end

	figure(fig_id);

	subplot(3,3,1);plot(bins.inten,cumhists.inten,ct);

	if (hold_flag == 1), hold on;else hold off; end

	for j=1:size(cumhists.text,2),
  	   subplot(3,3,1+j);
           plot(bins.text,cumhists.text(:,j),ct);
           if (hold_flag == 1), hold on;else hold off; end
	end

        subplot(3,3,8);
	plot(bins.mag,cumhists.mag,ct);
	if (hold_flag == 1), hold on;else hold off; end