JuliaPlots / StatsPlots.jl

Statistical plotting recipes for Plots.jl
Other
436 stars 88 forks source link

add errorline.jl #513

Closed CMGreenspon closed 1 year ago

CMGreenspon commented 2 years ago

Function for parsing inputs to easily make a ribbons (https://ggplot2.tidyverse.org/reference/geom_ribbon.html) or errorbar https://www.mathworks.com/help/matlab/ref/errorbar.html) plot while allowing for easily controlling error type and also handles NaNs.

CMGreenspon commented 2 years ago

I believe I've addressed all the changes. The error you got was because NaNMath only accepts Floats so I've added a conversion check. I also added the final distribution mode.

I added a new runtest too with Ints as the y values for future checks

CMGreenspon commented 2 years ago

I'll add an example or two to the readme in an hour or so

On Tue, Aug 23, 2022, 7:17 AM Simon Christ @.***> wrote:

@.**** approved this pull request.

So far this looks fine to me, there should be at least one example in the README as Documentation. Would be good to have another pari of eyes here.

— Reply to this email directly, view it on GitHub https://github.com/JuliaPlots/StatsPlots.jl/pull/513#pullrequestreview-1082054902, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF6PLUSKKXDEWKY43SF6VI3V2S6L5ANCNFSM57IEPJGA . You are receiving this because you authored the thread.Message ID: @.***>

CMGreenspon commented 2 years ago

plot_36 Example plot

CMGreenspon commented 1 year ago

ExamplePlot Rename spaghetti to plume

CMGreenspon commented 1 year ago

ExamplePlot