How to change the shape of node

8 views (last 30 days)
Vartika Agarwal
Vartika Agarwal on 16 May 2021
Edited: Jan on 17 May 2021
I am learning wireless sensor network basic. I want to change the shape of nodes . Here nodes are in circle shape but I want nodes is in car shape. Please help me. How I can do that?
  3 Comments
Jan
Jan on 16 May 2021
Edited: Jan on 17 May 2021
Thanks. Now it is clear, how the coordinates are defined. The next step is to explain, what exactly a "car shape" is.

Sign in to comment.

Answers (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov on 17 May 2021
Here is a kind of helpful code you can start working with to substitute the plot markers with images w.r.t your definitions:
https://www.mathworks.com/matlabcentral/answers/481183-insert-image-as-a-marker-in-plot
  3 Comments
Vartika Agarwal
Vartika Agarwal on 17 May 2021
Means i want to place node in car shape instead of *. This code show only 1 image in the whole graph . I want to place multiple car shape node in graph.

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by