본문 바로가기
파이썬/사이트추천

Matplotlib : 공식 사이트 및 양식 설정 링크모음

by 한국수달보호협회장 2022. 6. 28.

그래프 예시

https://matplotlib.org/stable/gallery/index

 

Examples — Matplotlib 3.5.2 documentation

This page contains example plots. Click on any image to see the full image and source code.

matplotlib.org

 

 

색상

https://matplotlib.org/stable/gallery/color/named_colors.html

 

List of named colors — Matplotlib 3.5.2 documentation

Note Click here to download the full example code

matplotlib.org

 

컬러맵colormap 

*cmap이라는 매개변수를 사용

https://matplotlib.org/stable/tutorials/colors/colormaps.html

 

Choosing Colormaps in Matplotlib — Matplotlib 3.5.2 documentation

Colormaps are often split into several categories based on their function (see, e.g., [Moreland]): First, we'll show the range of each colormap. Note that some seem to change more "quickly" than others. Sequential2 Many of the \(L^*\) values from the Seque

matplotlib.org

 

 

 

marker

https://matplotlib.org/stable/api/markers_api.html

 

matplotlib.markers — Matplotlib 3.5.2 documentation

matplotlib.markers Functions to handle markers; used by the marker functionality of plot, scatter, and errorbar. All possible markers are defined here: marker symbol description "." point "," pixel "o" circle "v" triangle_down "^" triangle_up "<" triangle_

matplotlib.org

 

선linestyle

https://matplotlib.org/stable/gallery/lines_bars_and_markers/linestyles.html

 

Linestyles — Matplotlib 3.5.2 documentation

Linestyles Simple linestyles can be defined using the strings "solid", "dotted", "dashed" or "dashdot". More refined control can be achieved by providing a dash tuple (offset, (on_off_seq)). For example, (0, (3, 10, 1, 15)) means (3pt line, 10pt space, 1pt

matplotlib.org

 

plt.style.use('fivethirtyeight') 처럼 사용하면 됨

 

Style 모음1(2랑 종류는 같음)

https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html

 

Style sheets reference — Matplotlib 3.5.2 documentation

Style sheets reference This script demonstrates the different available style sheets on a common set of example plots: scatter plot, image, bar graph, patches, line plot and histogram, import numpy as np import matplotlib.pyplot as plt import matplotlib.co

matplotlib.org

Style 모음2

https://tonysyu.github.io/raw_content/matplotlib-style-gallery/gallery.html

 

Matplotlib Style Gallery

Press Esc to close Use arrows to switch plot

tonysyu.github.io