Iris coloring histogram hold on
Mostrar comentarios más antiguos
Hi,
How can I perform such task concering iris dataset?
Now plot histograms of all variables coloring them by species. Use hold on to overlay plots for different datasets on one figure. Which variables separate species well?
Thanks
4 comentarios
Cris LaPierre
el 10 de En. de 2023
What have you tried?
Zuzanna
el 10 de En. de 2023
Cris LaPierre
el 10 de En. de 2023
Editada: Cris LaPierre
el 10 de En. de 2023
Walter gives a simple example below. If you want a quick introduction to plotting in MATLAB, consider going through Ch 9 of MATLAB Onramp. It doesn't cover histograms specifically, but does show you how to call plotting functions, including adding multiple plots to the same axes. It should take about 10-15 mins to complete.
If you find that helpful, you might consider going through some of the other chapters as well. Is a nice, free way to learn the fundamentals of MATLAB.
Zuzanna
el 10 de En. de 2023
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Annotations 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!
