Content in this code:
* plot a line (plot function)
* plot a single point (plot function)
* modify line and marker styles (line specifications)
* fully label graph (xlabel, ylabel, and title functions)
* add a legend on a graph (legend function)
* add text on a graph (text function)
* display two graphs on one figure (subplot function)
This code is explained in the following YouTube Video:
Plotting Data: https://youtu.be/CrdGI63Yj4I
For more of my YouTube Videos, check out my MATLAB tutorial playlist: https://youtube.com/playlist?list=PLmB_c16LoAcWz_5qK1XpBlP0DiD6cgU-r
Also subscribe to my channel (Engineering with Dr. Kelsey Joy): https://www.youtube.com/channel/UCmZl7PfanvCILyiQ5R9rONA
引用格式
Dr. Kelsey Joy (2024). Plotting: Graphing four lines based on weather data (https://www.mathworks.com/matlabcentral/fileexchange/102880-plotting-graphing-four-lines-based-on-weather-data), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0 |