VOOZH about

URL: https://qiita.com/iwama_takumi/items/231dd03593c79495b866

⇱ PyPlot(3) 散布図のProjection色々 #Python - Qiita


👁 Image
1

Go to list of users who liked

1

Share on X(Twitter)

Share on Facebook

Add to Hatena Bookmark

More than 5 years have passed since last update.

@iwama_takumi(巧 岩間)

PyPlot(3) 散布図のProjection色々

1
Posted at

散布図のProjection色々

Projectionパラメータを色々試してみます。

基本

import numpy as np
import matplotlib.pyplot as plt

np.random.seed(20190805)

N = 150
r = 2 * np.random.rand(N)
theta = 2 * np.pi * np.random.rand(N)
area = 200 * r**2
colors = theta

fig = plt.figure()
ax = fig.add_subplot(111)
c = ax.scatter(theta, r, c=colors, s=area, cmap='hsv', alpha=0.75)

👁 projection_01.png

aitoff

ax = fig.add_subplot(111, projection='aitoff')

👁 projection_02.png

lambert

ax = fig.add_subplot(111, projection='lambert')

👁 projection_04.png

mollweide

ax = fig.add_subplot(111, projection='mollweide')

👁 projection_05.png

polar

ax = fig.add_subplot(111, projection='polar')

👁 projection_06.png

1

Go to list of users who liked

1
0

Go to list of comments

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1

Go to list of users who liked

1