-
Notifications
You must be signed in to change notification settings - Fork 7
/
line2.py
51 lines (34 loc) · 995 Bytes
/
line2.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import numpy as np
from mpl_plotter.two_d import line
def basic_line():
"""
Quite basic line
"""
line(show=True)
def medium_line():
"""
Slightly customized line
"""
line(show=True, pad_demo=True, spines_removed=None)
def custom_line():
"""
Heavily customized line
"""
line(norm=True, line_width=4,
title="Custom Line", title_font="Pump Triline", title_size=40, title_color="orange",
label_x="x", label_y="$\Psi$",
label_size_x=30, label_size_y=20,
label_pad_x=-0.05, label_pad_y=10,
label_rotation_y=0,
aspect=1,
pad_demo=True,
workspace_color="darkred",
grid=True, grid_color="grey",
tick_color="darkgrey", tick_label_decimals=4,
tick_number_x=12, tick_number_y=12,
tick_rotation_x=35,
color_bar=True, cb_tick_number=5, cb_pad=0.05,
show=True)
basic_line()
medium_line()
custom_line()