Description Usage Arguments See Also Examples
Draws a grid of rectangles with colors corresponding to the values in z
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
fig |
figure to modify |
z |
matrix or vector of image values |
rows |
if |
byrow |
if |
x |
lower left x coordinates |
y |
lower left y coordinates |
dw |
image width distances |
dh |
image height distances |
palette |
name of color palette to use for color ramp (see here for acceptable values) |
dilate |
logical - whether to dilate pixel distance computations when drawing |
lname |
layer name |
lgroup |
layer group |
Other layer functions:
ly_abline(),
ly_annular_wedge(),
ly_annulus(),
ly_arc(),
ly_bar(),
ly_bezier(),
ly_boxplot(),
ly_contour(),
ly_crect(),
ly_curve(),
ly_density(),
ly_hist(),
ly_image_url(),
ly_lines(),
ly_map(),
ly_multi_line(),
ly_oval(),
ly_patch(),
ly_points(),
ly_polygons(),
ly_quadratic(),
ly_quantile(),
ly_ray(),
ly_rect(),
ly_segments(),
ly_text(),
ly_wedge()
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.