Different plotting options #37
Replies: 1 comment 3 replies
-
Hi! Thank you for your input! Currently the monitor cannot do it, but I would be a nice feature to add. First of all, in autolab the convention we choose for arrays is (1000, 2) instead of (2, 1000) which, in your case, results in a 2D image instead of a plot line of the second axis with respect to the first one, plot(x[:, 0], x[:, 1]). Another solution that could be useful with ND arrays is to use the plotter instead, which gives more control over the different axes to plot. What you can do right now is to create two different variables in your driver returning only the 1000 points array to be monitored separately. I will add the axis selection feature in the todo list. |
Beta Was this translation helpful? Give feedback.
-
I want to monitor a variable x, which is a 2D numpy array with size (2,1000). I hope to plot it as two 1D plots consists of 1000 points, something like plot(time,x[0]); plot(time,x[1]), instead of monitoring as a 2D image. Is there a quick way I can do this? It would be best if we can extend to 2D arrays with similar sizes :)
Thanks! I also want to say that autolab is a great project.
Beta Was this translation helpful? Give feedback.
All reactions