Clear Filters
Clear Filters

i have the following graph and need to convert it in to plot type graph...

2 views (last 30 days)
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
ali ahmed
ali ahmed on 28 Oct 2017
Yup ,actually i had used quickersim to generate the graph in the first place ,but the glitch is that the matrix used to plot is of order of 21356×1 . So is there any way to use plot command at a particular location...???
Walter Roberson
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 ?

Sign in to comment.

Accepted Answer

ali ahmed
ali ahmed on 28 Oct 2017
as u can se in the attachment
  4 Comments
Walter Roberson
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.

Sign in to comment.

More Answers (1)

ali ahmed
ali ahmed on 28 Oct 2017
as u can see in the highlighted part

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!