fix inspector label
This commit is contained in:
parent
ace3bd5af7
commit
658c15cb80
1 changed files with 16 additions and 2 deletions
18
main.jl
18
main.jl
|
@ -105,7 +105,22 @@ heatmap!(
|
||||||
)
|
)
|
||||||
# translate!(fig2.scene, -400, 0, 400)
|
# translate!(fig2.scene, -400, 0, 400)
|
||||||
for coords in coords_traces
|
for coords in coords_traces
|
||||||
scatterlines!(
|
scatter!(
|
||||||
|
ax,
|
||||||
|
coords[:, 1],
|
||||||
|
coords[:, 3],
|
||||||
|
color = get(color_v, coords[:, 2], (hmin, hmax)),
|
||||||
|
markersize = 3,
|
||||||
|
label = "railway",
|
||||||
|
inspector_label = (plot, index, position) -> begin
|
||||||
|
"""
|
||||||
|
x: $(coords[index, 1])
|
||||||
|
y: $(coords[index, 2])
|
||||||
|
z: $(coords[index, 3])
|
||||||
|
"""
|
||||||
|
end,
|
||||||
|
)
|
||||||
|
lines!(
|
||||||
ax,
|
ax,
|
||||||
coords[:, 1],
|
coords[:, 1],
|
||||||
coords[:, 3],
|
coords[:, 3],
|
||||||
|
@ -115,7 +130,6 @@ for coords in coords_traces
|
||||||
# inspector_label = (plot, index, position) -> begin
|
# inspector_label = (plot, index, position) -> begin
|
||||||
# "($(coords[index, 1]), $(coords[index, 2]), $(coords[index, 3]))"
|
# "($(coords[index, 1]), $(coords[index, 2]), $(coords[index, 3]))"
|
||||||
# end,
|
# end,
|
||||||
inspector_label = (_, _, _) -> "nothing",
|
|
||||||
)
|
)
|
||||||
scatterlines!(
|
scatterlines!(
|
||||||
ax3,
|
ax3,
|
||||||
|
|
Loading…
Reference in a new issue