Effacer les filtres
Effacer les filtres

How to add more function inside the drawpolyline matlab function

3 vues (au cours des 30 derniers jours)
I am using drawpolyline matlab function where i can draw polyline manually for the requested axes.
after drawing the polyline , when i right click on the drawn polyline , i could see only 2-options available i.e add vertex and delete.
further i would like to add , few more options when i right click on the drawn polyline, Could anyone can help me to solve this issue ?

Réponse acceptée

SatyaPrakash Gupta
SatyaPrakash Gupta le 28 Avr 2020
I used UIMENU and hence now i am able to add more functions
topmenu = uimenu('Parent',c,'Label','LabelType');
m1 = uimenu('Parent',topmenu,'Label','Guardrail(motor…)','Callback',@LabelType);

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by