当前位置:网站首页>MATLAB lit plusieurs diagrammes fig et les combine en un seul diagramme (sous forme de sous - Diagramme)
MATLAB lit plusieurs diagrammes fig et les combine en un seul diagramme (sous forme de sous - Diagramme)
2022-04-23 03:54:00 【Sous - titre】
Introduction
Plusieurs expériences ont permis d'obtenir des images d'expériences,matlabExporter Enregistrer sousfigFormat,Je veux lire plusieursfigL'image s'est ensuite fusionnée en une grande image(La forme du sous - graphe),J'ai vérifié des informations.,Prenez note de vos propres pensées et expériences.
1.Code
for i=1:10
%OuvertfigFichier modifier le chemin au besoin
hf(i)=open(['.\fig\sin-x1-test_',num2str(i),'.fig']);%Ouvre.fig
fig(i)=get(hf(i), 'CurrentAxes');%Obtenir l'image dessinée
end
%Nouvelle fenêtre de dessin
figure
for i=1:10
%Voir combien de lignes dessiner et combien de colonnes modifier au besoin
subplot(2,5,i);%NoiSous - image
axChildren = get(fig(i),'Children');%Obtenir l'image dessinée
copyobj(axChildren, gca);%Copier dans la fenêtre actuelle
close(hf(i));%Éteignez les images déjà copiées
%Voici les paramètres de l'image,Veuillez modifier le cas échéant
title(['SCurviligne',num2str(i),'Tests secondaires']);%Dessiner le titre du sous - Diagramme
xlabel('Angle(\circ)');%Dessiner des sous - cartesxÉtiquettes
ylabel('Center WaveLength Change(nm)');%Dessiner des sous - cartesyÉtiquettes
yaxis([-0.05,0.2])%Dessiner des sous - cartesyChamp d'application
xticks([0 20 40 60 80 100]);% .Tracer l'échelle du sous - Diagramme
end
2.L'effet final est le suivant
Références:
1.MATLAB Plusieurs diagrammes d'un dessin sont combinés en un seul sous forme de sous - Diagrammes
2.️Matlab Assembler plusieurs images en une seule image sans couture ️
版权声明
本文为[Sous - titre]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230353257558.html
边栏推荐
- According to the category information and coordinate information of the XML file, the category area corresponding to the image is pulled out and stored in the folder.
- 网络原理 | TCP/IP中的连接管理机制 重要协议与核心机制
- RuntimeError: output with shape [4, 1, 512, 512] doesn‘t match the broadcast shape[4, 4, 512, 512]
- 基于PHP的代步工具购物商城
- Using VBA interval to extract one column from another in Excel
- Wechat applet cloud database value assignment to array error
- How Zotero quotes in word jump to references / hyperlink
- CRF based medical entity recognition baseline
- [Li Hongyi 2022 machine learning spring] hw6_ Gan (don't understand...)
- VSCode配置之Matlab极简配置
猜你喜欢
The art of concurrent programming (2): synchronized usage scenarios
Key point detection of human hand based on mediapipe
Second kill all interval related problems
標識符、關鍵字、數據類型
Retrieval question answering system baseline
[latex] formula group
Opencv4 QR code recognition test
Installation and configuration of clion under win10
Design and implementation of redis (5): master-slave replication strategy and optimization
What if you encounter symbols you don't know in mathematical formulas
随机推荐
SQL topic exercise summary
A sword is a sword. There is no difference between a wooden sword and a copper sword
Numpy's broadcasting mechanism (with examples)
The great gods in acmer like mathematics very much
Basic introduction to spot gold
Key point detection of human hand based on mediapipe
Activity supports multi window display
现货黄金操作技巧_估波曲线
SQL learning record
Man's life
Nel ASA:挪威Herøya设施正式启用
Digital image processing third edition Gonzalez notes Chapter 2
(valid for personal testing) compilation guide of paddedetection on Jetson
Xshell、Xftp连接新创建的Unbutu系统虚拟机全流程
Seekbar custom style details
The art of concurrent programming (5): the use of reentrantlock
Shopping mall for transportation tools based on PHP
Raspberry pie 3B logs into the wired end of Ruijie campus network through mentohust, creates WiFi (open hotspot) for other devices, and realizes self startup at the same time
Retrieval question answering system baseline
ROS series (IV): ROS communication mechanism series (6): parameter server operation