Chapter1 基于python的科研论文配图绘制与配色基础

【科研基础】python绘图、配色 1][2] 阅读详情

本文内容和图都源自《科研论文配图绘制指南 基于python》,读书笔记。

科研绘图的基础知识

        数据可视化:借助图像展示数据

        为什么非常重要:吸引读者、帮助读者理解自己的研究内容、直观的感受到你的工作成果

绘制规范

           画图最首要的:确保规范性,要符合投稿期刊要求的配图格式

        1 配图的分类与构成

                线型图【折线、散点、柱形图】、灰度图、照片彩图、综合配图

         2 配图的属性

                插图格式

                        像素图:(JPEG 处理容易但损失大、PSD、PNG、TIFF)

                        矢量图:放大不会失真(EPS 常用、AI 常用、PDF、SVG)

                尺寸

                        考虑和上下文的协调性

                         * SCI要求分辨率 > 300pi ,但是分辨率太高文件太大,就不好投稿

                字体和字号

                        中文:宋体 黑体

                        英文:用 Arial、Helvetica 或 Times New Roman

                        尽量确保所有的文字的字体字号一致

                版式设计

                        配图的字小于正文;先文后图;不同尺寸的图不要在同一行列;分类插图的颜色要有对比     

绘图基本原则

必要性

        如果配图可以起到补充说明文字、直观展示结果、引出下文内容等作用,那么它就是必要的。但避免图多字少的情况。

易读性

一致性

        表达内容和上下文一致、比例、图层要素一致

插图的配色基础

1. 色彩模式

