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

大型网站建设机构哪家好英德建设网站

大型网站建设机构哪家好,英德建设网站,品牌推广软文200字,用织梦做手机移动版网站part.-1 前前言 最近略忙可能更新的内容会比较简单#xff0c;见谅哇#xff0c;今日更新内容#xff1a; part.0 前言 看到gzhBYtools科研笔记(推荐大家可以去瞅瞅#xff0c;有很多有意思的图形的R语言复现#xff01;#xff01;)做了这样一张图#xff1a; 感觉很…part.-1 前前言 最近略忙可能更新的内容会比较简单见谅哇今日更新内容 part.0 前言 看到gzhBYtools科研笔记(推荐大家可以去瞅瞅有很多有意思的图形的R语言复现)做了这样一张图 感觉很有意思但是作者是使用 R语言Adobe illustrator 进行完成的于是俺就想试试能不能用 MATLAB来进行完成。该图是出自论文 Li, Pu-Dong Zhu, Zeng-Rong Zhang, Yunzeng Xu, Jianping Wang, Hongkai Wang, Zhengyi Li, Hongye. (2022). The phyllosphere microbiome shifts toward combating melanose pathogen. Microbiome. 10. 10.1186/s40168-022-01234-x. 其中的Figure.6的图A 想要下载文章可以通过将以下链接复制到浏览器打开来实现 https://www.researchgate.net/journal/Microbiome-2049-2618/publication/359692392_The_phyllosphere_microbiome_shifts_toward_combating_melanose_pathogen/links/6248fec18068956f3c6532fa/The-phyllosphere-microbiome-shifts-toward-combating-melanose-pathogen.pdf 当然我的文末所给出的Gitee仓库也给出了pdf文件可以下载下来看。 part.1 核心函数 就是将scatter函数画两遍散点一遍有边缘另一遍删掉边缘同时设置其中一次绘图不在图例中显示即可也就三五行代码的一个小小小函数可以新建m文件(Matlab-file)保存一下或者直接放在代码最后即可。 function stHdl strokeScatter(varargin)set(gca,NextPlot,add);scHdl scatter(varargin{:});stHdl scatter(varargin{:},MarkerEdgeColor,none);scHdl.Annotation.LegendInformation.IconDisplayStyleoff; endpart.2 使用及复刻 基本使用 使用数据(所用数据见文末Gitee仓库)直接循环绘图就已经很像了 % BinningDemo Date readtable(binningData.txt,Delimiter,,); % Group flipud(unique(Date.group)) Group {other bins; bin 19; bin 13; bin 11; bin 3; bin 5}; CList [177,177,176; 63,168,106; 24,222,154;96,0,123; 189,83,110; 170,219,87]./255;figure(Units,normalized,Position,[.2,.3,.4,.6]); % 循环绘制散点 for i 1:length(Group)ind strcmp(Date.group,Group(i));binX Date.X(ind);binY Date.Y(ind);if i 1strokeScatter(binX,binY,170,filled,CData,CList(i,:),...MarkerEdgeColor,none);elsestrokeScatter(binX,binY,170,filled,CData,CList(i,:),...MarkerEdgeColor,k,LineWidth,2);end end坐标区域修饰 % 坐标区域修饰 ax gca; ax.PlotBoxAspectRatio [1,1,1]; ax.Box on; ax.LineWidth 2; ax.FontName Times New Roman; ax.XGrid on; ax.YGrid on; ax.TickDir out; ax.XLim [0.2,0.85]; ax.YTick 0:50:150; ax.XTick 0.4:0.2:0.8; ax.FontSize 14; ax.XColor [.2,.2,.2]; ax.YColor [.2,.2,.2]; % X轴副标签 ax.XRuler.SecondaryLabel.String GC content; ax.XRuler.SecondaryLabel.Position(1) ax.XLim(1); ax.XRuler.SecondaryLabel.HorizontalAlignment left; ax.XRuler.SecondaryLabel.FontSize 16; ax.XRuler.SecondaryLabel.VerticalAlignment bottom; ax.XRuler.SecondaryLabel.FontWeight bold; % Y轴标签 ax.YLabel.String Contig abundance; ax.YLabel.FontSize 24; ax.YLabel.FontWeight bold;添加图例 % 绘制图例 lgdHdl legend(Group); lgdHdl.NumColumns length(Group); lgdHdl.Location southoutside; lgdHdl.Box off; lgdHdl.FontSize 14;part.3 其他示例 这里随便写了点代码懒得去想咋生成一团一团数据干脆同时让X坐标取了个整让点聚在了一起 clc; clear; close all rng(6) % 生成随机点(Generate random points) mu [1 1; 12 10; 9 12]; S cat(3,[1 0; 0 2],[1 0; 0 2],[1 0; 0 1]); r1 abs(mvnrnd(mu(1,:),S(:,:,1),200)); r2 abs(mvnrnd(mu(2,:),S(:,:,2),200)); r3 abs(mvnrnd(mu(3,:),S(:,:,3),200)); % 绘制散点图(Draw scatter chart) hold on propCell {LineWidth,2,MarkerEdgeColor,[.3,.3,.3],SizeData,100}; strokeScatter(round(r1(:,1)),r1(:,2),filled,CData,[0.40 0.76 0.60],propCell{:}); strokeScatter(round(r2(:,1)),r2(:,2),filled,CData,[0.99 0.55 0.38],propCell{:}); strokeScatter(round(r3(:,1)),r3(:,2),filled,CData,[0.55 0.63 0.80],propCell{:}); % 增添图例(Draw legend) lgd legend(class1,class2,class3); lgd.Location northwest; lgd.FontSize 14; % 坐标区域基础修饰(Axes basic decoration) axgca; grid on ax.FontName Cambria; ax.Color [0.9,0.9,0.9]; ax.Box off; ax.TickDir out; ax.GridColor [1 1 1]; ax.GridAlpha 1; ax.LineWidth 1; ax.XColor [0.2,0.2,0.2]; ax.YColor [0.2,0.2,0.2]; ax.TickLength [0.015 0.025]; % 隐藏轴线(Hide XY-Ruler) pause(1e-6) ax.XRuler.Axle.LineStyle none; ax.YRuler.Axle.LineStyle none;function stHdl strokeScatter(varargin)set(gca,NextPlot,add);scHdl scatter(varargin{:});stHdl scatter(varargin{:},MarkerEdgeColor,none);scHdl.Annotation.LegendInformation.IconDisplayStyleoff; end完 再次推荐一下gzhBYtools科研笔记虽然账号似乎建立时间不长但是有很多优质内容的 本文所有代码及论文原文可在以下Gitee仓库获取 https://gitee.com/slandarer/spdraw
http://www.hkea.cn/news/14554973/

