From 33d6c3426a58aebbf2f4bbde3759d3658ebddafe Mon Sep 17 00:00:00 2001 From: Tom Breloff Date: Wed, 18 Jan 2017 13:45:02 -0500 Subject: [PATCH] inline docs for plot --- src/plot.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plot.jl b/src/plot.jl index 2e8063af..452d745e 100644 --- a/src/plot.jl +++ b/src/plot.jl @@ -29,12 +29,12 @@ convertSeriesIndex(plt::Plot, n::Int) = n """ -The main plot command. Use `plot` to create a new plot object, and `plot!` to add to an existing one: +The main plot command. Use `plot` to create a new plot object, and `plot!` to mutate an existing one: ``` - plot(args...; kw...) # creates a new plot window, and sets it to be the current - plot!(args...; kw...) # adds to the `current` - plot!(plotobj, args...; kw...) # adds to the plot `plotobj` + plot(args...; kw...) # creates a new Plot, and sets it to be the current + plot!(args...; kw...) # adds to the `current` Plot + plot!(plotobj, args...; kw...) # adds to the Plot `plotobj` ``` There are lots of ways to pass in data, and lots of keyword arguments... just try it and it will likely work as expected.