当前位置:网站首页>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
边栏推荐
- Smart grid overview
- 2021-04-12 - new features lambda expression and function functional interface programming
- How to write mark down on vscode
- Su embedded training - Day7
- Chapter 7 Bayesian classifier
- Guojingxin center "APEC investment +": some things about the Internet sector today | observation on stabilizing strategic industrial funds
- Scheme selection and scheme design of multifunctional docking station for type C to VGA HDMI audio and video launched by ange in Taiwan | scheme selection and scheme explanation of usb-c to VGA HDMI c
- Common effects of line chart
- Blue Bridge Cup embedded (F103) -1 STM32 clock operation and led operation method
- Ag9310 same function alternative | cs5261 replaces ag9310type-c to HDMI single switch screen alternative | low BOM replaces ag9310 design
猜你喜欢
Cs5212an design display to VGA HD adapter products | display to VGA Hd 1080p adapter products
Probability distribution
Chapter XI feature selection
USB type-C docking design | design USB type-C docking scheme | USB type-C docking circuit reference
Smart grid overview
2022 operation certificate examination for main principals of hazardous chemical business units and main principals of hazardous chemical business units
Two methods for full screen adaptation of background pictures, background size: cover; Or (background size: 100% 100%;)
2022 low voltage electrician examination content and low voltage electrician simulation examination question bank
130. Zones environnantes
5、離散控制與連續控制
随机推荐
5. Discrete control and continuous control
5. Over fitting, dropout, regularization
swift获取url参数
Taiwan Xinchuang sss1700 latest Chinese specification | sss1700 latest Chinese specification | sss1700datasheet Chinese explanation
Cs5261type-c to HDMI alternative ag9310 | ag9310 alternative
Talk about smart Park
Two methods for full screen adaptation of background pictures, background size: cover; Or (background size: 100% 100%;)
Get started quickly using the local testing tool postman
Chapter 16 intensive learning
Capstone/cs5210 chip | cs5210 design scheme | cs5210 design data
String usage in C #
Common effects of line chart
3、多智能体强化学习
How to transfer Netease cloud music /qq music to Apple Music
[loss function] entropy / relative entropy / cross entropy
Frrouting BGP protocol learning
Redis 主从复制
C# ?,?.,?? .....
The whole life cycle of commodity design can be included in the scope of industrial Internet
Getting started STM32 -- how to learn stm32