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.

Multiple 2D plots

Penelope Moreno Gonzalez

Please login with a confirmed email address before reporting spam

Hello,

I am currently doing a lab report and I am meant to plot something like the figure I attached. I dont know how to plot more than 1 together or how to set a limit from 55degC to 80degC.

Kind regards.



1 Reply Last Post 2021/04/20 22:46 JST
Magnus Ringh COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago 2021/04/20 22:46 JST

Hi Penelope,

You can do it in this way:

  1. Create multiple sets of the plots used to create one of the plots (surface plus contour and arrow plots perhaps).
  2. For each such set except the first one, add Deformation subnodes with a suitable "deformation" in the y direction (and a scale of 1) so that the plots line up vertically.
  3. For the extra sets, inherit the color, data range, and other settings under Inherit Style from the corresponding plot in the first step.
  4. If desired use a manual color range in the "master plot" to get the desired values for the color legend (minimum and maximum temperature).

Best regards,

Magnus Ringh

Hi Penelope, You can do it in this way: 1. Create multiple sets of the plots used to create one of the plots (surface plus contour and arrow plots perhaps). 2. For each such set except the first one, add Deformation subnodes with a suitable "deformation" in the y direction (and a scale of 1) so that the plots line up vertically. 3. For the extra sets, inherit the color, data range, and other settings under Inherit Style from the corresponding plot in the first step. 4. If desired use a manual color range in the "master plot" to get the desired values for the color legend (minimum and maximum temperature). Best regards, Magnus Ringh

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.