linemenu

Adds a context menu to change line properties.

You are now following this Submission

LINEMENU adds a context menu to change line properties
LINEMENU(hline) creates a context menu for the line with handle hline
that allows line properties to be easily changed.
LINEMENU, without any input arguments, will create this context menu
for all lines that are found in the current figure.
This allows users to easily change line properties, and is especially
useful for compiled programs, as users do not have access to MATLAB's
property editor.

Example
----------
x = -pi:.1:pi;
y1 = sin(x);
y2 = cos(x);
plot(x,y1,x,y2)
linemenu

Cite As

Nathan Childress (2026). linemenu (https://uk.mathworks.com/matlabcentral/fileexchange/3901-linemenu), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0