当前位置:网站首页>Problems of font legend and time scale display of MATLAB drawing coordinate axis
Problems of font legend and time scale display of MATLAB drawing coordinate axis
2022-07-08 01:24:00 【Bosong】
Catalog
1. Axis font
1.1 Default axis
figure(1);
plot(x, y1,'r--', x, y2,'b-', 'LineWidth',2);
set(gca,'FontSize',13,'FontWeight','bold','Fontname', 'Times New Roman');
1.2 Set axis
# x Shaft for “ Sine function sin -2π ≤ x ≤ 2π”
xlabel({' Sine function ','sin','-2\pi \leq x \leq 2\pi'}, 'FontSize',12,'FontWeight','bold','color','r','Fontname','STFangSong')
# legend
legend('Output1','Output2','Location','NorthEast', 'FontSize',13,'FontWeight','bold', 'Fontname','Times New Roman');
2. Axis time
2.1 preparation
First prepare the cell property as “ The number ” Of Excel schedule , Data as shown :
# Read in time Excel
T = xlsread('time.xlsx');
# Extract each sheet Speed column in
T(:,8) = datenum(T(:,2),T(:,3),T(:,4),T(:,5),T(:,6),T(:,7));
x = T(:,8);
figure(1);
plot(x, y1,'r--', x, y2,'b-', 'LineWidth',2);
# The function number selection is shown in the figure below
dateaxis('x',15);
2.2 Parameter selection
边栏推荐
- Cross modal semantic association alignment retrieval - image text matching
- 2022 safety officer-b certificate examination question bank and safety officer-b certificate simulation test questions
- Macro definition and multiple parameters
- For the first time in China, three Tsinghua Yaoban undergraduates won the stoc best student thesis award
- Using GPU to train network model
- The whole life cycle of commodity design can be included in the scope of industrial Internet
- npm 内部拆分模块
- Chapter 7 Bayesian classifier
- Guojingxin center "APEC investment +": some things about the Internet sector today | observation on stabilizing strategic industrial funds
- General configuration tooltip
猜你喜欢
Complete model training routine
1. Linear regression
Redis集群
2022 operation certificate examination for main principals of hazardous chemical business units and main principals of hazardous chemical business units
Guojingxin center "APEC education +" Shanghai Jiaotong University Japan Cooperation Center x Fudan philosophy class "Zhe Yi" 2022 New Year greetings
Su embedded training - Day6
Recommend a document management tool Zotero | with tutorials and learning paths
2. Nonlinear regression
A speed Limited large file transmission tool for every major network disk
Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
随机推荐
2. Nonlinear regression
7. Regularization application
Kaptcha generates verification code on Web page
Codeforces Round #804 (Div. 2)
Taiwan Xinchuang sss1700 latest Chinese specification | sss1700 latest Chinese specification | sss1700datasheet Chinese explanation
2022 low voltage electrician examination content and low voltage electrician simulation examination question bank
How to write mark down on vscode
Transportation, new infrastructure and smart highway
Micro rabbit gets a field of API interface JSON
Basic realization of line graph
The Ministry of housing and urban rural development officially issued the technical standard for urban information model (CIM) basic platform, which will be implemented from June 1
Definition and classification of energy
2022 chemical automation control instrument examination summary and chemical automation control instrument simulation examination questions
Cross modal semantic association alignment retrieval - image text matching
1. Linear regression
Four digit nixie tube display multi digit timing
Redis集群
Frequency probability and Bayesian probability
Capstone/cs5210 chip | cs5210 design scheme | cs5210 design data
Su embedded training - Day6