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

No strict ticks found - Plot

$
0
0

Hello! So, my goal with this code is to plot the BR COVID-19 data with a logaritmic scale in y axis. The problem is, it keeps saying that there is an Argument Error and at least one finite value must be provided to formatter.

plot(dates, br_data, xticks=dates[1:30:300], xrotation=45,
    leg=:topleft, label="BR Data", m=:o,
    yscale=:log10)
xlabel!("Date")
ylabel!("Confirmed cases in BR")
title!("BR confirmed COVID-19 cases")

But I can’t manage to see what that I am passing is infinite and is causing the trouble. I’m using Julia 1.0.4!

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles