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.

how to plot electrical potential profile along x and y axis?

Please login with a confirmed email address before reporting spam

How can we plot our results profile be it voltage or current against x or y axis in the geometry?

Thanks,
Rabia

1 Reply Last Post 16 lug 2011, 02:48 GMT-4
Ruud Borger COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 16 lug 2011, 02:48 GMT-4
Dear Rabia,

You can do this in the Results part of your model. Make a 1D Plot group by right-clicking Results. Then add a "Line graph" by right-clicking the new 1D Plot group. Select the boundary and quantity that you are interested in, and there you go.

If you want to plot along a random line in your geometry, then go to Results, and right-click Data sets => "2D Cut Line" (or 3D if you're in 3D). Now enter the coordinates to make the line, press "plot" at the top to see if the line is where you want it.

Then, left-click the 1D Plot group, and in "data set", select "Line plot 1".

You can find more info in the manual.

Best regards,

Ruud
Dear Rabia, You can do this in the Results part of your model. Make a 1D Plot group by right-clicking Results. Then add a "Line graph" by right-clicking the new 1D Plot group. Select the boundary and quantity that you are interested in, and there you go. If you want to plot along a random line in your geometry, then go to Results, and right-click Data sets => "2D Cut Line" (or 3D if you're in 3D). Now enter the coordinates to make the line, press "plot" at the top to see if the line is where you want it. Then, left-click the 1D Plot group, and in "data set", select "Line plot 1". You can find more info in the manual. Best regards, Ruud

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.