Skip to content

Commit

Permalink
Update docs to show control of axis units
Browse files Browse the repository at this point in the history
  • Loading branch information
fhagemann committed Jul 5, 2023
1 parent b73dcaa commit a4680d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/tutorials/complete_simulation_chain_IVC_lit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ estimate_depletion_voltage(sim)

calculate_electric_field!(sim, n_points_in_φ = 72)

plot(sim.electric_field, full_det = true, φ = 0.0, size = (700, 700))
plot(sim.electric_field, full_det = true, φ = 0.0, size = (700, 700),
xunit = u"mm", yunit = u"mm", zunit = u"V/mm", clims = (0,800).*u"V/mm")
plot_electric_fieldlines!(sim, full_det = true, φ = 0.0)
#jl savefig("tutorial_electric_field.pdf") # hide
#md savefig("tutorial_electric_field.pdf") # hide
Expand Down

0 comments on commit a4680d6

Please sign in to comment.