How can I efficiently name several curves in the Plot Browser?

2 views (last 30 days)
I have several dozen curves or more that I am plotting. Essentially, I want the curves to be automatically labeled from one of the associated vector names. Specifically the x-axis vector name, so when I view or share the plot, the legend will have each curve labeled appropriately. Currently, I am using the Plot Browser window pane in the Plot Tools view to manually label each curve.

Answers (1)

Steven Lord
Steven Lord on 3 Dec 2015
Set the DisplayName property of each line.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!