科学网

 找回密码
  注册
【MATLAB】定点画圆
叶瑞杰 2017-5-29 09:08
theta=-2*pi:0.01:2*pi; x=r*sin(theta)+a; y=r*cos(theta)+b; plot(x,y) %----以(a,b)为圆心画半径为r的圆
个人分类: Matlab|7553 次阅读|没有评论
【Matlab】有关plot画颜色渐变曲线的设置
叶瑞杰 2017-4-27 11:21
1. 参考 http://www.thesis123.com/plotting-in-matlab/ dc=hsv(18); % 18 colours are generated x = 0:pi/100:2*pi; hold on % you much write this before the plot i=1; for d=0:0.2:2, % ...
个人分类: Matlab|18513 次阅读|没有评论
【MATLAB】有关quiver的几个设置(不定期更新)
热度 1 叶瑞杰 2017-4-27 11:03
1. 画不带箭头的quiver h=quiver(x,y,u,v,0); set(h,'ShowArrowHead','off') 2.改变quiver箭头的大小 set(h,'Maxheadsize',4)
个人分类: Matlab|11298 次阅读|1 个评论 热度 1
【Matlab】坐标轴的几个设置(不定期更新)
叶瑞杰 2017-4-21 19:26
1. 坐标轴位置的设置 set(gca,'XAxisLocation','top') % x轴显示在上方 set(gca, 'YAxisLocation','left/right') set(gca,'ydir','reverse') %坐标轴翻转 text(1:5,3010*ones(1,5),{'201203','201 ...
个人分类: Matlab|25189 次阅读|没有评论

本页有 6 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-23 13:32

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部