Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Tick align in Plots

$
0
0

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

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))

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles