Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
ali ahmed
ali ahmed il 28 Ott 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 il 28 Ott 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 ?

Accedi per commentare.

Risposta accettata

ali ahmed
ali ahmed il 28 Ott 2017
as u can se in the attachment
  4 Commenti
Walter Roberson
Walter Roberson il 29 Ott 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.

Accedi per commentare.

Più risposte (1)

ali ahmed
ali ahmed il 28 Ott 2017
as u can see in the highlighted part

Community Treasure Hunt

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

Start Hunting!

Translated by