Commit b22757f3 authored by Tilman Steinweg's avatar Tilman Steinweg

little changes on matlab script slice2D

parent 93842ad8
...@@ -11,7 +11,7 @@ rec_file='../par/receiver/receiver_toy.dat'; ...@@ -11,7 +11,7 @@ rec_file='../par/receiver/receiver_toy.dat';
iteration=60; iteration=60;
nx=160; ny=186; nz=160; %ny:vertical nx=160; ny=184; nz=160; %ny:vertical
outx=1; outy=1; outz=1; outx=1; outy=1; outz=1;
dh=0.8; dh=0.8;
FW=10; FW=10;
...@@ -137,7 +137,8 @@ imagesc(Z,Y,model_truex); ...@@ -137,7 +137,8 @@ imagesc(Z,Y,model_truex);
line(x_line,y_line,'LineStyle','--','Color','k') line(x_line,y_line,'LineStyle','--','Color','k')
colb=colorbar; colb=colorbar;
coll=get(colb,'xlabel'); 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]) caxis([caxis_value_1 caxis_value_2])
set(gca,'ydir','normal'); set(gca,'ydir','normal');
%set(gca,'xdir','reverse'); %set(gca,'xdir','reverse');
...@@ -168,6 +169,7 @@ line(x_line,y_line,'LineStyle','--','Color','k') ...@@ -168,6 +169,7 @@ line(x_line,y_line,'LineStyle','--','Color','k')
colb=colorbar; colb=colorbar;
coll=get(colb,'xlabel'); 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]) caxis([caxis_value_1 caxis_value_2])
set(gca,'ydir','normal'); set(gca,'ydir','normal');
%set(gca,'xdir','reverse'); %set(gca,'xdir','reverse');
...@@ -198,6 +200,7 @@ line(x_line,z_line,'LineStyle','--','Color','k') ...@@ -198,6 +200,7 @@ line(x_line,z_line,'LineStyle','--','Color','k')
colb=colorbar; colb=colorbar;
coll=get(colb,'xlabel'); 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]) caxis([caxis_value_1 caxis_value_2])
set(gca,'ydir','normal'); set(gca,'ydir','normal');
xlabel('x in m','FontSize',fontsize) xlabel('x in m','FontSize',fontsize)
...@@ -228,6 +231,7 @@ line(x_line,z_line,'LineStyle','--','Color','k') ...@@ -228,6 +231,7 @@ line(x_line,z_line,'LineStyle','--','Color','k')
colb=colorbar; colb=colorbar;
coll=get(colb,'xlabel'); 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]) caxis([caxis_value_1 caxis_value_2])
set(gca,'ydir','normal'); set(gca,'ydir','normal');
xlabel('x in m','FontSize',fontsize) xlabel('x in m','FontSize',fontsize)
...@@ -257,6 +261,7 @@ line(x_line,y_line,'LineStyle','--','Color','k') ...@@ -257,6 +261,7 @@ line(x_line,y_line,'LineStyle','--','Color','k')
colb=colorbar; colb=colorbar;
coll=get(colb,'xlabel'); 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]) caxis([caxis_value_1 caxis_value_2])
set(gca,'ydir','normal'); set(gca,'ydir','normal');
%set(gca,'xdir','reverse'); %set(gca,'xdir','reverse');
...@@ -286,6 +291,7 @@ imagesc(X,Y,modelz); ...@@ -286,6 +291,7 @@ imagesc(X,Y,modelz);
line(x_line,y_line,'LineStyle','--','Color','k') line(x_line,y_line,'LineStyle','--','Color','k')
colb=colorbar; colb=colorbar;
coll=get(colb,'xlabel'); coll=get(colb,'xlabel');
colormap('jet');
set(coll,'String',[parameter ' in m/s'],'FontSize',fontsize); set(coll,'String',[parameter ' in m/s'],'FontSize',fontsize);
caxis([caxis_value_1 caxis_value_2]) caxis([caxis_value_1 caxis_value_2])
set(gca,'ydir','normal'); set(gca,'ydir','normal');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment