Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
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 Kommentare
ali ahmed
ali ahmed am 28 Okt. 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 am 28 Okt. 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 ?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

ali ahmed
ali ahmed am 28 Okt. 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