# Tick align in Plots

**URL:** <https://discourse.julialang.org/t/tick-align-in-plots/41064>\
**Category:** New to Julia\
**Tags:** question, plotting\
**Created:** [June 9, 2020, 12:51pm UTC](https://discourse.julialang.org/t/tick-align-in-plots/41064 "2020-06-09T12:51:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomas\_vilches](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thomas_vilches/32/7391_2.png) [@thomas\_vilches](https://discourse.julialang.org/u/thomas_vilches)\
**Post date:** [June 9, 2020, 12:51pm UTC](https://discourse.julialang.org/t/tick-align-in-plots/41064/1 "2020-06-09T12:51:23Z")

</div>

Hi everyone,

I amtrying to plot a simple scatter plot, but I want the y-axis ticks to be rotated 90 degrees. That is fine. However, the miss the alignment, staying below the tick mark. I want to align the tick mark at the center of the number, bu it is not working. Here is my code.

Does anyone have an idea why it is not working?

Thank you in advance

```julia
pyplot()
theme(:default)
p1 = Plots.scatter(R0,point,marker=(10,Plots.stroke(0)),group = est, grid = false, dpi = 1200,label = "",tickfontsize = 25,c = colors[est],size = [1500,800],bottom_margin =20mm,left_margin=20mm)
p1 = xaxis!(xlabel = L"R_0",xguidefontsize=35)
p1 = yaxis!(ylabel = "Equilibrium Point",yrotation = 90,tickfontvalign = :center,yguidefontsize=35,yguidefonthalign = "left",ylim = (-0.005,0.255))
```

---

<div class="post-metadata">

**Author:** ![josephmarturano](https://avatars.discourse-cdn.com/v4/letter/j/3d9bf3/32.png) [@josephmarturano](https://discourse.julialang.org/u/josephmarturano)\
**Post date:** [June 9, 2020, 1:21pm UTC](https://discourse.julialang.org/t/tick-align-in-plots/41064/2 "2020-06-09T13:21:38Z")

</div>

I could not figure out how to align the ticks with Plots.jl and the pyplot() backend. But here are two other options:

#1) use PyPlot directly

```julia
using PyPlot
plt.scatter(rand(10), rand(10))
plt.yticks(rotation=90, va="center")
gcf()

```

#2) use Plots and the plotly() backend

```julia
using Plots
plotly()
testscatter = scatter(rand(10), rand(10), yrotation=90)

```
