Dears,
How can I plot a line chart with no gaps (missing values)?
I want the gaps (missing values) in the provided data arrays are connected.
I am using Plots to draw the line chart.
Many thanks for your help.
Best Regards.
Dears,
How can I plot a line chart with no gaps (missing values)?
I want the gaps (missing values) in the provided data arrays are connected.
I am using Plots to draw the line chart.
Many thanks for your help.
Best Regards.
nonmissing = isfinite.(x .+ y)
plot(x[nonmissing], y[nonmissing])
?
@mkborregaard
Many thanks for your reply.
Sorry, but I am a little confused.
Are you meaning I shoud try to solve the issue as your suggestion?
It seems nonmissing is a boolean variable, either true or false. Could it be the index of an array?
Thanks again.