Grab 20 lines and make a graph
Mostrar comentarios más antiguos
center_row_data = img(415:435, 1:755);
plot(center_row_data);
title('Central Horizontal Line');
xlabel('Pixel Position');
ylabel('Pixel Value')
But the picture presented looks like there are many strips. Can anyone tell me?

7 comentarios
Dyuman Joshi
el 18 de En. de 2024
Movida: Dyuman Joshi
el 18 de En. de 2024
"Can anyone tell me?"
I assume you wanted to ask why that happens.
The output corresponding to that is a plot containing one line for each column in Y, where the x-coordinates range from 1 to the number of rows in Y.
bozheng
el 18 de En. de 2024
Movida: Dyuman Joshi
el 18 de En. de 2024
Dyuman Joshi
el 18 de En. de 2024
Movida: Dyuman Joshi
el 18 de En. de 2024
What do you want to do?
bozheng
el 18 de En. de 2024
Movida: Dyuman Joshi
el 18 de En. de 2024
Dyuman Joshi
el 18 de En. de 2024
Movida: Dyuman Joshi
el 18 de En. de 2024
Yes, that would be helpful.
bozheng
el 18 de En. de 2024
Movida: Dyuman Joshi
el 18 de En. de 2024
Dyuman Joshi
el 18 de En. de 2024
Movida: Dyuman Joshi
el 18 de En. de 2024
Respuesta aceptada
Más respuestas (1)
Steven Lord
el 18 de En. de 2024
0 votos
I would suggest looking through the MATLAB Plot Gallery to determine if one of those thumbnail pictures look similar to the type of visualization you want to show. If they do, click the "Open and explore" link below the thumbnail to see an example Live Script in MATLAB Online that shows how to create that type of visualization. Use that as a model to visualize your data.
The example may not create the exact visualization you want, but it should help serve as a good starting point for your own code.
Categorías
Más información sobre Time Series Events 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!

