Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
ali ahmed
ali ahmed le 27 Oct 2017
Commenté : ali ahmed le 29 Oct 2017
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 commentaires
ali ahmed
ali ahmed le 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 le 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 ?

Connectez-vous pour commenter.

Réponse acceptée

ali ahmed
ali ahmed le 28 Oct 2017
as u can se in the attachment
  4 commentaires
Walter Roberson
Walter Roberson le 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.
ali ahmed
ali ahmed le 29 Oct 2017
thanks walter... :-)

Connectez-vous pour commenter.

Plus de réponses (1)

ali ahmed
ali ahmed le 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!

Translated by