Plotting seperate figure in for loop
Mostrar comentarios más antiguos
I have matlab script which gives me a vector( name as PSa) of 3991x44. I do have another vector (name as PSa_avg) of 3991x1 (it's average of PSa). Now, I have vector T of 1x3991. Now, I want to have a for loop for PSa so that I can plot each column of PSa with T and then in same plot I would like to plot PSa_avg with T and so on for all 44 columns in 44 figure using for loop. Let me know your suggestions. Thank you.
2 comentarios
Chad Greene
el 23 de Feb. de 2017
There's some conflicting information in your question. You say something about wanting separate figures, but you also mention "in same plot". Can you be more clear? Can you upload example data? Also, you mention loops several times--are loops required, and if so, why?
sam moor
el 23 de Feb. de 2017
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Graphics Objects 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!