Plotting a graph for each group/category in a table

4 visualizaciones (últimos 30 días)
Kat D
Kat D el 6 de Oct. de 2020
Comentada: KSSV el 7 de Oct. de 2020
I have results similar to the data attached, and I am looking to get individual plots of the average measurement (MA) against day (Day) for each set of tests (Test_ID) and then fit a curve to the graph produced. I am able to do this individually by calling the specific Test_ID, but would like to do this for all test sets at once (producing a different figure for each one). I thought a for loop might work, but the Test_ID isn't purely numeric, and the Day totals for each test (in the sample they're all 10) in my actual data are not always going to be identical.
nice and new to using MATLAB, so I've found the tables feature super helpful as a way to think about my data, but now a little out of my depth.

Respuesta aceptada

KSSV
KSSV el 6 de Oct. de 2020
Read about gscatter.
  4 comentarios
Kat D
Kat D el 7 de Oct. de 2020
Thank you, that helped immensely
KSSV
KSSV el 7 de Oct. de 2020
Thanks is accepting/ voting the answer.. :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by