Skip to content

Commit a3d9b57

Browse files
committed
better hover labels in nyquistplot
1 parent 74d7e0d commit a3d9b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ControlSystemsBase/src/plotting.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ nyquistplot
431431
if lab !== nothing
432432
label --> lab
433433
end
434-
hover --> [hz ? Printf.@sprintf("f = %.3f", w/2π) : Printf.@sprintf("ω = %.3f", w) for w in w]
434+
hover --> [hz ? Printf.@sprintf("f = %.3g", w/2π) : Printf.@sprintf("ω = %.3g", w) for w in w]
435435
(redata, imdata)
436436
end
437437

0 commit comments

Comments
 (0)