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.

Plot of table does not follow the sequence of the data

Please login with a confirmed email address before reporting spam

Hi, I am new to COMSOL and I am trying to plot a table of probes data. However, the plot does not follow the sequence of the data and gives me wired plot (See the attachement). How can I fix it?



1 Reply Last Post Jan 21, 2022, 10:51 a.m. EST
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 3 years ago Jan 21, 2022, 10:51 a.m. EST

You are plotting complex-valued data. That means that the real part is used. If the real part is negative, it cannot be shown on a logarithmic scale. That can be a reason for strange plots.

Maybe using abs(expr) is better?

-------------------
Henrik Sönnerlind
COMSOL
You are plotting complex-valued data. That means that the real part is used. If the real part is negative, it cannot be shown on a logarithmic scale. That can be a reason for strange plots. Maybe using abs(expr) is better?

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.