-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path154.py
More file actions
24 lines (20 loc) · 777 Bytes
/
154.py
File metadata and controls
24 lines (20 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- coding: utf-8 -*-
"""
Created on Sun Jun 12 11:05:21 2022
@author: Ashish Gupta
"""
import matplotlib.pyplot as plt
data = [[10,10,10,10,10,10,10,10,10, 5,10,10,10],
[10,10,10,10,10,10,10,10,9, 6, 5,10,10],
[10,10,10,10,10,10,10, 9,9, 9, 6, 5,10],
[10,10,10,10,10,10, 9, 9,1, 9, 9, 6, 5],
[10,10,10,10,10, 9, 9, 9,9, 9, 9, 6, 5],
[10,10,10,10, 9, 9, 9, 9,1, 9, 9, 6, 5],
[10,10,10, 9, 9, 9, 9, 9,9, 9, 6, 5, 5],
[10,10, 9, 9, 9, 9, 1, 9,9, 9, 6, 5, 5],
[10,9, 1, 9, 1, 9, 9, 9,9, 6, 5, 5,10],
[5,6, 9, 9, 9, 9, 9, 9,9, 6, 5, 10,10],
[10,5, 6, 6, 6, 6, 6, 6, 6, 5,10, 10,10],
[10,10,5, 5, 5, 5, 5, 5, 5, 10,10, 10,10]]
plt.imshow(data, cmap="nipy_spectral")
plt.show()