当前位置:网站首页>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
边栏推荐
- Gnuradio 3.9 using OOT custom module problem record
- 4. Cross entropy
- Chapter VIII integrated learning
- 6. Dropout application
- 3、多智能体强化学习
- How to get the first and last days of a given month
- redis的持久化方式-RDB和AOF 两种持久化机制
- 2021-04-12 - new features lambda expression and function functional interface programming
- Capstone/cs5210 chip | cs5210 design scheme | cs5210 design data
- Know how to get the traffic password
猜你喜欢
Share a latex online editor | with latex common templates
Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data
130. 被圍繞的區域
Transportation, new infrastructure and smart highway
1. Linear regression
11. Recurrent neural network RNN
Recommend a document management tool Zotero | with tutorials and learning paths
Basic realization of line graph
Chapter 7 Bayesian classifier
Use "recombined netlist" to automatically activate eco "APR netlist"
随机推荐
7. Regularization application
The whole life cycle of commodity design can be included in the scope of industrial Internet
4、策略学习
Y59. Chapter III kubernetes from entry to proficiency - continuous integration and deployment (III, II)
Cs5261type-c to HDMI alternative ag9310 | ag9310 alternative
Arm bare metal
2022 safety officer-c certificate examination summary and safety officer-c certificate reexamination examination
USB type-C mobile phone projection scheme | USB type-C docking station scheme | TV / projector type-C converter scheme | ag9300ag9310ag9320
Probability distribution
Chapter IV decision tree
50Mhz产生时间
Understanding of sidelobe cancellation
Guojingxin center "friendship and righteousness" - the meta universe based on friendship and friendship, and the parallel of "honguniverse"
2022 operation certificate examination for main principals of hazardous chemical business units and main principals of hazardous chemical business units
Su embedded training - Day8
Complete model verification (test, demo) routine
Gnuradio operation error: error thread [thread per block [12]: < block OFDM_ cyclic_ prefixer(8)>]: Buffer too small
Ag9311maq design 100W USB type C docking station data | ag9311maq is used for 100W USB type C to HDMI with PD fast charging +u3+sd/cf docking station scheme description
Generic configuration legend
Micro rabbit gets a field of API interface JSON