Unlike the barycentric method, this method takes the plot radius into account.Ĭomputes ternary values from coordinates that are scaled by the radius. The following diagram makes it more clearĬonstructs a new default ternary plot generator with the default options.Ĭomputes coordinates that are scaled by the plot radius from ternary data. If vertices is not specified, returns the current vertices, which defaults to the vertices of an equilateral triangle with radius 1 with angles -90°, 150°, 30°. If vertices is specified, sets the vertices to the specified array and returns this barycentric converter. If a is not specified, returns the current a-value accessor, which defaults to:Ĭomputes normalized ternary values by summing the of ternary data and taking proportions of it using the value accessors. If a is specified, sets the a-accessor to the specified function and returns this barycentric converter. Note that the coordinates here are unscaled i.e. All values are normalized by default.Ĭomputes ternary values from coordinates (a two-element array ). Note that the coordinates here are unscaled (radius of 1). By default, it makes an equilateral triangle on the unit circle centered at the origin.Ĭomputes coordinates from a ternary values (a single three-element array). ternaryPlot ( b ) API Reference barycentric()Ĭonstructs a new default ternary converter that converts ternary data to Cartesian coordinates.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |