Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
a6b936f5
Commit
a6b936f5
authored
Nov 04, 2011
by
Taddes Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improc ass4: Added titles to and removed axes from 'jet' subplots.
parent
5f676a7c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
improc/ass4/gauss.py
improc/ass4/gauss.py
+13
-8
No files found.
improc/ass4/gauss.py
View file @
a6b936f5
...
...
@@ -2,7 +2,7 @@
from
numpy
import
zeros
,
arange
,
meshgrid
,
array
,
matrix
from
math
import
ceil
,
exp
,
pi
,
sqrt
from
matplotlib.pyplot
import
imread
,
imshow
,
plot
,
xlabel
,
ylabel
,
show
,
\
subplot
,
xlim
,
savefig
subplot
,
xlim
,
savefig
,
axis
from
mpl_toolkits.mplot3d
import
Axes3D
from
scipy.ndimage
import
convolve
,
convolve1d
from
time
import
time
...
...
@@ -164,19 +164,24 @@ if __name__ == '__main__':
exit_with_usage
()
s
=
float
(
argv
[
2
])
subplot
(
331
)
subplot
(
331
,
title
=
'Fs'
)
imshow
(
gD
(
F
,
s
,
0
,
0
),
cmap
=
'gray'
)
subplot
(
334
)
axis
(
'off'
)
subplot
(
334
,
title
=
'Fx'
)
imshow
(
gD
(
F
,
s
,
1
,
0
),
cmap
=
'gray'
)
subplot
(
335
)
axis
(
'off'
)
subplot
(
335
,
title
=
'Fy'
)
imshow
(
gD
(
F
,
s
,
0
,
1
),
cmap
=
'gray'
)
subplot
(
337
)
axis
(
'off'
)
subplot
(
337
,
title
=
'Fxx'
)
imshow
(
gD
(
F
,
s
,
2
,
0
),
cmap
=
'gray'
)
subplot
(
338
)
axis
(
'off'
)
subplot
(
338
,
title
=
'Fxy'
)
imshow
(
gD
(
F
,
s
,
1
,
1
),
cmap
=
'gray'
)
subplot
(
339
)
axis
(
'off'
)
subplot
(
339
,
title
=
'Fyy'
)
imshow
(
gD
(
F
,
s
,
0
,
2
),
cmap
=
'gray'
)
axis
(
'off'
)
else
:
exit_with_usage
()
...
...
Write
Preview
Markdown
is supported
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