# Issue with vlines + logscale in Makie?

**URL:** <https://discourse.julialang.org/t/issue-with-vlines-logscale-in-makie/106129>\
**Category:** Visualization\
**Tags:** makie\
**Created:** [November 13, 2023, 1:46am UTC](https://discourse.julialang.org/t/issue-with-vlines-logscale-in-makie/106129 "2023-11-13T01:46:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Noel\_Araujo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/noel_araujo/32/4862_2.png) [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Post date:** [November 13, 2023, 1:46am UTC](https://discourse.julialang.org/t/issue-with-vlines-logscale-in-makie/106129/1 "2023-11-13T01:46:42Z")

</div>

Hello,

I just want to put an `xscale` in `log10`, with a vertical line, here a minimal working example.

```julia
using GLMakie
fig = let
    x = exp10.( range(-8, -2, length=20) )
    y = x
    fig = Figure(fontsize = 25, resolution = (900, 450))
    ax1 = Axis(fig[1, 1], 
        # xscale = log10 ## this is what i want to do
    )

    scatter!(ax1, x, y)
    vlines!(ax1, [10^-3])
    
    fig
end

```

Here the error message:

> Found invalid x-limits (-3.0f0, 0.00999999f0) for scale log10 which is defined on the interval 0.0 … Inf (open)

I had the impression that in some older Makie version this code was working. I want to avoid taking `log10(x)` as work around, because I want the exponentials with Unicode style, that comes by default.

Does anybody can point out if this is a bug? Or more likely, if there is a new syntax for `vlines` and `xscale` that I missed?

Thanks

---

<div class="post-metadata">

**Author:** ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Post date:** [November 13, 2023, 7:47am UTC](https://discourse.julialang.org/t/issue-with-vlines-logscale-in-makie/106129/2 "2023-11-13T07:47:11Z")

</div>

I reported this issue a little while ago [here](https://github.com/MakieOrg/Makie.jl/issues/3271). You may want to comment that you also face this issue 🙂
