view_onetime.m

来自「多智能体工具包」· M 代码 · 共 35 行

M
35
字号
% VIEW_ONETIME	Draw the distribution at a certain step.%     Copyright (c) 1997-2000 Jiming Liu and Jianbing Wuclose all;clear all;Step=97;   % 97, 63FLname='f1_2';%FLname='f1_2f2_2f6_4';%FLname='f2_1';%FLname='f6_2';Max_Age=101;Loop_Inc=5;Robot_Num=3;eval(['load ' FLname ';']);    % load the DATAfigHistory=figure(...            'Color',[0 0 0],...            'Position',[300 200 600 500],...            'Resize','off',...            'NumberTitle','off',...            'Name','Distribution Show');  CELL=New_History(Step*Loop_Inc+1:(Step+1)*Loop_Inc,:);  CELL(:,3)=[];  plot_cell_no(CELL);title('Spatial Situation');

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?