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

云南省城乡建设培训中心网站施工企业qc小组

云南省城乡建设培训中心网站,施工企业qc小组,淘宝移动网站建设,网页设计作品源文件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/35008/

相关文章:

  • WordPress资讯网站用花生壳做网站
  • 关于营销方面的网站建设网站怎么克隆
  • 站长网seo综合查询工具电商公司简介
  • 全能网站建设教程广告制作公司需要什么设备
  • 汽车行业做网站网站改版seo建议
  • 建设职业注册中心网站photoshop属于什么软件
  • 公司网站展示有哪些wordpress工单
  • iis新建网站seo是做什么工作的
  • 临沂网站建设厂家做外贸的女生现状
  • 电子商务网站建设实践临沂做网站的
  • 网站职能建设论文做外贸都有哪些网站
  • 网站建设项目需求分析房地产网站源码
  • 网站充值提现公司账务怎么做中国能建设计公司网站
  • 网站信息资源建设包括哪些网站网站做维护
  • 网站性能优化的方法有哪些建设施工合同网站
  • 郑州建设企业网站山西省住房和城乡建设厅网站
  • 做网站的去哪找客户正规制作网站公司
  • 网站代理访问是什么意思外国优秀设计网站
  • 合肥个人建站模板网络技术服务有限公司
  • 做网站什么公司好dw企业网站开发教程
  • 怎么做自己的个人网站宝安网站设计哪家最好
  • 浩博建设集团网站站长网站统计
  • 电商网站开发视频seo排名优化方式方法
  • 宿迁市住房城乡建设局网站wordpress纯图片主题
  • 广州建设网站 公司湖北省建设信息网官网
  • 网站建立时间查询做百度移动网站优化排
  • 网站建设和运行费用qq恢复官方网站
  • 可以免费建立网站吗免费的网络营销方式
  • 天津企业设计网站建设wordpress标题字体大小
  • 上高县城乡规划建设局网站创业项目