Matlab画图

>> t = plot(x, y);
>> t


t = 


  Line (具有属性):


              Color: [0 0.4470 0.7410]
          LineStyle: '-'
          LineWidth: 0.5000
             Marker: 'none'
         MarkerSize: 6
    MarkerFaceColor: 'none'
              XData: [1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20]
              YData: [1x20 double]
              ZData: [1x0 double]


  显示 所有属性


set(t, '属性', ' 值');


>> gca


ans = 


  Axes (具有属性):


             XLim: [0 20]
             YLim: [0 2]
           XScale: 'linear'
           YScale: 'linear'
    GridLineStyle: '-'
         Position: [0.1300 0.1100 0.7750 0.8150]
            Units: 'normalized'


  显示 所有属性


>> gcf


ans = 


  Figure (1) (具有属性):


      Number: 1
        Name: ''
       Color: [0.9400 0.9400 0.9400]
    Position: [488 342 560 420]
       Units: 'pixels'


  显示 所有属性




你可能感兴趣的:(MATLAB,MATLAB,plot)