QQ Plot module library v4.0
Grafic output from Fortran- or C-programs.

Description of the subroutine calls

With version 4.0 you can create black/white files as well as grayscale- or 256 colors files. Also you have a font that can be redefined and you can create more fonts as well.
You will find samples for all calls in the delivery: muecke.for (just lines, b/w),
quader.for (with polygon and clipping, 256 colors) und schach.for (with circle, greyscales)

Overlook

Define size and filename of the bitmap
call qqopen (x,y,filename,setxscale,setyscale)
or qqopengr (grayscale) or qqopenco (256 colors)

Paint into existing pictures
oder qqopenin (namein,nameout,setxscale,setyscale)

Set clipping coordinates
call qqborder (switch,x1,y1,x2,y2)

Zero shift
call qqpoorig (x,y)

Define pen color
call qqcolor (color)

Define fill color
call qqfillc (color)

Define user color
call qqfillc (color, red, green, blue)

Define pen thickness
call qqthickn (thickness)

Define printout size
call qqdpi (xdpi,ydpi)

Define Outline color
call qqoutcolor (color)

Define Outline pen thickness
call qqoutdef (thickness)

Outline end
call qqoutend

Paint a dot
call qqpoint (x,y)

Paint a line from the last coordinates to the actual ones
call qqline (x,y)

Details

Paint a polygon, optional white, black or not filled
call qqpoly (npolygon, polygon)

Paint a bow
call qqbow (x,y)

Paint a curve
call qqcurve (x,y,xnext,ynext)

Paint a Bezier curve
call qqbezier (w1, r1, x1, y1, w2, r2, x2, y2)
call qqbezie2(x1, y1, x1’, y1’, x2’, y2’, x2, y2)

Paint a curve along defined coordinates
call qqcotton(x, y, nxy)

Move
call qqmove (x,y)

Paint a text
call qqfont1 (x,y,size,text)

Pant a number
call qqifont1 (x,y,size,number,length)
call qqrfont1 (x,y,size,number,length,decimals)
call qqdfont1 (x,y,size,number,length,decimals)

Paint a circle
call qqcircle (a1,a2,x,y,r1,r2)

Rotation
call qqrotate (x,y,w)

Finish. Write the file
call qqclose

(Quasi-) random number
n=qqrandom (i)