Histogram Only Plotting 1 Point
Mostrar comentarios más antiguos

Hello,
I have a 1x100 table.
If I print 'error', it does the math, by taking the field 'constant' from each row of the table and subtracts by 94, and then prints all 100 results.
This is working correctly, but the plotting is not.
When I go to create the histogram of the 100 results, it only prints 1. Any idea why?
Thank you!
Respuesta aceptada
Más respuestas (1)
Binbin Qi
el 18 de Ag. de 2020
I think you can use bar, not histogram
bar(error)
Categorías
Más información sobre Histograms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!