How to plot all curves according to their XY coordinates?
Show older comments
Hi,
In the figure attached below, each VT curve have XY cordinates. I want to plot these curves according to the XY coordinate position. How I can write my figure code. Suppose the X nd Y coordinates of first line (left side) are ''XY location X = 458158.62, Y = 6526223.5''. Similarly all the other curves have XY location values. How I can incorporate XY positions in such a way that these plots are according to respective coordinates.

9 Comments
KSSV
on 14 Aug 2021
As you have (x,y) coordinates in hand, striaght away you can use plot.
It's not at all clear to me what you would expect the resulting plot to look like...you have a series of traces of something already with a set of 2 variables to produce the above. If each trace is the recording of whatever these variables are versus som other set of coordinates/variables, best I can see would be maybe(?) a surface of one of these as the z coordinate vs the x,y.
I dunno, can't visualize what we're trying to do here from the limited information, sorry...as per usual, attaching the data as a .mat file plus in this case, perhaps a sketch of the desired result or an example of such a plot from similar data from another source would help...
Nisar Ahmed
on 16 Aug 2021
KSSV
on 16 Aug 2021
The give file has a single (X,Y) data. And all these points are same.
Nisar Ahmed
on 16 Aug 2021
Adam Danz
on 16 Aug 2021
What we also need is the line(s) of code you used to generate the figure.
Nisar Ahmed
on 27 Aug 2021
Adam Danz
on 27 Aug 2021
Sorry, but I really don't know what the question is. If you want to plot imagesc(d, TWTi, vp), what's preventing you from doing so? And how does that relate to the line plot in your question?
Accepted Answer
More Answers (0)
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!
