I did it like this, it works perfect.
l1 = legend(.... get legend handle
linesInPlot = findobj(l1, 'type', 'line'); ...
Answered 3 years ago
I want to change position of markers within legend. How to retrieve a marker object one by one in legend and change their positi...
Asked 3 years ago
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries