Compare commits
2 Commits
55562889eb
...
a54f71a848
Author | SHA1 | Date | |
---|---|---|---|
a54f71a848 | |||
8ece98121d |
@ -48,8 +48,6 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"A = np.random.randint(-100, 100, size=(4, 7));\n",
|
|
||||||
"\n",
|
|
||||||
"X = ['a', 'b', 'c', 'd', 'e'];\n",
|
"X = ['a', 'b', 'c', 'd', 'e'];\n",
|
||||||
"Y = [2, 3, 5, 7, 11, 13, 17];\n",
|
"Y = [2, 3, 5, 7, 11, 13, 17];\n",
|
||||||
"Z = ['α', 'β', 'γ', 'δ'];\n",
|
"Z = ['α', 'β', 'γ', 'δ'];\n",
|
||||||
@ -68,8 +66,6 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"A = np.random.randint(-100, 100, size=(4, 7));\n",
|
|
||||||
"\n",
|
|
||||||
"X = randomset_alphabet(N=3);\n",
|
"X = randomset_alphabet(N=3);\n",
|
||||||
"Y = randomset_integers(N=5);\n",
|
"Y = randomset_integers(N=5);\n",
|
||||||
"Z = randomset_greek(N=7);\n",
|
"Z = randomset_greek(N=7);\n",
|
||||||
|
@ -30,7 +30,8 @@ T2 = TypeVar('T2');
|
|||||||
|
|
||||||
SCALE = (1., 4.);
|
SCALE = (1., 4.);
|
||||||
OFFSET = (3., 0.);
|
OFFSET = (3., 0.);
|
||||||
MARGIN = 0.1;
|
HMARGIN = 0.1;
|
||||||
|
VMARGIN = 0.2;
|
||||||
N_RESOLUTION = 100;
|
N_RESOLUTION = 100;
|
||||||
ANNOTATE_OFFSET = (0, 10);
|
ANNOTATE_OFFSET = (0, 10);
|
||||||
FONTSIZE_PTS = 10;
|
FONTSIZE_PTS = 10;
|
||||||
@ -84,9 +85,10 @@ class Functions:
|
|||||||
'horizontalalignment': 'center',
|
'horizontalalignment': 'center',
|
||||||
'color': 'forestgreen',
|
'color': 'forestgreen',
|
||||||
});
|
});
|
||||||
|
axs.set_facecolor((0.9,0.9,0.9))
|
||||||
mplot.xlabel('');
|
mplot.xlabel('');
|
||||||
mplot.ylabel('');
|
mplot.ylabel('');
|
||||||
mplot.margins(x=MARGIN, y=MARGIN);
|
mplot.margins(x=HMARGIN, y=VMARGIN);
|
||||||
|
|
||||||
origin = np.asarray((0., 0.));
|
origin = np.asarray((0., 0.));
|
||||||
offset = np.asarray(OFFSET);
|
offset = np.asarray(OFFSET);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user