RGB(网络版本期刊

        红绿蓝、255*255*255,色彩表现效果好

 CMYK(纸质版本期刊

        青紫黄黑

 HEX 

        十六进制色彩模式,红绿蓝

2. 色轮配色

        配色方案:四种

3. 颜色主题

绘图工具自带的颜色主题(搭配好的)

 Matplotlib 库\Seaborn库的颜色主题主要包括 3 种类型:单色系(sequential)、双色渐变色系(diverging) 和多色系(qualitative)

4. 配图工具

Color Scheme Designer

Adobe Color

ColorBrewer 2.0

        其中,Matplotlib 库和 R 的 RColorBrewer 包中包含了大量它的颜色主题,matplotlib可以直接调cmap参数进行使用。

科研绘图必备!Python实战教程,手把手教你绘制漂亮的折线图 本文将为读者提供科研绘图中优美的配色方案,并详细介绍如何使用 Python 中的 seaborn 和 matplotlib 库来创建漂亮的折线图。 阅读详情

相关推荐

SCI论文Python绘图模板

SCI论文Python绘图模板。

qq_44877514的博客 709

Python(matplotlib)画图设置正斜体,及中文宋体、英文Timenews--用于论文画图,导出高清晰图像

这里先介绍怎么同时设置上下标,看代码照着做即可。

qq_40214464的博客 1万+

医学影像AI的幻觉问题与CCD解决方案

医学影像AI在辅助诊断中面临的核心挑战是幻觉现象,即模型生成不符合实际影像的虚假诊断。这种现象源于多模态大语言模型(MLLMs)在视觉-语言对齐上的技术局限,可能导致假阳性或假阴性的临床风险。通过临床对比解码(CCD)框架,结合症状锚定和专家引导的双阶段校准机制,可有效提升模型输出的可靠性。该技术在CheXpert和MIMIC-CXR等标准数据集上验证,显著改善了肺不张、胸腔积液等关键指标的检测准确率。对于医疗AI落地场景,这种即插即用的解决方案既规避了数据隐私合规问题,又降低了基层医院的部署门槛,为AI辅

weixin_36303807的博客 332

【Datawhale】基于Python的科研论文配图绘制——Task 1

可视化配图,如下图所示(具体为单色系中的 ylgnbu 色系、双色渐变色系中的 seismic 色系和多色系中的set1 色系)。**下面我们对比Python中三种库的颜色主题(Matplotlib,Seaborn 和 SciencePlots) **绘图时可选择多种色彩模式,常见的色彩模式包括 RGB 色彩模式、CMYK 色彩模式和 HEX 色彩模式。科研论文配图作为数据可视化在科研领域的重要应用场景,是研究结果直观、有效的呈现方式,在。论文只有符合投稿期刊的配图要求,才能进行下一步的查阅和审核。

qq_45607020的博客 1532

Silvaco TCAD仿真4——DeckBuild实战:从示例库到自定义设计

本文详细介绍了Silvaco TCAD仿真工具DeckBuild的实战应用,从示例库的使用到自定义设计的全过程。通过具体案例和参数修改技巧,帮助用户快速掌握TCAD仿真技术,提升半导体器件设计的效率和精度。特别适合需要从基础入门到进阶操作的工程师和研究人员。

weixin_29284657的博客 441

LAMMPS实操系列(一): 大量FCC-CoCrCuFeNi高熵合金建模与最稳定结构筛选

高熵合金(High-entropy alloys,HEA),是由五种或五种以上等量或大约等量金属形成的合金。由于高熵合金可能具有许多优秀的物理化学性质,因此在材料科学领域受到广泛关注

Ceshigo_CD的博客 3265

《科研论文配图绘制指南 基于python》学习笔记(一)

科研论文配图绘制基础和配色基础

m0_61819793的博客 690

手把手用瑞萨E1仿真器调试RH850 CAN通信:从报文收发到底层寄存器监控

本文详细介绍了使用瑞萨E1仿真器调试RH850 CAN通信的全过程,包括硬件连接、CS+开发环境配置、CAN控制器寄存器解析以及双通道网关实战开发。通过实战案例和错误诊断技巧,帮助开发者快速掌握RH850F1L的RS-CAN控制器应用,提升车载网络开发效率。

weixin_30919429的博客 171

python画图配色总结

python画图配色总结

qq_45759229的博客 2万+

IPD实战指南:如何运用SPAN模型精准定位高潜力市场并优化资源配置

本文是IPD实战指南,详细解析了如何运用SPAN模型进行市场分析与战略决策。文章通过四步实战法,指导企业科学定义细分市场、量化评估吸引力与竞争力,并绘制矩阵以制定精准的资源配置策略,从而跳出红海竞争,将资源聚焦于高潜力市场。

weixin_29306317的博客 84

Python爬招聘网站:Selenium+ActionChains破解滑动验证码,批量采集岗位数据(新手可跑)

通过本文实战,你不仅学会了用Selenium+ActionChains破解滑动验证码,还掌握了爬虫的核心优化思路——“模拟人类行为”是突破反爬的关键。这套逻辑不仅适用于招聘网站,还能迁移到其他有滑动验证码的平台(如电商、资讯网站)。

专注于Python爬虫开发,分享爬虫技巧、项目实战与反爬经验,使用Scrapy、BeautifulSoup等工具,解决数据抓取难题。 1195

python学习——matplotlib颜色设置&适合论文的配色

链接在此:https://finthon.com/matplotlib-color-list/ 未完待续

m0_37876745的博客 6290

Allegro 中复制一部分PCB到另一个PCB中去

引言:自从学了allegro后,我每天快乐地再拉线,一开心肯定出事情。不料今天一高兴,把本来在5层的铜皮直接在4层画起来了。不过,幸好我知道换层,才省了又要画铜皮的时间。好了,开干,如果要将其他层的铜皮换到想要换到的层上,就需要这个命令。

tianpu2320959696的博客 1002

Chapter1 科研论文配图的绘制与配色基础

返回值 `fig` 和 `ax`:`fig` 是一个画布对象,`ax` 是一个包含子图或子图数组的对象。它可以是一个Axes对象,也可以是Axes对象的二维数组,具体取决于指定的 `nrows` 和 `ncols`。- `sharex` 和 `sharey`:布尔值,用于指定是否共享x轴和y轴刻度。- `nrows` 和 `ncols`:表示子图的行数和列数。- `figsize`:一个包含画布宽度和高度的元组,用于指定画布的尺寸(单位是英寸)。Matplotlib 库中。

LIUH26238的博客 266

133、神经渲染与AI RAW:从RAW域到sRGB的端到端学习

去年在调试某款旗舰手机的主摄时,遇到一个让人头疼的问题——夜景模式下,暗部细节虽然保留得不错,但色彩总是偏紫,而且高光边缘有诡异的“水彩感”。ISP的3A统计跑了几十版,降噪强度从0调到100,甚至把去马赛克算法换成了自适应方向插值,问题依旧。后来团队里一位做AI的同事说:“要不试试端到端?从RAW直接出sRGB。”当时我第一反应是“这玩意儿能稳定吗?”结果试了一版,偏紫消失了,高光边缘的伪影也没了。从那以后,我开始认真研究神经渲染与AI RAW这条路线。

sundong_81的博客 42

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

科研论文配图绘制指南——基于Python—第一章

主要是一些配色相关的知识,以及配色的工具,暂无实操。

weixin_45662974的博客 1979

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

Python科研绘图--Task01

本文介绍了科研论文配图绘制的基础知识,具体包括科研论文配图的绘制规范、绘制的基本原则,除此之外,还介绍了科研论文配图绘制中的色彩搭配,包括色彩模式、色轮配色原理、配图的颜色主题以及选择色彩的配色工具,其目的是为了让读者更好地了解科研论文配图的绘制规范,重视颜色选择在配图制作中的作用

BIT_mk的博客 1861

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

科研论文配图绘制指南 科研论文配图设计与制作 书籍

科研论文配图绘制指南 科研论文配图设计与制作 书籍

青少年趣味编程 1306

共读《科研论文配图绘制指南--基于Python》学习重点

《科研论文配图绘制指南–基于Python》49期学习重点

Vampire_cold的博客 1150

第49期Datawhale组队学习——共读《科研论文配图绘制指南--基于Python》

Datawhale第49期组队学习,共读《科研论文配图绘制指南–基于Python》,学习周期:8.14-9.1(一共8个Task)内容:《科研论文配图绘制指南–基于Python》P18-31任务:掌握matplotlib中基本的图形元素名称,图层顺序和坐标系。多子图绘制方法和常见绘图函数。内容:《科研论文配图绘制指南–基于Python》P31-36任务:掌握seaborn所能绘制的统计图形类型、绘图函数、多子图绘制方法和绘图主题、风格等。内容:《科研论文配图绘制指南–基于Python》P36-42。

weixin_44259058的博客 1538

《科研论文配图绘制指南 基于python》阅读笔记1

科研论文配图的绘制与配色基础。

weixin_54818064的博客 865

Python 绘图颜色、技巧汇总

在论文绘图中,最重要的是准确传达数据和信息。无论是实验结果图、统计图表还是概念图示,图像应当清晰明了地展示研究结果和观点。

小蜗爱建模的博客 1万+

Python四种配色方案,适合科研的配色

下面这五种配色是不需要指定的,Python自带的主题,无论有多少个种类都适合,这里就简单以条形图为例。

1万+

python 画图时各种颜色代码

【代码】python 画图时各种颜色代码。

算法探索之路 8550

【Python画图】配色方案

等距三角配色:将色轮上间隔120°的三个颜色搭配,但由于太过亮眼,颜色杂乱而用得少。但可以取一种颜色为主色,另外两种颜色适当缩小间隔作为辅助色进行组合。单色:通过调整同一颜色的亮度或明度来实现,或者用相临近的颜色。多用于同一系列、相同类型的数据。四角配色:将色轮上间隔90°的四个颜色搭配,但这个方案的色彩过于杂乱,所以一般不建议使用。互补色:即通过色轮上间隔180°的两个颜色来搭配,多用于实验组和对照组等对比强利的数据。

weixin_44590417的博客 5853

使用python画sci风格的图

python画sci图

xmy21sunshine的博客 2112
上一篇: JupyterNotebook双击cell后如何恢复到原来的显示格式
下一篇: Matplotlib 科研配图绘制工具
SanLoveMatcha
博客等级 码龄6年 5粉丝 5原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值
⌂ 换网址