how to hide line in gui

3 visualizzazioni (ultimi 30 giorni)
singh
singh il 28 Mag 2015
Risposto: Walter Roberson il 28 Mag 2015
i wish to hide line on 2d graph
plot([nodes(i,2) nodes(j,2)],[nodes(i,3) nodes(j,3)],'k.-')
i wish to hide this lines like below image but in below image i draw line with background color that time it is not produce good 2d graph because some time it overwrite the line on node no.so please help me to hide these lines because i wish to draw only red line between source node to destination node

Risposte (1)

Walter Roberson
Walter Roberson il 28 Mag 2015
Change your
plot([nodes(i,2) nodes(j,2)],[nodes(i,3) nodes(j,3)],'k.-')
to
plot([nodes(i,2) nodes(j,2)],[nodes(i,3) nodes(j,3)],'k.')

Categorie

Scopri di più su Images in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by