Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 27, 2010, 11:07 a.m. EDT
You can load comsol files with script. What you can do is to load both files in the script and assign 2 different variables to the extracted fem structure. Then use matlab functions to extract the data (posteval,... ) and plot both in a subplot.
You can load comsol files with script. What you can do is to load both files in the script and assign 2 different variables to the extracted fem structure. Then use matlab functions to extract the data (posteval,... ) and plot both in a subplot.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 27, 2010, 11:35 a.m. EDT
Dear Danial Tz
thank you for your replay. So you are suggeting me to use MATLAB? is there an option with out using matlab, doing it the whole thing on comsol script?
Dear Danial Tz
thank you for your replay. So you are suggeting me to use MATLAB? is there an option with out using matlab, doing it the whole thing on comsol script?
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 27, 2010, 11:45 a.m. EDT
With Comsol 3.5a you don't have such an option. With Comsol 4 you can get more or less something like you want. I can not say much as I have not used Comsol 4 to the fullest.
With Comsol 3.5a you don't have such an option. With Comsol 4 you can get more or less something like you want. I can not say much as I have not used Comsol 4 to the fullest.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 27, 2010, 11:46 a.m. EDT
Thax a lot again.
Thax a lot again.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 28, 2010, 8:44 a.m. EDT
Well I just plotted one graph from a model. Then opened another model, keeping the "figure 1" window open. Then on the general page of the plot parameters selected Plot in: figure 1 (instead of new figure) and checked the box: "keep current plot" and I got the other graph on the same figure.
Any help?
Well I just plotted one graph from a model. Then opened another model, keeping the "figure 1" window open. Then on the general page of the plot parameters selected Plot in: figure 1 (instead of new figure) and checked the box: "keep current plot" and I got the other graph on the same figure.
Any help?
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 28, 2010, 9:04 a.m. EDT
Dear Jaana Kujala
thank you for the suggestion. But when I open a new model( the second model) I don't have the option in figure 1. when a new model open it will assume as is figure 1 from the other model doesn't exist. May be the version of comsol am using, version 3.5a. Anything ?
Dear Jaana Kujala
thank you for the suggestion. But when I open a new model( the second model) I don't have the option in figure 1. when a new model open it will assume as is figure 1 from the other model doesn't exist. May be the version of comsol am using, version 3.5a. Anything ?
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 28, 2010, 9:18 a.m. EDT
I have the same version (3.5a) and I did have the option to plot in "figure 1". Did you open the second model to another window or to the same one from which you plotted the first graph? For me it worked only when using the same one.
I have the same version (3.5a) and I did have the option to plot in "figure 1". Did you open the second model to another window or to the same one from which you plotted the first graph? For me it worked only when using the same one.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
May 28, 2010, 10:36 a.m. EDT
Dear Jaana Kujala
thank you very much. I didn't get the trick in your first message. Now it is working for me.
thank you very much again.
Dear Jaana Kujala
thank you very much. I didn't get the trick in your first message. Now it is working for me.
thank you very much again.
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Sep 14, 2012, 12:06 p.m. EDT
Hi,
Do you know how to do the same trick in v4.3? I want to combine some line graphs from two different models.
thanks
Hi,
Do you know how to do the same trick in v4.3? I want to combine some line graphs from two different models.
thanks
Please login with a confirmed email address before reporting spam
Posted:
1 decade ago
Jan 24, 2014, 11:32 a.m. EST
Thanks. I just combined 6 plots successfully.
Thanks. I just combined 6 plots successfully.
Please login with a confirmed email address before reporting spam
Posted:
10 years ago
Jan 27, 2015, 4:37 p.m. EST
Hi
I am trying to plot two graphs from models in one window? any one who has experience in this please help.
Arshad
Hi
I am trying to plot two graphs from models in one window? any one who has experience in this please help.
Arshad
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
Jun 22, 2016, 10:31 a.m. EDT
Dear Jaana,
Thank you very much for your support. I opened both plots in the same window but can't put them together as I can't find the "keep current plot" checkbox.
Please note that I am using comsol 5.2
when I choose plot in "Plot 1" it just goes to plot 1's tab
is there anything you can help me with?
Thank you in advance!
Dear Jaana,
Thank you very much for your support. I opened both plots in the same window but can't put them together as I can't find the "keep current plot" checkbox.
Please note that I am using comsol 5.2
when I choose plot in "Plot 1" it just goes to plot 1's tab
is there anything you can help me with?
Thank you in advance!
Magnus Ringh
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
Jun 23, 2016, 8:43 a.m. EDT
Hi,
In COMSOL 5.2 (and the current version, 5.2a, as well as earlier versions), there are more powerful concepts: model components, data sets, and plot groups. To display two or more plots in the same graphics window, add those plots as subnodes to a Plot Group node under Results. Each plot in a plot group can refer to a separate data set, and you can have several Solution data sets active, each pointing to a separate Component with its own geometry and physics. That way, you can combine and overlay plots in a flexible way.
Best regards,
Magnus Ringh, COMSOL
Hi,
In COMSOL 5.2 (and the current version, 5.2a, as well as earlier versions), there are more powerful concepts: model components, data sets, and plot groups. To display two or more plots in the same graphics window, add those plots as subnodes to a Plot Group node under Results. Each plot in a plot group can refer to a separate data set, and you can have several Solution data sets active, each pointing to a separate Component with its own geometry and physics. That way, you can combine and overlay plots in a flexible way.
Best regards,
Magnus Ringh, COMSOL