Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GPIAG-Software
IFOS3D
Commits
b22757f3
Commit
b22757f3
authored
Aug 08, 2016
by
Tilman Steinweg
Browse files
little changes on matlab script slice2D
parent
93842ad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
mfiles/slice2D_toy_model.m
View file @
b22757f3
...
...
@@ -11,7 +11,7 @@ rec_file='../par/receiver/receiver_toy.dat';
iteration
=
60
;
nx
=
160
;
ny
=
18
6
;
nz
=
160
;
%ny:vertical
nx
=
160
;
ny
=
18
4
;
nz
=
160
;
%ny:vertical
outx
=
1
;
outy
=
1
;
outz
=
1
;
dh
=
0.8
;
FW
=
10
;
...
...
@@ -137,7 +137,8 @@ imagesc(Z,Y,model_truex);
line
(
x_line
,
y_line
,
'LineStyle'
,
'--'
,
'Color'
,
'k'
)
colb
=
colorbar
;
coll
=
get
(
colb
,
'xlabel'
);
set
(
coll
,
'String'
,[
parameter
' in m/s'
],
'FontSize'
,
fontsize
);
set
(
coll
,
'String'
,[
parameter
' in m/s'
],
'FontSize'
,
fontsize
);
colormap
(
'jet'
);
caxis
([
caxis_value_1
caxis_value_2
])
set
(
gca
,
'ydir'
,
'normal'
);
%set(gca,'xdir','reverse');
...
...
@@ -168,6 +169,7 @@ line(x_line,y_line,'LineStyle','--','Color','k')
colb
=
colorbar
;
coll
=
get
(
colb
,
'xlabel'
);
set
(
coll
,
'String'
,[
parameter
' in m/s'
],
'FontSize'
,
fontsize
);
colormap
(
'jet'
);
caxis
([
caxis_value_1
caxis_value_2
])
set
(
gca
,
'ydir'
,
'normal'
);
%set(gca,'xdir','reverse');
...
...
@@ -198,6 +200,7 @@ line(x_line,z_line,'LineStyle','--','Color','k')
colb
=
colorbar
;
coll
=
get
(
colb
,
'xlabel'
);
set
(
coll
,
'String'
,[
parameter
' in m/s'
],
'FontSize'
,
fontsize
);
colormap
(
'jet'
);
caxis
([
caxis_value_1
caxis_value_2
])
set
(
gca
,
'ydir'
,
'normal'
);
xlabel
(
'x in m'
,
'FontSize'
,
fontsize
)
...
...
@@ -228,6 +231,7 @@ line(x_line,z_line,'LineStyle','--','Color','k')
colb
=
colorbar
;
coll
=
get
(
colb
,
'xlabel'
);
set
(
coll
,
'String'
,[
parameter
' in m/s'
],
'FontSize'
,
fontsize
);
colormap
(
'jet'
);
caxis
([
caxis_value_1
caxis_value_2
])
set
(
gca
,
'ydir'
,
'normal'
);
xlabel
(
'x in m'
,
'FontSize'
,
fontsize
)
...
...
@@ -257,6 +261,7 @@ line(x_line,y_line,'LineStyle','--','Color','k')
colb
=
colorbar
;
coll
=
get
(
colb
,
'xlabel'
);
set
(
coll
,
'String'
,[
parameter
' in m/s'
],
'FontSize'
,
fontsize
);
colormap
(
'jet'
);
caxis
([
caxis_value_1
caxis_value_2
])
set
(
gca
,
'ydir'
,
'normal'
);
%set(gca,'xdir','reverse');
...
...
@@ -286,6 +291,7 @@ imagesc(X,Y,modelz);
line
(
x_line
,
y_line
,
'LineStyle'
,
'--'
,
'Color'
,
'k'
)
colb
=
colorbar
;
coll
=
get
(
colb
,
'xlabel'
);
colormap
(
'jet'
);
set
(
coll
,
'String'
,[
parameter
' in m/s'
],
'FontSize'
,
fontsize
);
caxis
([
caxis_value_1
caxis_value_2
])
set
(
gca
,
'ydir'
,
'normal'
);
...
...
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