Skip to content

Commit c84a9c6

Browse files
committed
wip
1 parent 7b294fc commit c84a9c6

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ docs/site
1616
docs/build
1717
docs/var
1818
deps/build.jl
19-
Manifest.toml
19+
Manifest.toml
20+
node_modules
21+
docs_site

docs/crash/course/test_makie_plots.jl

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
using DimensionalData
2+
using DimensionalData: Metadata, NoMetadata, ForwardOrdered, ReverseOrdered, Unordered,
3+
Sampled, Categorical, NoLookup, Transformed,
4+
Regular, Irregular, Explicit, Points, Intervals, Start, Center, End
5+
6+
using GLMakie: GLMakie as Mke
7+
8+
A1intervals = rand(X(1.0:10.0; sampling=Intervals(Start())); name=:test)
9+
10+
Mke.plot(set(A1intervals, X=>Points()))
11+
Mke.plot(A1intervals)
12+
13+
A2intervals1 = rand(X(10:10:100; sampling=Intervals(Start())), Z(1:3))
14+
Mke.plot(A2intervals1)
15+
A2intervals2 = rand(X(10:10:100; sampling=Intervals(Start())), Z(1:3; sampling=Intervals(Start())))
16+
Mke.plot(A2intervals2)
17+
18+
A3intervals1 = rand(X(10:1:15; sampling=Intervals(Start())), Y(1:3), Dim{:C}(10:15))
19+
Mke.plot(A3intervals1; z=:C)
20+
# broken
21+
A3intervals2 = rand(X(10:1:15; sampling=Intervals(Start())), Y(1:3), Z(10:15; sampling=Intervals(Start())))
22+
Mke.plot(A3intervals2)
23+
A3intervals2a = rand(X(10:1:10; sampling=Intervals(Start())), Y(1:1; sampling=Intervals(Start())), Z(10:20))
24+
Mke.plot(A3intervals2a)
25+
26+
a = rand(2,2,2)

0 commit comments

Comments
 (0)