gname for labelling lines in a plot
Ältere Kommentare anzeigen
I want to use gname() to identify the lines of a plot with multiple lines.
I am trying to do it like this:
timeseries = rand(100,3); plot(timeseries); gname({'a','b','c'});
which doesn't work.
If I invert the matrix I can use gname() for labelling, however the plot is obscured:
timeseries = rand(100,3); plot(timeseries'); gname({'a','b','c'})
Would be nice if that could work somehow, I would like to plot hundreds of timeseries in one plot, but the colour labelling doesnt really help to identify them.
Akzeptierte Antwort
Weitere Antworten (1)
Kategorien
Mehr zu Statistical Visualization finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!