feat: add interpolator name to trap-plot.kt
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user