相关文章:

  • 科技小制作小发明济南网站建设seo优化
  • asp网站模板下载网站建设天乐大厦
  • 网站建设哪些资质沈阳市建设局网站
  • 建设的网站都是怎么赚钱wordpress 怎样打补丁
  • 网站基础建设和管理cms网站管理
  • 网站设置密码进入域名注册商排名
  • 备案网站注意事项好用的开发工具
  • 建设食品网站如何定位方圆网 网站建设
  • 编程网站题库网页的设计流程是怎样的
  • 镇江高端网站建设自己做的网站怎么实现结算功能
  • 网站做快照怎么做营销方案怎么写?
  • 仿淘宝商城网站开源系统外贸网站打开速度
  • 网站 aspx 模板做网站多久才会有收益
  • 工业软件开发技术学什么深圳网站建设模板乐云seo
  • 动易网站论坛山河建设有限公司网站
  • 图们市建设局网站梵克雅宝戒指
  • 网站模板排名做网站赚钱的QQ群
  • 源码建站和模板建站区别海外网传媒有限公司
  • 网站制作价格网络推广和竞价怎么做
  • 做网站会出现什么问题做HH网站
  • 网站建设公司客户来源渠道简约装修大全
  • 福田网站优化广州番禺服装网站建设
  • 教做衣服的网站一键关键词优化
  • 网站系统jsp模板wordpress水印插件
  • 外贸外链网站室内设计师网站有哪些
  • 可以做营销任务的网站东莞网站的关键字推广
  • 公司做网站 需要准备什么安徽专业网站建设检修
  • 网站管理助手 二级域名自助建站和网站开发的利弊
  • 怎样修改公司网站内容百度深圳总部
  • 龙岩网站建设要多少费用做好网站建设的重要性