Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Hannah Middleton
anc
Commits
35baf36a
Commit
35baf36a
authored
Jul 17, 2020
by
Hannah Middleton
Browse files
plot fix
parent
b28b49f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/plottingScripts/powerCascade/2dPowerCascade.py
View file @
35baf36a
...
...
@@ -90,9 +90,9 @@ number = len(thetas)
startTime
=
1166401536
batchSize
=
64
*
10
fPlotLow
=
59.
0
fPlotHigh
=
6
1.0
batchSize
=
64
*
5
fPlotLow
=
59.
5
fPlotHigh
=
6
0.5
for
it
,
t
in
enumerate
(
thetas
):
...
...
@@ -111,16 +111,47 @@ for it, t in enumerate(thetas):
#ax.fill_between(xs,ys,-0.5,facecolor='w',edgecolor="None", transform=trans, zorder = zInd)
ax
.
set_xlim
(
fPlotLow
,
fPlotHigh
)
ax
.
set_xlabel
(
'Frequency (Hz)'
)
ax
.
grid
(
False
)
#ax.set_xlim(59.5,60.5)
#ax.set_yscale('log')
ax
.
set_ylim
(
-
3
,
noToPlot
+
25
)
ax
.
set_ylim
(
-
3
,
noToPlot
+
15
)
#ax.set_ylim(min(np.log10(ys)),max(np.log10(ys))*noToPlot)
#ax.set_ylim(0.0,1.5)
for
side
in
[
"top"
,
"right"
,
"left"
]:
ax
.
spines
[
side
].
set_visible
(
False
)
#
ax.set_yticks([])
ax
.
set_yticks
([])
plt
.
savefig
(
'/home/hannah.middleton/public_html/mainsPower/cascade/cascadeTest.pdf'
)
# not used
###########################################################################
exit
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment