Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Adjust x-axis in 2d cut-line plot

Please login with a confirmed email address before reporting spam

Dear Comsol users
I'm evaluating the electric potential of a circle area using 2d rotation symmetric electrostatics. I use a 2d cut-line plot to plot the potential over the circle diameter. In the cut-line plot, the x-axis is labeled "Arc length" and goes from 0 to d, where d is the diameter.
While I can guess that this most likely corresponds to the radial coordinate, it nevertheless would be useful to have the zero of the dimension in the middle of the plot (instead of at the left end) and have the axis go from -R to +R, such that it corresponds more intuitively to the circular symmetry of the problem.
Can this somehow be adjusted?

Thanks for hints.

1 Reply Last Post Jul 30, 2012, 5:59 p.m. EDT

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jul 30, 2012, 5:59 p.m. EDT
you can use sqrt(x^2+y^2) for you x-axis value. Then it will go from -R to R
you can use sqrt(x^2+y^2) for you x-axis value. Then it will go from -R to R

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.