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.

Is it possible to plot two contour graphs together?

Please login with a confirmed email address before reporting spam

Hello, I would like to know if it is possible to plot in just one contour plot the response of two dependent variables, as in the figure below. In this case, we would have T1 and T2 representing the temperature profile in each part of the domain. How do I plot in comsol T1(r,t) and T2(r,t) on a single graph?

Original article: "Suleman, M., & Riaz, S. (2020). In silico study of hyperthermia treatment of liver cancer using core-shell CoFe2O4@ MnFe2O4 magnetic nanoparticles. Journal of Magnetism and Magnetic Materials, 498, 166143."



1 Reply Last Post Sep 6, 2022, 8:51 a.m. EDT
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago Sep 6, 2022, 8:51 a.m. EDT

Hello Rodrigo,

Since version 6.0, there is an easy way to generate such plots; see the section titled "Array of Plots" on the version 6.0 Release Highlights page.

With versions older than that, there is a trick that you can use; it is based on the use of Deformations nodes. You can find an example in this older thread where I show how to use that trick in 3D, though it can also be used in 2D.

Best,

Jeff

-------------------
Jeff Hiller
Hello Rodrigo, Since version 6.0, there is an easy way to generate such plots; see the section titled "Array of Plots" on the [version 6.0 Release Highlights page](https://www.comsol.com/release/6.0/postprocessing-and-visualization). With versions older than that, there is a trick that you can use; it is based on the use of Deformations nodes. You can find an example in [this older thread]( https://www.comsol.com/forum/thread/130451/plot-all-eigenmodes?last=2016-11-21T09:28:36Z) where I show how to use that trick in 3D, though it can also be used in 2D. Best, Jeff

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.