当前位置: 首页 > news >正文

vip影院自助建站系统国内十大软件培训机构

vip影院自助建站系统,国内十大软件培训机构,合肥新房在售楼盘,湖南省建设厅官方网站官网MATLAB绘制局部放大图 1 工具准备 MATLAB官网-ZoomPlot(Kepeng Qiu. Matlab Central, 2022) 初始数据图绘制完成后#xff0c;调用以下代码#xff1a; %% 添加局部放大 zp BaseZoom(); zp.plot;1.1 具体绘制步骤 具体绘制步骤如下#xff1a; 通过鼠标左键框选作图区…MATLAB绘制局部放大图 1 工具准备 MATLAB官网-ZoomPlot(Kepeng Qiu. Matlab Central, 2022) 初始数据图绘制完成后调用以下代码 %% 添加局部放大 zp BaseZoom(); zp.plot;1.1 具体绘制步骤 具体绘制步骤如下 通过鼠标左键框选作图区域鼠标右键确定后通过鼠标左键框选需要放大的区域鼠标右键确定后完成局部放大图的绘制。 1.2 子坐标系sub-coordinate system设置 子坐标系sub-coordinate system默认设置 % theme of inserted axes (sub-axes)propertiessubAxesBox onsubAxesinsertedLineWidth 1.2subAxesTickDirection insubAxesBackgroundColor wend例去除子坐标系并设置线宽为3具体代码如下 % theme of inserted axes (sub-axes)propertiessubAxesBox offsubAxesinsertedLineWidth 3subAxesTickDirection insubAxesBackgroundColor wend1.3 放大区域the zoomed zone设置 放大区域the zoomed zone默认设置 % theme of the zoomed zone (figures)propertiesrectangleColor krectangleFaceColor nonerectangleFaceAlpha 0rectangleLineStyle -rectangleLineWidth 1.2rectangleInteractionsAllowed noneend例设置放大区域线条颜色及线宽为2具体代码如下 % theme of the zoomed zone (figures)propertiesrectangleColor rrectangleFaceColor nonerectangleFaceAlpha 0rectangleLineStyle -rectangleLineWidth 2rectangleInteractionsAllowed noneend1.4 连接线the connected lines设置 连接线the connected lines默认设置 % theme of the connected lines (figures)properties% setting of lines between arrowsfigureConnectedLineStyle :figureConnectedLineColor kfigureConnectedLineWidth 1.2% setting of start arrowfigureConnectedLineStartHeadStyle ellipse % shape of start arrowfigureConnectedLineStartHeadLength 3figureConnectedLineStartHeadWidth 3% setting of end arrowfigureConnectedLineEndHeadStyle cback2 % shape of ending arrowfigureConnectedLineEndHeadLength 7figureConnectedLineEndHeadWidth 7end例设置箭头末端形状及颜色具体代码如下 % theme of the connected lines (figures)properties% setting of lines between arrowsfigureConnectedLineStyle :figureConnectedLineColor rfigureConnectedLineWidth 1.2% setting of start arrowfigureConnectedLineStartHeadStyle ellipse % shape of start arrowfigureConnectedLineStartHeadLength 3figureConnectedLineStartHeadWidth 3% setting of end arrowfigureConnectedLineEndHeadStyle ellipse % shape of ending arrowfigureConnectedLineEndHeadLength 7figureConnectedLineEndHeadWidth 7end2 案例 2.1 案例1基础图形设置1个局部放大区 成图如下 MATLAB代码如下 clc clear close all %% addpath(genpath(pwd)) % basic plotting x linspace(-0.1*pi,2*pi, 30); y cell(1, 3); y{1, 1} 0.4*sinc(x)0.8; y{1, 2} tanh(x); y{1, 3} exp(-sinc(x));figure(1); color_ [0, 114, 189; 126, 47, 142; 162, 20, 47]/255; ax axes(Units, normalized); hold(ax, on); box(ax,on); set(ax, LineWidth, 1.2, TickDir, in); for i 1:3plot(x, y{1, i}, Parent, ax, Color, color_(i, :), LineWidth, 3) end set(gca,Layer,top,FontSize,14,Fontname, Times New Roman);% add a zoomed zone zp BaseZoom(); zp.plot;2.2 案例2设置2个局部放大区 成图如下 MATLAB代码如下 clc clear close all %% addpath(genpath(pwd)) % basic plotting tmp_ 5; t1 0:pi/20:8*pi; t2 8*pi:pi/20:16*pi; y1_ exp(-t1/tmp_ ); y2_ exp(-t1/tmp_ ).*sin(tmp_ *t1); t [t1, t2]; y1 [y1_, fliplr(y1_)]; y2 [y2_, fliplr(y2_)];figure(1); plot(t, y2, Color, r, LineStyle, -, LineWidth, 1.5) hold on plot(t, y1, Color, b, LineStyle, :, LineWidth, 1.5) plot(t, -y1, Color, b, LineStyle, :,LineWidth, 1.5) xlim([min(t), max(t)]) set(gca,Layer,top,FontSize,14,Fontname, Times New Roman);% add 2 zoomed zones zp BaseZoom(); zp.plot; zp.plot;参考
http://www.w-s-a.com/news/545314/

相关文章:

  • 环保网站建设公司排名汉阴网站建设
  • 自己做网站的二维码wordpress用户权限在哪改
  • 网站使用说明书网站建设公司的介绍
  • 推广型网站免费建设网站防盗链设置
  • 建设银行网站查开户行网站反链暴增怎么回事
  • centos7做网站软件实施工程师工资一般多少
  • 专业房产网站建设深圳建设交易集团
  • 政务网站建设标准项目经理接到网站开发怎么开展
  • 网站框架设计好后怎么做网站广告销售怎们做
  • asp技校网站保定八大平台公司
  • wordpress网站前端优化网站备案批量查询
  • 北京企业做网站杭州seo中心
  • 护肤品网站建设前的行业分析wordpress电子书模板
  • 做网站怎么销售.net开发网站怎么样
  • 蚌埠网站优化网站换空间wordpress
  • 微网站开发框架公司企业logo
  • 大淘客官网做的网站打不开网站建设完成
  • 婚纱摄影网站模板让别人做网站怎样才安全
  • 技术支持 骏域网站建设专家佛山网站运营管理教材
  • 个体营业执照可以做网站服务吗电商运营学校培训
  • 企业网站免费推广的方法.wordpress 爱情模板下载地址
  • 轻淘客 轻网站怎么做手机开发人员选项怎么打开
  • 天津做网站制作公司html网站 下载
  • 哪个网站的课件做的好crm客户管理系统全称
  • 网站建设工作室创业计划书seo是什么职位的简称
  • o2o平台网站开发什么是白帽seo
  • 免费建个人手机网站WordPress 简历库
  • 建网站 是否 数据库阳瘘的最佳治疗方法是什么
  • 知晓程序网站怎么做网站基础维护
  • 兼职做网站赚钱吗图片设计制作哪个软件好手机