Tiny Tutorial 3: Intro to Plotting in Python with Matplotlib
Matplotlib is an open source plotting library for the Python programming language. Matplotlib is both versatile and powerful - with it you can create everything from simple quick-and-dirty exploratory plots to very complex, publication-quality figures.
The online documentation (https://matplotlib.org) includes an extensive gallery of sample plots. This is a great starting point for your own plots - scroll through and find something similar to what you need, copy and paste the code into your editor, and - voila! - you can re-create that plot on your machine, and then modify it to suit your specific needs.
This is a really nice interactive way to work: go look for something that looks like what you want to do and then run it immediately in Canopy (https://www.enthought.com/product/canopy/) or another editor and play with it.
Now that you have the plot you can make some changes on the fly before you save it as an image to include in your document. For example, you can add grid lines by using the shortcut (g) or press it again to remove them. You can zoom into the plot by clicking and dragging to zoom in on the section you want to look at more closely, press (h) or escape to go back to the zoomed out view.
You can also add titles quickly in the figure options. Add the title and you can also change the scale within it. Click apply and there you go. You can make more simple adjustments on the fly and when you are ready to save press (s).
Now save your image where you want in the file format that you want. You can choose from a range of options, from jpg and png to pdf, even eps and svg.
That’s a quick look at what matplotlib can do and how easy it can be to get started, but that's just the tip of the iceberg.
Be sure to subscribe to the Enthought YouTube channel to keep up with the videos in the Tiny Tutorial series, to learn more about what you can do with this powerful, open source visualization tool.
**Learn more about Enthought's Python course offerings here:
https://goo.gl/rk1ouD
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Tiny Tutorial 3: Intro to Plotting in Python with Matplotlib», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.