Changing the colours in the legend in R2018a
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Varun Wadia
el 18 de En. de 2021
Comentada: Adam Danz
el 27 de En. de 2021
Hello!
I am plotting rasters and average firing rates for cells. To plot the average firing rates with the standard deviation I am using a function that plots the standard deviation using 'fill' with an alpha of 0.1, then plots the mean over it in a darker color (see plot). The legend seems to pick up the lighter color, making it very difficult to interpret when the number of classes gets beyond 2-3.
Is there a way to ensure that the legend picks up on the darker colors, perhaps manually?
I tried to assign the legend to the lower subplots but then it takes the first 12 dots (only 2 colors), which is even less helpful.
4 comentarios
Adam Danz
el 27 de En. de 2021
Interesting! I wonder if subjects are equality familiar with the two.
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Legend en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!