Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
86eea1ba
Commit
86eea1ba
authored
Jan 31, 2017
by
Lukas Aspöck
Browse files
- plotModel method now only plots in existing plot, if this plot is also a room model
parent
566c6cf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/VirtualAcoustics/Raven/itaRavenProject.m
View file @
86eea1ba
...
...
@@ -165,6 +165,7 @@ classdef itaRavenProject < handle
simulationDone
=
false
keepOutputFiles
plotModelHandle
=
[];
% [PrimarySources] %
sourceNameString
...
...
@@ -660,9 +661,17 @@ classdef itaRavenProject < handle
comp2axesMapping
=
[
3
1
2
];
end
if
nargin
<
2
tgtAxes
=
gca
;
if
(
ishandle
(
obj
.
plotModelHandle
))
tgtAxes
=
obj
.
plotModelHandle
;
else
figure
;
tgtAxes
=
gca
;
end
end
obj
.
plotModelHandle
=
tgtAxes
;
if
isempty
(
obj
.
model
)
if
iscell
(
obj
.
modelFileList
)
for
iRoom
=
1
:
numel
(
obj
.
modelFileList
)
...
...
@@ -4544,7 +4553,7 @@ classdef itaRavenProject < handle
hold
on
;
obj
.
plotModel
();
obj
.
plotModel
(
gca
);
set
(
gca
,
'CameraViewAngle'
,
10
);
end
...
...
@@ -4758,7 +4767,7 @@ classdef itaRavenProject < handle
caxis
([
-
60
max
(
max
(
sphereEnergy
))]);
colorbar
;
hold
on
;
obj
.
plotModel
();
obj
.
plotModel
(
gca
);
set
(
gca
,
'CameraViewAngle'
,
10
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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