isigraph: supports graphics using the isigraph control | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method: gopen'' opens a graphics window g... fns to generate graphics gshow'' show graphics points are plotted in a box with coordinates (0,0) at bottom left to (1000,1000) at top right. points should be given as a 2 element vector or 2 column matrix colors should be given as 3 numbers in range (0,255) for RGB, or as a single RGB number. see also isigutil.ijs for various supporting utilities.
x. cile values of y. example: 3 cile i.12 fit rectangle data to 0 1 form: [anisotropic] fitrect01 data if left argument is 1, applies same factors to both columns otherwise, scales columns independently. fit data to range 0 1 form: [anisotropic] fit data if left argument is 1, scales columns independently, otherwise applies same factors to all data, bitmap viewer using isigraph control y. is a boolean matrix Note max size is about 80 x 80 - after which the graphics buffer is full. This function is fast for small bitmaps. Use viewbmp in bmp.ijs to display larger bitmaps. e.g. gshow gbitmap ?40 40$2 [gopen'' fit data to graphics window scales each column of data independently to range (0,1000) display line connecting points {color;width;style} glines points points should be a 2 column matrix of xy values open graphics window y. = controlname;parentname if either empty, default to 'isigraph' e.g gopen '' gopen '';'J Graphics' set pen color [;width,style] (default 1,0} draw polygon given points {color} gpolygon points generate grayscale example: grayscale (i.%<:) 5 generate color from color set x. is color set y. is values from 0 to 1, selecting color generate color from RGB color se x. is RGB color set (default HUES) y. is values from 0 to 1, selecting color vertices of a regular polygon y. = number of points x. = scale factor on angle 2p1%y. (default 1) e.g. polygon 5 = pentagon 2 polygon 5 = 5 pointed star rotate angle by given amount e.g. 0.5p1 rotate points = rotate clockwise a quarter turn
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help User |