Skip to content

Instantly share code, notes, and snippets.

@sairus7
sairus7 / exam.jl
Last active September 7, 2021 16:34 — forked from robenaro/exam.txt
Exam
"""
======================================================================
1. Система типов: приведение к типам,
конкретные и абстрактные типы,
множественная диспетчеризация
"""
"""
что происходит?
"""
@sairus7
sairus7 / slider_zoom_rect.jl
Last active May 20, 2020 07:45
Slider and zoom rectangle with MakieLayout.jl
using Makie
using MakieLayout
scene, layout = layoutscene(resolution = (1200, 800))
scene
ax = layout[1:2, 1] = [LAxis(scene) for i = 1:2]
xaxis_top!(ax[1])
ax[2].height = 100
@sairus7
sairus7 / drag_reshape_rect.jl
Last active May 19, 2020 07:50
Drag and reshape rectangle with MakieLayout.jl
using Makie
using MakieLayout
## drag + reshape rectangle
scene, layout = layoutscene()
ax = layout[1, 1] = LAxis(scene)
lines!(ax, [0,250,500], [0,500,0])
tightlimits!(ax)