Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

show several 2D plot groups as subplots together

Please login with a confirmed email address before reporting spam

Is there such a feature as the title such that when f6/f7 to flip time steps, all the subplots can be shown simultaneously for the same time step? It's like plot arrays, but plot arrays can only exist within the same 2D plot not across different 2D plots.


3 Replies Last Post 02.06.2022, 23:53 GMT-4

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 01.06.2022, 05:14 GMT-4
Updated: 2 years ago 01.06.2022, 05:19 GMT-4

Hi Carl,

You can have mutiple 2D plots within the same 2D plot group. In order to display them in an array, you can use the "Translation" sub-node for the individual 2D plots to move them within the common plot window so that they all display and step through with a common time step.

The time can be stepped through with the controls at the top of the Plot Group settings pane.

Mark

I have added an animation and an image to illustrate. This particular model is stepping through a rotation of a permanent magnet, the 3 plots sow the Bx, By and Bz components over a surface, but the same strategy could be applied to a time-dependant study.

Hi Carl, You can have mutiple 2D plots within the same 2D plot group. In order to display them in an array, you can use the "Translation" sub-node for the individual 2D plots to move them within the common plot window so that they all display and step through with a common time step. The time can be stepped through with the controls at the top of the Plot Group settings pane. Mark I have added an animation and an image to illustrate. This particular model is stepping through a rotation of a permanent magnet, the 3 plots sow the Bx, By and Bz components over a surface, but the same strategy could be applied to a time-dependant study.


Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 01.06.2022, 07:46 GMT-4

An alternative to using Translation subnodes is to use the settings in the Plot Array section in 2D and 3D plot groups.

An alternative to using Translation subnodes is to use the settings in the Plot Array section in 2D and 3D plot groups.

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 02.06.2022, 23:53 GMT-4

Hi Mark, Gunnar, thank you so much!

Hi Mark, Gunnar, thank you so much!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.