LoginSignup
1
2

More than 3 years have passed since last update.

matplotlib.pyplot.scatterの使い方

Last updated at Posted at 2020-02-17

matplotlib.pyplot.scatterとは?

matplotlob.pyplot.scatterは散布図を描画するためのもの。
matplotlib.pyplot.scatter(x,y,c="色",marker="マーカーの種類",cmap="カラーマップ")。

使用例

import numpy as np
import matplotlib.pyplot as plt
x=np.random.rand(10)
y=np.random.rand(10)
plt.scatter(x,y,c="Blue",marker="o",cmap="None")
1
2
0

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
2