diff --git a/README.md b/README.md index 553e42e6..44f2bb98 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,11 @@ Here is a list of the main high-level functions for common scenarios: ```
- + These mutating methods cannot update the limits of the axes (xlims & ylims) as plots are drawn onto a fixed canvas. The limits must be set by the plotting function that creates the figure or by creating an empty `Plot`: + ```julia + p = Plot(; xlim=(-1, 3), ylim=(-1, 3)) + lineplot!(p, 1:2) + One can adjust the plot `height` and `width` to the current terminal size by using `height=:auto` and/or `width=:auto`. You can reverse/flip the `Plot` axes by setting `xflip=true` and/or `yflip=true` on plot creation.