Skip to content
Discussion options

You must be logged in to vote

Hi @pasc1377 ,

To do this, you can create a line where to plot the field solution and then create a report on that line. You'll have two options, you either use the expressions available such as Mag_B, or you can use the fields calculator to extract the value you want to extract - for instance Bx. It'd look something like:
`

Create Polyline to extract local flux density values

cutline = m3d.modeler.create_polyline([["0mm", "-aMy", "0mm"], ["0mm", "lCy", "0mm"]], name="Polyline1")

# ## Plot the Magnitude of the B-field along a line
m3d.post.create_report(
    expressions=[r"Mag_B"],
    plot_name=r"Mag_B",
    plot_type=r"Rectangular Plot",
    context=cutline.name,
    report_category="F…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jvela018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants