⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plotje.m

📁 这是一个三面阵列的数学工具软件
💻 M
字号:
function plotje(X,id,minx,maxx,miny,maxy,fs)
% plotje(X,id,minx,maxx,miny,maxy,fs)
% plots first two columns with respect to cartesian axes
%
% Input:
%     X: data to be plotted
% Optional input:
%   id: vector of labels to be used in plot; all labels must have same size 
%   minx, maxx, miny, maxy: min and max of X-axis, and Y-aixs, resp. 
%   fs: fontsize 

if nargin<7,fs=10;end;
if nargin<3
  minx=min(X(:,1));minx=minx-.1*abs(minx);
  maxx=max(X(:,1));maxx=maxx+.1*abs(maxx);
  miny=min(X(:,2));miny=miny-.1*abs(miny);
  maxy=max(X(:,2));maxy=maxy+.1*abs(maxy);
end;
clf;
axes('pos',[.1 .1 .62 .825],'Fontsize',fs,'Box','on');	
		% adjustment of aspectratio for printer 
axis([minx maxx miny maxy]);
text(X(:,1),X(:,2),id,'FontSize',fs);

⌨️ 快捷键说明

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