feat: add interpolator name to trap-plot.kt

This commit is contained in:
2025-10-03 10:59:05 +03:00
parent 57394cca92
commit ba9af9b49d

View File

@@ -19,7 +19,9 @@ fun main() {
val maxDelta = (WALL_R - WALL_L)
val interpolator = getTrapByName("Fine")
val interpolatorName = "Fine"
val interpolator = getTrapByName(interpolatorName)
Plotly.page {
plot {
val eis = (WALL_L..WALL_R step 100.0).toDoubleArray()
@@ -32,7 +34,7 @@ fun main() {
layout {
width = 1800
height = 800
title = "Trapping function"
title = "Trapping function ${interpolatorName}"
}
trace {