Matlab
画图程序:
%x=[200,250, 300, 400, 500, 800, 900,1000,1050,1100,1150, 1200,1250,1300,1320, 1380, 1450, 1480,1500, 1520,1600,1610, 1620,1650,1700,1800,1810,2500,2550,2550,2560,2580,3000,4000,4800,4900,5000,5050,5100, 5100,5150, 5180, 5200, 5210, 5220, 5300, 5450,5550,5600,5650,5700, 5800, 5900, 5990,6000,10000]; %x1=[0, 0.2,0.25, 0.4, 0.5, 1, 1.15,1.3,1.35, 1.38, 1.40, 1.399,1.389,1.38,1.375, 1.35, 1.3, 1.26,1.23, 1.20,1.14,1.13, 1.13,1.12,1.10,1.08,1.07,1.02,1.02,1.02,1.009,1.01,1.0,1.0, 1.0, 1.15, 1.3, 1.35, 1.38, 1.35,1.34,1.33, 1.315,1.314,1.31, 1.25, 1.01, 0.956,0.94,0.945,0.95,0.959,0.986, 1.0,1.0,1.0]; %plot(x,x1,'k-'); x=[1 ,2 ,3 ,4 ,5 ,6 ,7 ,8,9,10,11,12,13,14,15,16,17,18]; %x1=[990.6, 1062.3 ,1091.5, 1144.2, 1191.2, 1241.3 ,1310.9, 1361.3, 1412.6 , 1440.3 ,1509.6, 1545.9, 1609.8, 1659.6 ,1691.3 ,1741.0 ,1789.9, 1839.9]; x1=[992.1, 1041.9, 1092.0 ,1141.9 , 1191.6, 1257.9, 1291.6, 1342.1,1391.5,1456.0,1505.3,1556.3,1605.3,1655.2,1705.3,1756.5,1805.9,1856.2]; plot(x,x1,'k-'); hold on %x2=[992.1, 1041.9, 1092.0 ,1141.9 , 1191.6, 1257.9, 1291.6, 1342.1,1391.5,1456.0,1505.3,1556.3,1605.3,1655.2,1705.3,1756.5,1805.9,1856.2]; x2=[1 ,2 ,3 ,4 ,5 ,6 ,7 ,8,9,10,11,12,13,14,15,16,17,18]; x3=[1000.0, 1050.0 ,1100.0 ,1150.0, 1200.0, 1250.0, 1300.0, 1350.0, 1400.0 ,1450.0 ,1500.0 ,1550.0, 1600.0,1650.0, 1700.0, 1750.0, 1800.0, 1850.0]; plot(x2,x3,'k-.'); hold on %x4=[2,8,13,18,21,28,31,38,41,46,51,55,60,64,69,72,78,82,88,92,98]; %x5=[163,168,167,166,184,176,170,174,172,170,174,174,176,181,185,184,180,179,168,168,170]; %plot(x4,x5); %x6=[0,1,8,11,12,13,14,15,16,17,18,20,21,22,23,30,31,35,36,46,48,50,56,58,66,70,74,76,80,84,86,88,89,94,100]; %x7=[10,9.5,9,9.1,9,8.8,9,9.5,10,10.6,10.5,10.6,10.2,10.45,10.4,10.44,10,10.1,9.7,9.8,10.4,10.2,10.7,10.2,10.8,11.1,11,11.5,11.1,10.7,11.2,11.55,11,10.5,10,9.6,9.7,9.5,9.3 % ]; %plot(x6,x7,'y-'); grid on axis([1 18 450 2000]);%前面是X轴 后面是Y轴 xlabel('次数(次)'); ylabel('温度(℃)'); %grid on %axis([0 10000 0 1.5]);%前面是X轴 后面是Y轴 %xlabel('times(s)'); %ylabel('Fuzzy'); %可以将scope 转化为figure模式,从而能够对scope中的图形界面进行操作 %set(0,'ShowHiddenHandle','on'); %set(gcf,'menubar','figure');