forked from disberd/TelecomUtils.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_notebook.jl
38 lines (31 loc) · 887 Bytes
/
test_notebook.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
### A Pluto.jl notebook ###
# v0.16.2
using Markdown
using InteractiveUtils
# ╔═╡ 122d494e-326b-11ec-0e29-551537ccbc53
begin
import Pkg
Pkg.activate(".")
end
# ╔═╡ 0350a012-0b7d-4f14-89e1-d01b860b2928
begin
using Revise
using PlotlyBase
using PlutoUtils
using TelecomUtils
end
# ╔═╡ 07fbb59d-cb6c-4066-878d-130ba1951ee1
p = generate_hex_lattice(1;M=10)
# ╔═╡ 3f56bf85-5d42-4d2e-8d68-b2999ac507f9
col = TelecomUtils.generate_colors(p)
# ╔═╡ 4cf7dfc7-b846-48b4-a902-7c7cb21ee6cd
scatter(p;marker = attr(
color = TelecomUtils.generate_colors(p,4),
colorscale = "Jet",
),mode = "markers") |> Plot
# ╔═╡ Cell order:
# ╠═122d494e-326b-11ec-0e29-551537ccbc53
# ╠═0350a012-0b7d-4f14-89e1-d01b860b2928
# ╠═07fbb59d-cb6c-4066-878d-130ba1951ee1
# ╠═3f56bf85-5d42-4d2e-8d68-b2999ac507f9
# ╠═4cf7dfc7-b846-48b4-a902-7c7cb21ee6cd