Skip to content
Snippets Groups Projects
Commit 5f1d1db7 authored by Marvin Kastner's avatar Marvin Kastner
Browse files

Fuege Farbverlauf aus VL hinzu

parent c793b4ac
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
```
%% Cell type:code id: tags:
``` python
df = pd.DataFrame(np.matrix("0 0 1 1 2 2 2 4; 1 1 2 1 2 3 4 4; 1 2 2 2 3 4 4 6; "
+ "2 3 3 4 4 4 5 6; 2 4 4 4 5 5 6 7; 3 4 5 6 7 7 8 8; 4 5 7 5 4 5 9 9; 6 6 7 4 3 6 9 10"))
df
```
%% Cell type:code id: tags:
``` python
plt.imshow(df.values, cmap="gray")
plt.show()
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment