home *** CD-ROM | disk | FTP | other *** search
- /* Test of pixel and intervall relative coordinates */
-
- address "MPlot_ARexx"
- options results
-
-
- IF ~SHOW('L','rexxsupport.library') THEN
- CALL ADDLIB('rexxsupport.library',0,-30)
-
- /*
-
- /* LINE */
- clear force
- showaxis
- /* Pixel-relative */
- do i=0 to 640 by 10
- line '0 0 'i' 390 pixel=on'
- end
-
- /* Intervall-relative */
- do i=0 to 20
- x = i*3.14/20
- line "0 0 " x " -1 pixel=off"
- end
-
- Delay(150)
-
-
- /* POINT */
- clear force
- showaxis
- /* Pixel-relative */
- do i=0 to 640 by 10
- point i 10 'pixel=on'
- end
-
- /* Intervall relative */
- do i = 0 to 20
- x = i*3.14/20
- point x 1
- end
-
-
- Delay(150)
-
- /* TEXT */
- clear force
- */
-
- showaxis
-
-
- /* Pixel-relative */
- do i = 0 to 100 by 25
- a = i/2+50
- text 'text "Dies ist ein TEST " xpos' i ' ypos ' a 'pixel=on'
- end
-
- /* Intervall relativ */
- do i = 0 to 10
- x = i*3.14/10
- y = i*1/10
- text 'text "Dies ist ein TEST " xpos' x ' ypos ' y 'pixel=off'
- say text 'text "Dies ist ein TEST " xpos' x ' ypos ' y 'pixel=off'
- end
-
- text 'text "Dies ist ein TEST " xpos' 0 ' ypos ' 0 'pixel=on'
- text 'text "Dies ist ein TEST der länger ist" xpos' 0 ' ypos ' 0.2 'pixel=off'
-
-