i have the following graph and need to convert it in to plot type graph...
1 view (last 30 days)
Show older comments
actually i have the following type of graph (see attachment) and need to convert it to a plot type of graph (see attachment too) between temperature and elevation.is there any way to extract the information at a particular radial location. through any matlab feature
3 Comments
Walter Roberson
on 28 Oct 2017
Unfortunately the SSL certificates for quickersim.com are invalid so I cannot check out the documentation for it.
There are some things that can be done about plotting at particular locations, but it is not clear how the 21356×1 corresponds to particular locations? Is it like a 281 x 76 array of data ?
Accepted Answer
ali ahmed
on 28 Oct 2017
4 Comments
Walter Roberson
on 29 Oct 2017
scatteredInterpolant() probably.
x = p(1,:);
y = p(2,:);
F = scatteredInterpolant(x(:), y(:), T(:));
minx = min(x); maxx = max(x);
miny = min(y); maxy = max(y);
[X, Y] = ndgrid( linspace(minx, maxx, 200), linspace(miny, maxy, 200) );
pT = F(X, Y);
surf(X, Y, pT, 'edgecolor', 'none')
I am not sure what the "radial" is intended to correspond to, or whether "elevation" is intended to be y, or is intended to be T, or something else.
More Answers (1)
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!