Visualize a graph in matlab

I have a graph consisting of a set of edges with their corresponding start and end nodes. These were generated for a specific region of a city. How can I visualize this graph in matlab

Answers


Check out this function:

doc gplot

Example:

% Plot half of a "Bucky ball" carbon molecule, placing asterisks at each node:
k = 1:30;
[B,XY] = bucky;
gplot(B(k,k),XY(k,:),'-*')
axis square


Need Your Help

UIView transitionFromView not animating in container

ios animation uiview transition

I'm using UIView transitionFromView to flip between two views. I'm currently doing the following in a UIView subclass:

Relationship between JSP and Java EE

jsp java-ee

Is JSP part of the whole Java EE package? How are they related?