Scale coordinates of a layout.
Arguments
- xmin, xmax
Minimum and maximum for x coordinates.
- ymin, ymax
Minimum and maximum for y coordinates.
- zmin, zmax
Minimum and maximum for z coordinates.
See also
Other layout modifiers:
component_wise()
Other graph layouts:
add_layout_(),
component_wise(),
layout_(),
layout_as_bipartite(),
layout_as_star(),
layout_as_tree(),
layout_in_circle(),
layout_nicely(),
layout_on_grid(),
layout_on_sphere(),
layout_randomly(),
layout_with_dh(),
layout_with_fr(),
layout_with_gem(),
layout_with_graphopt(),
layout_with_kk(),
layout_with_lgl(),
layout_with_mds(),
layout_with_sugiyama(),
merge_coords(),
norm_coords()
Examples
layout_(make_ring(10), with_fr(), normalize())
#> [,1] [,2]
#> [1,] -0.2892981 1.00000000
#> [2,] 0.3303621 0.97132133
#> [3,] 0.8216903 0.57441170
#> [4,] 1.0000000 -0.03662649
#> [5,] 0.7955814 -0.64123937
#> [6,] 0.2828226 -1.00000000
#> [7,] -0.3350831 -0.97135144
#> [8,] -0.8252331 -0.57114562
#> [9,] -1.0000000 0.04385973
#> [10,] -0.7963818 0.64580360