# scientific-visualization-book **Repository Path**: timeashfly/scientific-visualization-book ## Basic Information - **Project Name**: scientific-visualization-book - **Description**: No description available - **Primary Language**: Unknown - **License**: BSD-2-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-11-30 - **Last Updated**: 2024-07-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Scientific Visualization: Python + Matplotlib **Nicolas P. Rougier, Bordeaux, November 2021.** Front cover The Python scientific visualisation landscape is huge. It is composed of a myriad of tools, ranging from the most versatile and widely used down to the more specialised and confidential. Some of these tools are community based while others are developed by companies. Some are made specifically for the web, others are for the desktop only, some deal with 3D and large data, while others target flawless 2D rendering. In this landscape, Matplotlib has a very special place. It is a versatile and powerful library that allows you to design very high quality figures, suitable for scientific publishing. It also offers a simple and intuitive interface as well as an object oriented architecture that allows you to tweak anything within a figure. Finally, it can be used as a regular graphic library in order to design non‐scientific figures. This book is organized into four parts. The first part considers the fundamental principles of the Matplotlib library. This includes reviewing the different parts that constitute a figure, the different coordinate systems, the available scales and projections, and we’ll also introduce a few concepts related to typography and colors. The second part is dedicated to the actual design of a figure. After introducing some simple rules for generating better figures, we’ll then go on to explain the Matplotlib defaults and styling system before diving on into figure layout organization. We’ll then explore the different types of plot available and see how a figure can be ornamented with different elements. The third part is dedicated to more advanced concepts, namely 3D figures, optimization & animation. The fourth and final part is a collection of showcases. > Python 在科学可视化领域的作用是巨大的。 > > 它有无数的工具可用,从最通用和最广泛使用的工具,到更专业和机密的工具。 > > 其中一些工具是基于社区的,而另一些则是由公司开发的。有些是专门为 Web 制作的,有些仅适用于桌面,有些处理 3D 和大数据,而有些则针对完美的 2D 渲染。 > > 在这其中,Matplotlib 有着非常特别的地位。它是一个多功能且功能强大的库,可让您设计非常高质量的图形,适用于科学出版。它还提供了一个简单直观的界面以及一个面向对象的架构,允许您调整图形中的任何内容。最后,它可以用作常规图形库以设计非科学图形。 > > 本书分为四个部分。 > > 第一部分考虑了 Matplotlib 库的基本原理。 > > 这包括回顾构成图形的不同部分、不同的坐标系、可用的比例和投影,我们还将介绍一些与排版和颜色相关的概念。 > > 第二部分致力于图形的实际设计。 > > 介绍了一些生成更好图形的简单规则之后,我们将继续解释 Matplotlib 默认值和样式系统,然后再深入研究图形布局组织。然后我们将探索可用的不同类型的情节,看看如何用不同的元素装饰一个人物。 > > 第三部分致力于更高级的概念,即 3D 图形、优化和动画。 > > 第四部分也是最后一部分是展示集合。 ### Read the book You can read the book **[PDF](https://hal.inria.fr/hal-03427242/document)** (95Mo, preferred site) that is open access and hosted on [HAL](https://hal.archives-ouvertes.fr/) which is a French open archive for academics. Up to date version is also available on GitHub [here](pdf/book.pdf). Sources for the book (including code examples) are available at [github.com/rougier/scientific-visualization-book](https://github.com/rougier/scientific-visualization-book). ### Buy the book If you want to buy the book, you can order a **printed edition** at [amazon.com](https://www.amazon.com/dp/2957990105) for 49$. If you want to support or sponsor my future work on Python (and [Emacs](https://github.com/rougier/nano-emacs)), you can use [paypal](https://www.paypal.com/paypalme/NicolasPRougier/10), [github](https://github.com/sponsors/rougier) or [liberapay](https://en.liberapay.com/rougier/). If you don't want to spend money, you can simply [nominate me](https://stars.github.com/nominate/) for the GitHub stars program if you find my work useful for the community. ### See also * [Python & OpenGL for Scientific Visualization](https://www.labri.fr/perso/nrougier/python-opengl/) * [From Python to Numpy](https://www.labri.fr/perso/nrougier/from-python-to-numpy/) (Scientific Python Volume I) * [100 Numpy exercices](https://github.com/rougier/numpy-100) * [Matplotlib cheat sheets](https://github.com/matplotlib/cheatsheets) ### Book gallery