image - How to plot two variables with occurances -
i stuck problem.i have 2 variables,velocity , resistivity , occurrences of these two. 3184 1.75 16
3244 1.78 12
4200 2.08 10 .... .. ..
i have tried contour requires 2,2 matrix.
using post previous poster - david, recommend. assume matrix in variable called data
:
x=linspace(min(data(:,1)),max(data(:,1)),150); y=linspace(min(data(:,2)),max(data(:,2)),150); [x,y]=meshgrid(x,y); f=triscatteredinterp(data(:,1),data(:,2),data(:,3)-1); contourf(x,y,f(x,y),100,'linecolor','none')
this should give desire.
Comments
Post a Comment