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_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()
,
layout_()
,
merge_coords()
,
norm_coords()
Examples
layout_(make_ring(10), with_fr(), normalize())
#> [,1] [,2]
#> [1,] 0.59366897 -0.7978506
#> [2,] 0.98115437 -0.2924992
#> [3,] 1.00000000 0.3233194
#> [4,] 0.62938938 0.8247419
#> [5,] 0.01856428 1.0000000
#> [6,] -0.59295051 0.7944214
#> [7,] -0.97902848 0.2948563
#> [8,] -1.00000000 -0.3258905
#> [9,] -0.62755258 -0.8252052
#> [10,] -0.01572296 -1.0000000