当前位置:网站首页>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
边栏推荐
- Two methods for full screen adaptation of background pictures, background size: cover; Or (background size: 100% 100%;)
- Basic realization of line graph
- 2021-04-12 - new features lambda expression and function functional interface programming
- Complete model verification (test, demo) routine
- Measure the voltage with analog input (taking Arduino as an example, the range is about 1KV)
- Design method and application of ag9311maq and ag9311mcq in USB type-C docking station or converter
- How to write mark down on vscode
- 3. MNIST dataset classification
- A speed Limited large file transmission tool for every major network disk
- About how USRP sets the sampling frequency below the minimum sampling frequency reached by the hardware
猜你喜欢
Saving and reading of network model
y59.第三章 Kubernetes从入门到精通 -- 持续集成与部署(三二)
Ag7120 and ag7220 explain the driving scheme of HDMI signal extension amplifier | ag7120 and ag7220 design HDMI signal extension amplifier circuit reference
Arm bare metal
How to use education discounts to open Apple Music members for 5 yuan / month and realize member sharing
Probability distribution
4、策略学习
On the concept and application of filtering in radar signal processing
Four digit nixie tube display multi digit timing
2022 safety officer-c certificate examination summary and safety officer-c certificate reexamination examination
随机推荐
2021 Shanghai safety officer C certificate examination registration and analysis of Shanghai safety officer C certificate search
Frequency probability and Bayesian probability
Guojingxin center "APEC education +" Shanghai Jiaotong University Japan Cooperation Center x Fudan philosophy class "Zhe Yi" 2022 New Year greetings
Ag9310 same function alternative | cs5261 replaces ag9310type-c to HDMI single switch screen alternative | low BOM replaces ag9310 design
The combination of relay and led small night light realizes the control of small night light cycle on and off
Gnuradio operation error: error thread [thread per block [12]: < block OFDM_ cyclic_ prefixer(8)>]: Buffer too small
Ag7120 and ag7220 explain the driving scheme of HDMI signal extension amplifier | ag7120 and ag7220 design HDMI signal extension amplifier circuit reference
Vs code configuration latex environment nanny level configuration tutorial (dual system)
14. Draw network model structure
Redis集群
Recommend a document management tool mendely Reference Manager
Su embedded training - Day5
Measure the voltage with analog input (taking Arduino as an example, the range is about 1KV)
【深度学习】AI一键换天
Four digit nixie tube display multi digit timing
How to transfer Netease cloud music /qq music to Apple Music
Running OFDM in gnuradio_ RX error: gr:: Log: info: packet_ headerparser_ b0 - Detected an invalid packet at item ××
2022 free test questions of fusion welding and thermal cutting and summary of fusion welding and thermal cutting examination
133. Clone map
2022 operation certificate examination for main principals of hazardous chemical business units and main principals of hazardous chemical business units