Advertisement

Matlab支持在figure上显示三个axes

阅读量:

以下为相关代码实现:

复制代码
 clc;

    
 close all;
    
 Fontsize = 10.5;
    
 LineWidth = 1.5;
    
 TickLength = [0.01,0.035];
    
 GridColor =  [0.85,0.85,0.85]; %[0.85,0.85,0.85];
    
 FANWEI = [1,5,0,90];  %坐标范围
    
  
    
 f1 = figure(1);
    
 f1.Visible = 'on';
    
 f1.Units = 'centimeters';
    
 f1.Position = [15 5 21 10];
    
 f1.Color = 'w';
    
 f1.NumberTitle = 'off';
    
 f1.Name = 'name';
    
 f1.Resize = 'off';
    
  
    
  
    
 ax1 = axes(f1);
    
 ax1.Box = 'off';
    
 ax1.Units = 'normalized';
    
 ax1.Position = [0.06 0.15 0.86/3 0.8];
    
 ax1.PositionConstraint = 

全部评论 (0)

还没有任何评论哟~