# Expressing the y-axis normally in semi-log plot

**URL:** <https://discourse.julialang.org/t/expressing-the-y-axis-normally-in-semi-log-plot/69371>\
**Category:** New to Julia\
**Tags:** plotting, plots\
**Created:** [October 7, 2021, 1:23pm UTC](https://discourse.julialang.org/t/expressing-the-y-axis-normally-in-semi-log-plot/69371 "2021-10-07T13:23:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinicius\_de\_lima](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vinicius_de_lima/32/28717_2.png) [@vinicius\_de\_lima](https://discourse.julialang.org/u/vinicius_de_lima)\
**Post date:** [October 7, 2021, 1:23pm UTC](https://discourse.julialang.org/t/expressing-the-y-axis-normally-in-semi-log-plot/69371/1 "2021-10-07T13:23:46Z")

</div>

I’m trying to express the numbers in the y-axis as 10,25,40 instead of in powers of 10, using the following code:

```julia
using Plots

w = [19.0	,24.8	,28.5	,33.2	,35.3]
n_golpes = [35	,28	,22	,19	,16]

plot(w,n_golpes,
ylabel = "Nº DE GOLPES",
xlabel = "UMIDADE(%)",
yscale = :log10,
ylim = (10,40),
yticks = [10,25,40],
seriestype = :scatter)

hline!([25])

```

The output is :

 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/1/e1a74af0a6c95bc898457d2364787b2306827587.png)

---

<div class="post-metadata">

**Author:** ![rafael.guerra](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rafael.guerra/32/216610_2.png) [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Post date:** [October 7, 2021, 1:52pm UTC](https://discourse.julialang.org/t/expressing-the-y-axis-normally-in-semi-log-plot/69371/2 "2021-10-07T13:52:43Z")

</div>

> [@vinicius\_de\_lima](#):
>
> I’m trying to express the numbers in the y-axis as 10,25,40 instead of in powers of 10

Replace `yticks = [10,25,40]` by:  
`yticks = ([10,25,40], string.([10,25,40]))`
