当前位置:网站首页>Reprint of illustrations in nature, issue 3 - area map (part2-100)
Reprint of illustrations in nature, issue 3 - area map (part2-100)
2022-07-24 11:12:00 【A Kun's daily scientific research】
In the previous post , Reprinted 《Nature》 HD paper insertions Part2 No 456 Multiple groups of histograms at the bottom left of illustration No :

Part1 pass the civil examinations 305 The horizontal single group multicolor histogram on the left side of illustration No :

This issue , Let's go back and forth 《Nature》 HD paper insertions Part2 pass the civil examinations 100 Illustration No ( following abbreviation 100) Area map at the top right .

Let's take a look first Replica effect :

hot tip :Nature Thesis illustration reprint series , It aims to reduce the threshold of scientific research mapping , Let everyone no longer feel “ The illustrations of papers in top journals are out of reach for me ”. If it works , Share it with the people around you .
1 Factor analysis
100 in Every curve object utilize Different colors with certain transparency are filled , These colors are on the top left (a) Of Legend Can be found in .
Besides , Its coordinate axis is left 、 On 、 The right part has no scale , And the scale label of the axis below it is vertical .
These are the points that need attention .
2 Replica tool
Matlab R2022a
Matlab Scientific research drawing plug-in -ColorCopy Color scheme extraction tool
Matlab Scientific research drawing plug-in -ColorMap Gradient generation / Editing tools
Matlab Scientific research drawing plug-in -Fig2Data Image raw data extraction tool
3 Data preparation and color scheme extraction
This part is mainly extract 100 Data in and color scheme , For drawing .
First , Use Fig2Data The tool extracts curve data in the graph ( For convenience , Only 20 One of the curves 16 For subsequent processing ).

Due to the use Fig2Data Tool manually extracted curve Insufficient sampling density , There will be some ‘ angular ’:

So use ‘interp1’ command , use ‘spline’ Interpolation method The manual sampling points are encryption :

The encrypted data is saved in datax.mat and datay.mat In file .
%% Data preparation% Reading data% The independent variables dataxload datax.mat;% The dependent variable datayload datay.mat;
then , utilize ColorCopy Tools extract color schemes :
%% Color extractionC = ColorCopy;close

Because the original curve is 20 strip , And I only extracted one of them 16 strip , therefore Need to reassign colors .
However , The original author used Gradient color matching , If arbitrarily assigned , May cause uneven color changes .
therefore , Here I am Used ColorMap Gradient generation / Editor pair ColorCopy The resulting color matrix C Downsampling :
C = ColorMap(C,N);among ,N Represents the number of colors after downsampling , namely 16.
4 mapping
First , utilize ‘area’ command Draw system Initial area map .
for i = 1:Narea(datax(i,:),datay(i,:),'LineWidth',2,'FaceColor',C(i,:),'EdgeColor',C(i,:),...'FaceAlpha',.3,'EdgeAlpha',1);hold onendhXLabel = xlabel('Cortical depth (normalized)');hYLabel = ylabel('cell density');hTitle = title('MOp cells');

To avoid axis occlusion , Use ‘plot’ Command to draw another coordinate axis .
hold onplot(0:0.2:1.2,zeros(1,7),'k','LineWidth', 1)

And then , Compare with the original drawing , Further adjust the details of the coordinate area :
% Coordinate axis parameter adjustmentset(gca, 'LineWidth', 1,... % Line width'Box', 'off', ... % Frame'XGrid', 'off', 'YGrid', 'off', ... % grid'TickDir', 'out', 'TickLength', [.01 .01], ... % scale'XMinorTick', 'off', 'YMinorTick', 'off', ... % Small scale'XColor', [.1 .1 .1], 'YColor', [.1 .1 .1],... % Axis color'XTick', 0:0.2:1.2,... % Scale and range'XLim', [-0.05 1.1],...'XTickLabels',{num2str([0:0.2:1]','%.1f')},...'XTickLabelRotation',90,...'YTick', [],...'YLim', [0 1])% add 、 Right borderhold onXL = get(gca,'xlim'); XR = XL(2);YL = get(gca,'ylim'); YT = YL(2);xc = get(gca,'XColor');yc = get(gca,'YColor');plot(XL,YT*ones(size(XL)),'color', xc,'linewidth',1)plot(XR*ones(size(YL)),YL,'color', yc,'linewidth',1)% Font sizeset(gca, 'FontName', 'Arial', 'FontSize', 12)set([hXLabel,hYLabel], 'FontName', 'Arial', 'FontSize', 13)set(hTitle, 'FontSize', 14)% The background colorset(gcf,'Color',[1 1 1])
Last , Output pictures at the desired resolution :
figW = figureWidth;figH = figureHeight;set(figureHandle,'PaperUnits',figureUnits);set(figureHandle,'PaperPosition',[0 0 figW figH]);fileout = 'test';print(figureHandle,[fileout,'.png'],'-r300','-dpng');

It can be said that the reduction degree is still relatively high .
You also want to see which picture I engrave , Can you tell me the number .
above .
Access method :
边栏推荐
- E2PROM read / write (xiicps) on PS side of zcu102 board
- 爬虫与反爬:一场无休止之战
- SQL optimization skills and precautions
- Only "a little bit", why do developers look up to you?
- Reprint: getting started with cache coherence
- Collation of important MySQL configuration parameters
- Pytorch learning -- using gradient descent method to realize univariate linear regression
- The solution of permission denied
- Lanqiao cup provincial training camp - stack and recursion
- 【Golang】golang实现md5加密函数
猜你喜欢

Five application scenarios of Bluetooth module
![[attack and defense world web] difficulty five-star 15 point advanced question: ics-07](/img/97/555a76be9e96629fd7379ce8612a3b.png)
[attack and defense world web] difficulty five-star 15 point advanced question: ics-07

Selenium automated test (this one is enough) - self study

这个应该是全网最全的接口测试工具之postman

只会“点点点”,凭什么让开发看得起你?

The difference between Lora wireless technology and lorawan gateway module

2018 arXiv | Objective-Reinforced Generative Adversarial Networks (ORGAN) for Sequence Generation Mo

Pytorch learning -- using gradient descent method to realize univariate linear regression

Over the weekend, I had a dinner with the technology gurus and talked about the "golden nine and silver ten" peak of the software testing industry [the trend of involution has been formed]

Ask n! How many zeros are there behind
随机推荐
Simply use MySQL index
JMeter接口测试步骤-安装教程-脚本录制-并发测试
Lanqiao cup provincial training camp - stack and recursion
HDU5667 Sequence
Cub school learning - Kernel Development
《Nature》论文插图复刻第3期—面积图(Part2-100)
只会“点点点”,凭什么让开发看得起你?
Xilinx FPGA soft core development process
如何给自己的网站接入在线客服系统代码
2022,软测人的平均薪资,看完我瞬间凉了...
Working principle and function application of frequency converter
Redis 100 million level data storage scheme hash slot partition
Decomposition of kubernets principle
E2PROM read / write (xiicps) on PS side of zcu102 board
Reprint: getting started with cache coherence
这个应该是全网最全的接口测试工具之postman
STM32+ESP8266+MQTT协议连接阿里云物联网平台
向量化引擎对HTAP的价值与技术思考
Value and technical thinking of vectorization engine for HTAP
Redismission watchdog implementation mechanism can be understood at a glance