specify relative coordinates
This commit is contained in:
parent
ff2ae4fe4f
commit
a72b4a3481
@ -372,7 +372,7 @@ const _examples = PlotExample[
|
|||||||
tuple `(x, y, text)`, a vector of annotations, each of which is a tuple of `x`, `y`
|
tuple `(x, y, text)`, a vector of annotations, each of which is a tuple of `x`, `y`
|
||||||
and `text`. You can position annotations using relative coordinates with the syntax
|
and `text`. You can position annotations using relative coordinates with the syntax
|
||||||
`((px, py), text)`, where for example `px=.25` positions the annotation at `25%` of
|
`((px, py), text)`, where for example `px=.25` positions the annotation at `25%` of
|
||||||
the plot's width.
|
the subplot's axis width.
|
||||||
`text` may be a simple `String`, or a `PlotText` object, which can be built with the
|
`text` may be a simple `String`, or a `PlotText` object, which can be built with the
|
||||||
method `text(string, attrs...)`.
|
method `text(string, attrs...)`.
|
||||||
This wraps font and color attributes and allows you to set text styling.
|
This wraps font and color attributes and allows you to set text styling.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user