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.

Interpolation plot does not automatically refresh (plotgroup)

Please login with a confirmed email address before reporting spam

Hello everyone,

i want to visualize a interpolation function (int1) as a plot. In the beginning there is no problem with loading the data by a file (x-Range: for eg. 500-1200K) and then creating a plot. The plot created then in a new Plotgroup (pg1).

Now, i change the data in the interpolation function (int1) with another data-file. (x-Range: now 300-1600K) If i hit plot, it visualize the right plot in the graphics window. But if I click the node pg1 (Plotgroup), then it didn't refresh my results-plot.

I put some pics in the attach to show you some examples. The pics named "plot" are the plots inside the interpolation function. The pics named "plot_group" are the plots inside the plotgroup. The test.txt -Files are the data which i import into the interpolation function.

Plot 1 and Plot1_group hits perfect. But Plot2 and 3 with Plot2_group and plot3_group does not show the whole plot. I think there is a problem with the automatic adjustment of the x-range. The y-range adapts automatically.

I'm new in COMSOL and want to understand this problem. Also i want to visualize it in an Application. Can someone explain why this happen? And what can i do to fix it?

I would like to thank you very much and appreciate it. Stefan



1 Reply Last Post 4 nov 2020, 07:10 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 4 nov 2020, 07:10 GMT-5

To solve this problem, you need to write a method which dedicates the min and max values of your table inside the interpolation function. This method changes the min and max ranges in datasets and plots of your interpolation function.

To solve this problem, you need to write a method which dedicates the min and max values of your table inside the interpolation function. This method changes the min and max ranges in datasets and plots of your interpolation function.

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.