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
04adf14f
Commit
04adf14f
authored
Oct 23, 2011
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improc ass4: Merged Fx and Fy plots.
parent
7cb2a9ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
improc/ass4/samples.py
improc/ass4/samples.py
+3
-5
No files found.
improc/ass4/samples.py
View file @
04adf14f
...
...
@@ -27,11 +27,9 @@ FFy = -B * W ** 2 * cos(W * YY)
# Plot F, Fx and Fy sample data next to each other
# Show FFx and FFy as a quiver plot over F
extent
=
(
-
100
,
100
)
*
2
subplot
(
221
)
subplot
(
121
,
title
=
'First derivatives'
)
imshow
(
Fy
*
Fx
,
cmap
=
'gray'
,
extent
=
extent
)
subplot
(
122
,
title
=
'Second derivatives'
)
imshow
(
F
,
cmap
=
'gray'
,
extent
=
extent
)
quiver
(
yy
,
xx
,
FFy
,
-
FFx
,
color
=
'red'
)
subplot
(
222
)
imshow
(
Fx
,
cmap
=
'gray'
,
extent
=
extent
)
subplot
(
223
)
imshow
(
Fy
,
cmap
=
'gray'
,
extent
=
extent
)
show
()
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