RUVIDEO
Поделитесь видео 🙏

MATLAB: Plot Data - Four lines, Two plots, and Legends+

How to plot in MATLAB - the basics along with all the necessary code to create a properly labeled.

This is part of a series of videos that cover plotting in MATLAB. If you want me to cover any other plotting functions/features, be sure to comment and I will add them to the series!

In this video I show how to:
* 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)
* set viewable area - control x-axis and y-axis limits (xlim and ylim functions)

Here is the code that I wrote in the video along with additional notes:
https://www.mathworks.com/matlabcentral/fileexchange/102880-plotting-graphing-four-lines-based-on-weather-data

How to Create Programs in MATLAB tutorial playlist: https://youtube.com/playlist?list=PLmB_c16LoAcWz_5qK1XpBlP0DiD6cgU-r

#MATLAB #plot #learntocode #engineeringstudent #engineeringstudents #engineering #engineer #coding #code #programming #program

Chapters:
00:00 Introduction - Looking at data
00:24 Plotting a single line
00:44 Plotting two lines
01:08 Plotting two lines with "hold on"
01:26 Plotting all data (four lines)
01:36 Modify line color and style/type (third input argument in plot)
02:05 Label graph (xlabel, ylabel, and title)
02:30 Plot area visible (xlim and ylim)
03:11 Adding a legend
03:36 Summarizing current graph
03:46 Emphasizing points on plot with a marker
04:21 Line specifications (doc linespec)
04:43 Marker size and line width
05:06 Text on plot
05:43 Repeating code to display two versions of plot
05:53 Subplot function (2 graphs on 1 figure)
06:23 Subplot function (input arguments explained)
06:57 Summary

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «MATLAB: Plot Data - Four lines, Two plots, and Legends+», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.