Hot to plot maximum y value for group by each x
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have y axis = Alumn [data type double] , x axis = Sheet [data type datetime]
I want to plot grap maximum y value for group by each x
The information looks like this :
1 comentario
the cyclist
el 30 de Ag. de 2020
Can you upload a sample of the data, instead of an image of the data (which is impossible to use).
Respuestas (1)
Cris LaPierre
el 30 de Ag. de 2020
maxTbl = groupsummary(dataTbl,"Alumn","max","Sheet");
Then plot the summary data
plot(maxTbl.Alumn,maxTbl.max_Sheet)
Just a caution - this code is untested.
0 comentarios
Ver también
Categorías
Más información sobre Line Plots 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!