From: Shashishekar on 19 Jul 2010 09:02 I have to plot the sound velocity profile. Now the code works good with X-axis carrying Sound Speed and Y axis- Depth. I have plotted them in 1st quadrant, My problem is plotting them in 4th quadrant. z=data(:,2); epsilon = 0.00737; z_z = (2*(z - 1300))/1300; C = 1500.0*(1.0 + epsilon * (z_z -1 + exp( -z_z))); figure(1) get(gca) set(gca,'XAxisLocation','top') set(gca,'YAxisLocation', 'left') plot(z,C) title('munk profile'); something like this figure http://www.flickr.com/photos/rshkiel/4808679360/ please send me the code if possible.
From: us on 19 Jul 2010 09:10 "Shashishekar " <betafish(a)in.com> wrote in message <i21icc$l07$1(a)fred.mathworks.com>... > I have to plot the sound velocity profile. Now the code works good with X-axis carrying Sound Speed and Y axis- Depth. I have plotted them in 1st quadrant, My problem is plotting them in 4th quadrant. > > z=data(:,2); > epsilon = 0.00737; > z_z = (2*(z - 1300))/1300; > C = 1500.0*(1.0 + epsilon * (z_z -1 + exp( -z_z))); > > > figure(1) > get(gca) > set(gca,'XAxisLocation','top') > set(gca,'YAxisLocation', 'left') > plot(z,C) > title('munk profile'); > > something like this figure > http://www.flickr.com/photos/rshkiel/4808679360/ > > > please send me the code if possible. CSSMers don't have your DATA... us
From: Shashishekar on 19 Jul 2010 09:40 The Data is as below [500 1000 1500 2000 2500 3000 3500 4000 4500 5000] ' A column Vector with depth ranging from 500 - 5000 ms
From: Shashishekar on 19 Jul 2010 09:43 The Data is as below [500 1000 1500 2000 2500 3000 3500 4000 4500 5000] ' A column Vector with depth ranging from 500 - 5000 ms
|
Pages: 1 Prev: MATLAB 7.1 works on Win 7? Next: approximate hessian after ktrlink |