Question

How to plot a best fit curve to my data points?

Hi, I have attached a data (inverted_qp.mat Inv_qpAVO freq;) and a plot between fre and Inv_qpAVO is shown below in red color. ...

2 years ago | 2 answers | 0

Question

How to add a verteical pad obove and below the curve and graph style and color displays?

Hello, I have two questions and the data is attached to the question: Q1) Lest hand side code is for the figure on right hand ...

2 years ago | 2 answers | 0

Question

How to implement a for loop on figure plotting?

Hi, The size of f is 1*500, while the size of Q is 115 * 500. I want to plot Q at few selected f values say with the iinterval ...

2 years ago | 1 answer | 0

Question

Have implemented for loop corectly in my code?

Hi, I want to put a for loop in my code: can you please confirm if I have done it correctly? Here is my code: f_min = 1; ...

2 years ago | 1 answer | 0

Question

How to add the rest of parameters (in) loop?

Hi everyone, I have copied here my code and data as well (attached). The data comprises on 5 parameters (vp0 vs0 rho0 qp0 qs0...

2 years ago | 0 answers | 0

Answered

How to plot a color shade instead of graph curves?

Hei @Image Analyst here are two data sets I have prepared. You can use any of them to create figure like (FIG 2). These datasets...

How to plot a color shade instead of graph curves?

Hei @Image Analyst here are two data sets I have prepared. You can use any of them to create figure like (FIG 2). These datasets...

2 years ago | 0

Question

How to plot a color shade instead of graph curves?

Hi, I have say a lot of vertical curves overlapping each other as shown in te figure below: FIG 1, I want to plot them like c...

2 years ago | 2 answers | 0

Question

How to solve this error index in position 1 exceeds array bounds?

Hi, How I can correct this error? Index in position 1 exceeds array bounds (must not exceed 128). Error in Create_Obs_dataL...

2 years ago | 1 answer | 0

Question

How to color a small squared or half squared zone of the plot?

Hi, everyone, here it is graph between P vs t, as shown below and the data is also attached here. I want shade a say light blue ...

2 years ago | 1 answer | 0

Question

How to shade a graph (full and some part)?

Hi, In this figure, say a graph is plotted plot(a,b). First, how can I shade full graph in gray color (either left or right sid...

2 years ago | 1 answer | 0

Question

How move elements of a matrix from lower to higher values with limit?

Hellow everyone, I need help to solve this problem here. Suppose this cuve is plotted between D (y axis) and S (x axis). The ...

3 years ago | 1 answer | 0

Question

How to perform calc. on the selected part of curve and then reassemble it with rest part of curve in MATLAB?

Hello everyone, I would be thankful if someone can help me to guide me here. Here is the attached plot between VP and Depth. I ...

3 years ago | 1 answer | 1

Question

How i can fix this issue in MATLAB?

Hi, If I use this command (Phie(isnan(Phie)) = 0.22). It assign every NaN equal to 0.22. Suppose I want assign a range of value...

3 years ago | 1 answer | 0

Question

How to make a detaset with uniform interval.

Hi, I have a vector with dimensions say t with dimensions 1*553. However, the interval between t values is not constant. like...

3 years ago | 1 answer | 0

Question

How to take the difference of two figures haveing (plots) of same dimentions?

Hi, Thes are two figures with same vertical and horizontal dimensions. Hoa I can take the difference of these two figures. If...

3 years ago | 1 answer | 0

Question

How to copy the upper part (blue) and connect it with brown curve?

Hi, I want to generate two graphs having upper portion same but different lower portion as in the figure. How I can shift/conne...

3 years ago | 1 answer | 0

Question

How to interpolate attached data with the interval of 0.1524?

Hi, I have attached a data set (depth vs pressure). Depth starts from 1917.1254 and ends 1967.5698 m with nonuniform interval...

3 years ago | 1 answer | 0

Question

How to add some fluctuation in the flat line?

Hi, In the upper part of attached/copied figure, the encircled area, the graph has values equal to one (straight/flate line). S...

3 years ago | 1 answer | 0

Question

How to remove this error?

My code is giving following error. How can I fix it? Index in position 1 exceeds array bounds (must not exceed 2048). Error ...

3 years ago | 1 answer | 0

Question

Plz guide, if I have made this loop correct?

Hi, I have made the loop like given below, in loof f is changing itratively. Plz confirm if I have made it correctly? fr = 3...

3 years ago | 1 answer | 0

Question

How make this curve bit smooth or how to reduce some spikes?

Hi, I want to make this curve bit smoth by minimizing some spikes or I want remove some high frequency content from the curve. ...

3 years ago | 2 answers | 0

Question

How to plot Normal probability density function?

Hi I am plotting probability density function by using this command: mx = mean(RMS_vp); sx = std(RMS_vp); norm_vp = normpdf(R...

3 years ago | 1 answer | 0

Question

How to plot an overlay curve on the figure attached here.

Hello, The code for the attached/copied figure is figure, p = pcolor(b,a,c); p.EdgeColor = 'none'; axis ij; ylim([500 2500])...

3 years ago | 1 answer | 0

Question

How to subtract corresponding elemets of corresponding columns of two matrices?

Hi, I have two matrices, say a = [P1 P2 P3], while size of each (P1, P2, P3) is i.e size(P1) = 100 1, etc. similarly other m...

3 years ago | 1 answer | 0

Question

How to plot all curves according to their XY coordinates?

Hi, In the figure attached below, each VT curve have XY cordinates. I want to plot these curves according to the XY coordinate ...

3 years ago | 1 answer | 0

Question

How to plot surf or imagesc for my data?

Hi, This is my figure code, it comprises on 38 VP vs TWT plots as: h = plot(VP1,TWT1,VP2+500,TWT2,VP3+1000,TWT3,VP4+1500,TWT4,...

3 years ago | 1 answer | 0

Question

How to shade/color overlapped area in the graph?

Hi, I have plotted two graphs and both have different x and y axis as: xlabels{1} = 'DEN (gm/cm3)'; xlabels{2} = 'NPHI(.frac...

3 years ago | 2 answers | 1

Question

How can I plot my figures like attached plots?

Hi, I want plot two graphs on same plot but with different x axis limits. Just given in the figure (a) attached to this questio...

3 years ago | 1 answer | 0

Question

How to fix this error (SIGMA must be a symmetric positive semi-definite matrix)?

Hi, This error appears in my code: while the size of SIGMA (if it is sigma_m) is 6005 6005, means it is laready symmetric. E...

3 years ago | 0 answers | 0

Question

How to extract data from an array?

Hi, Suppose the length of t is 1922 (size is 1922 1) and I want extract from (700:1900), then how I can do it? similarly a...

3 years ago | 1 answer | 0