Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
IENT
ient.nb
Compare Revisions
9e49e834a0193e41d36cb645485044ba1928428b...0e50f13a97ece684661be60288bb08a4d0153907
Commits (1)
- added default fig width and figsize in ient_plots
· 0e50f13a
Christian Rohlfing
authored
Jan 30, 2020
0e50f13a
Hide whitespace changes
Inline
Side-by-side
ient_plots.py
View file @
0e50f13a
...
...
@@ -107,6 +107,11 @@ def ient_update_ylim(ax, y, dy, ymax=5):
ax
.
set_ylim
([
np
.
max
([
np
.
min
(
y
),
-
ymax
])
-
dy
,
np
.
min
([
np
.
max
(
y
),
ymax
])
+
dy
])
# Default figure sizes
ient_fig_width
=
10
ient_fig_aspect
=
16
/
9
ient_landscape
=
{
'figsize'
:
(
ient_fig_width
,
ient_fig_width
/
ient_fig_aspect
)}
# Styles
ient_style_poles
=
{
'color'
:
'rwth'
,
'marker'
:
'x'
,
'mew'
:
2
,
'ms'
:
5.5
,
'ls'
:
'None'
}
ient_style_zeros
=
{
'color'
:
'rwth'
,
'marker'
:
'o'
,
'mew'
:
2
,
'ms'
:
5.5
,
'mfc'
:
'None'
,
'ls'
:
'None'
}
...
...