How can I access the current xticks of a figure created by Plots.jl?
Found the solution in Plots.jl xticks color modification - Specific Domains / Visualization - JuliaLang.
There is a function
xticks. The final line in the example below returns the xticks of the figure:
using Plots xs = 1:10 ys = xs .^ 2 plt = plot(xs, ys) xticks(plt)