How to add a plot to the structure array for each element
13 views (last 30 days)
Hi have a struct array
Each element has a time series.
I would like to add a plot to each element of the array
Then when i view the data type in a grid format, i want to see the plot for each of the elements within the struct array
How can i do this?
I know how to create struct array,i already have that
I can create a plots from the data, i already have that,however,each plot is not connected to each array elements, that is what i would want
So smoething like array(i).Plot should have the plot object, and then in the grid when i view the object, i should be able to see the plot for each array element
Matt J on 26 Sep 2020
You can achieve what you want to use with subplot(), but I don't think it would be wise to give each time series its own axis. I think you should put several on one axis, like in this example: