JetBrains / lets-plot-kotlin

Grammar of Graphics for Kotlin
https://lets-plot.org/kotlin/
MIT License
419 stars 36 forks source link

Is it possible to set axis limits? #170

Closed Tamada4a closed 1 year ago

Tamada4a commented 1 year ago

Hello everyone Is it possible in lets-plot to shift the boundaries of the graph so that they are at the origin? What do I mean: From this image To this image

alshan commented 1 year ago

Hi, try to use scaleXContinuous(expand = listOf(0, 0)).

Tamada4a commented 1 year ago

Thanks!