Last change
on this file since 38791 was 38791, checked in by jc550, 4 months ago |
add comments adding context to functions that require it
|
File size:
289 bytes
|
Line | |
---|
1 | # slight messing around with plotting library to test suitablility
|
---|
2 |
|
---|
3 | import matplotlib as mpl
|
---|
4 | import matplotlib.pyplot as plt
|
---|
5 | import numpy as np
|
---|
6 |
|
---|
7 | data = np.random.rand(308, 308)
|
---|
8 |
|
---|
9 | fig, ax = plt.subplots()
|
---|
10 | ax.imshow(data, cmap=plt.cm.summer, interpolation='nearest', aspect='auto')
|
---|
11 | plt.show() |
---|
Note:
See
TracBrowser
for help on using the repository browser.