# Yaxis log scale StipplePlotly

**URL:** <https://discourse.julialang.org/t/yaxis-log-scale-stippleplotly/94236>\
**Category:** Visualization\
**Created:** [February 7, 2023, 9:38pm UTC](https://discourse.julialang.org/t/yaxis-log-scale-stippleplotly/94236 "2023-02-07T21:38:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![olive](https://avatars.discourse-cdn.com/v4/letter/o/e9c0ed/32.png) [@olive](https://discourse.julialang.org/u/olive)\
**Post date:** [February 7, 2023, 9:38pm UTC](https://discourse.julialang.org/t/yaxis-log-scale-stippleplotly/94236/1 "2023-02-07T21:38:20Z")

</div>

I would like to display a plot with a y-axis in logarithmic scale but with this simple code is actually the x-axis which is render in logarithmic scale.

Does anyone know a solution?

```julia
using GenieFramework
@genietools

@out data = PlotData(
                        x = [1, 10, 100, 1000],
                        y = [5, 50, 500, 5000]
                    )

@out layout = PlotLayout(
                            yaxis=[PlotLayoutAxis(type="log")]
                        )

function ui()
    p("plot")
    plot(:data, layout=:layout)
end

@page("/", ui)

Server.isrunning() || Server.up()

```

 ![Screenshot_20230207_223710](https://global.discourse-cdn.com/julialang/original/3X/1/5/15499c2c578e8eaafea27b4221028790c4ba44c1.png)
