how can I plot struct

I have a struct that I want to convert to graph is there any way to plot struct?
thank you

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 4 月 29 日

0 投票

Some structs with fairly specific fields can be plotted by special plotting routines, but there is no general routine to plot struct. If you could say more about the field names of the struct and the way you want it to be plotted, we might be able to find a routine.

3 件のコメント

Meshaiel M
Meshaiel M 2016 年 4 月 29 日
I want to calculate the distance between two locations. for that I want to convert the .shp files to a graph. my Idea is to use m = shaperead('cityroadnetwork.shp') 6x1 struct array with fields:
Geometry
X
Y
after that, I want to convert the (m) to graph
Walter Roberson
Walter Roberson 2016 年 4 月 30 日
So really this is just another way of phrasing your other question http://www.mathworks.com/matlabcentral/answers/281762-how-can-i-convert-shapefiles-to-graph ?
Meshaiel M
Meshaiel M 2016 年 4 月 30 日
yes can you help me?

この質問は閉じられています。

タグ

質問済み:

2016 年 4 月 29 日

閉鎖済み:

2016 年 5 月 1 日

Community Treasure Hunt

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

Start Hunting!

Translated by