Plotting: Graphing four lines based on weather data

Plotting, Labeling graphs, Adding text on plots, Two plots in one figure, Line specifications, Modifying/formatting plots
10 Downloads
Updated Thu, 02 Dec 2021 19:02:09 +0000

View License

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:
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

Cite As

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. Retrieved .

MATLAB Release Compatibility
Created with R2021b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0