2018年8月24日
摘要:
Income=[2456,2032,1900,2450,2890,2280]; Profit_margin=[12.5,11.3,10.2,14.5,14.3,15.1]/100; t=1:6; [AX,H1,H2]=plotyy(t,Income,t,Profit_margin,'bar','plot'); % set(get(AX(1),'Ylabel'),'String','Left-ax... 阅读全文
posted @ 2018-08-24 22:01
Airboy1
阅读(367)
推荐(0)
编辑
摘要:
x = 0:0.1:10; y1 = 200*exp(-0.05*x).*sin(x); y2 = 0.8*exp(-0.5*x).*sin(10*x); figure [hAx,hLine1,hLine2]=plotyy(x,y1,x,y2,'plot','stem');#以不同形式绘图 ylabel(hAx(1),'Slow Decay') % left y-axis 修改左边y轴的... 阅读全文
posted @ 2018-08-24 21:42
Airboy1
阅读(306)
推荐(0)
编辑
摘要:
一次hold on之后,未见hold off前,所有的图都将叠加在 原图中 阅读全文
posted @ 2018-08-24 20:32
Airboy1
阅读(179)
推荐(0)
编辑
摘要:
gca 用来返回当前axes (坐标图)对象的句柄 在command 里面输入gca Axes (Y-logX) (具有属性): XLim: [0.0100 1] YLim: [0 100] XScale: 'log' YScale: 'linear' GridLineStyle: '-' Posi 阅读全文
posted @ 2018-08-24 20:06
Airboy1
阅读(270)
推荐(0)
编辑
posted @ 2018-08-24 19:37
Airboy1
阅读(675)
推荐(0)
编辑
摘要:
x=0.:pi/8:4*pi; y=exp(-x/3).*sin(3*x); yb=exp(-x/3); plot(x,yb,'k-',x,-yb,'k-',x,y,'-ro','linewidth',2,'markeredgecolor','g','markerfacecolor','y','markersize',6) grid on 阅读全文
posted @ 2018-08-24 19:28
Airboy1
阅读(1049)
推荐(0)
编辑
摘要:
### plot默认是实线连接,离散的数据使用默认plot时,会连起来x1=0:16; y1=1./((x1-2).^2+1)+1./((x1-9^.2+4))+5; x2=0:0.02:16; y2=1./((x2-2).^2+1)+1./((x2-9^.2+4))+5; subplot(2,2,1),plot(x1,y1,'rp'),axis([0 17 5 6.2]),title('Pi... 阅读全文
posted @ 2018-08-24 17:07
Airboy1
阅读(186)
推荐(0)
编辑
摘要:
n=0:16; y=1./((n-2).^2+1)+1./((n-9^.2+4))+5; #.运算 进行矩阵运算 plot(n,y,'mh','markersize',15) # m是品红色,h是 六角形,15是 六角形的大小 axis([0 17 5 6.2]) # 设置坐标轴的范围 grid on 阅读全文
posted @ 2018-08-24 16:45
Airboy1
阅读(287)
推荐(0)
编辑
2018年8月18日
摘要:
[Data,DataText,DataCell]=xlsread('new.xls','Sheet1') DataCell是全部的cell cell 格式 Data带有NAN(代表字符)的全部元素 double 格式 DataText 只包含字符 [~,~,DataCell]=xlsread('ne 阅读全文
posted @ 2018-08-18 09:57
Airboy1
阅读(2772)
推荐(0)
编辑
2018年7月12日
摘要:
2c929293466b97a6014754607e457d68,U201215025,A417314EEA7B,10.12.49.26,2014-07-20 22:44:18.540000000,2014-07-20 23:10:16.540000000,1558,15,本科生动态IP模版,100元每半年,internet 2c929293466b97a60147546099a57d81,U2... 阅读全文
posted @ 2018-07-12 10:42
Airboy1
阅读(910)
推荐(0)
编辑
|
|
|