当前位置:网站首页>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

边栏推荐
- 2021-04-12 - new features lambda expression and function functional interface programming
- Design method and application of ag9311maq and ag9311mcq in USB type-C docking station or converter
- Frequency probability and Bayesian probability
- swift获取url参数
- 4. Strategic Learning
- Common effects of line chart
- Getting started STM32 -- how to learn stm32
- Vscode reading Notepad Chinese display garbled code
- Gnuradio operation error: error thread [thread per block [12]: < block OFDM_ cyclic_ prefixer(8)>]: Buffer too small
- npm 内部拆分模块
猜你喜欢

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

Y59. Chapter III kubernetes from entry to proficiency - continuous integration and deployment (III, II)

The communication clock (electronic time-frequency or electronic time-frequency auxiliary device) writes something casually

2022 examination for safety production management personnel of hazardous chemical production units and new version of examination questions for safety production management personnel of hazardous chem

Guojingxin center "APEC education +" Shanghai Jiaotong University Japan Cooperation Center x Fudan philosophy class "Zhe Yi" 2022 New Year greetings

Gnuradio transmits video and displays it in real time using VLC

130. Zones environnantes

General configuration title

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

Share a latex online editor | with latex common templates
随机推荐
npm 内部拆分模块
130. Zones environnantes
Authorization code of Axure rp9
Vs code configuration latex environment nanny level configuration tutorial (dual system)
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
Frrouting BGP protocol learning
Basic implementation of pie chart
Application of state mode in JSF source code
The whole life cycle of commodity design can be included in the scope of industrial Internet
Use "recombined netlist" to automatically activate eco "APR netlist"
3. MNIST dataset classification
2022 operation certificate examination for main principals of hazardous chemical business units and main principals of hazardous chemical business units
Running OFDM in gnuradio_ RX error: gr:: Log: info: packet_ headerparser_ b0 - Detected an invalid packet at item ××
A speed Limited large file transmission tool for every major network disk
4. Cross entropy
The solution of frame dropping problem in gnuradio OFDM operation
Know how to get the traffic password
[loss function] entropy / relative entropy / cross entropy
Multi purpose signal modulation generation system based on environmental optical signal detection and user-defined signal rules
Apt get error