graymap-rotate-right

Synopsis

(graymap-rotate-right graymap)

Parameters

  • graymap

Description

This procedure rotates a graymap 90 degrees clockwise.

Side Effects

Return Value

The resulting graymap is returned.

Example

> (define x (mandelbrot -2.0 2.0 -2.0 2.0 200 640))
x
> (graymap-equalize! x)
#<graymap(16) orow:-1 ocol:-1 xres:-1 yres:-1 w:640 h:640>
> (define y (graymap-rotate-right x))
z
> (graymap-writepng y "graymap-rotate-right.png")
ok
>

The resulting PNG file displays as follows:

graymap-rotate-right.png