*** empty log message ***
authorhachti <hachti>
Tue, 29 May 2007 21:45:59 +0000 (21:45 +0000)
committerhachti <hachti>
Tue, 29 May 2007 21:45:59 +0000 (21:45 +0000)
programs/plotter/src/achja.f [deleted file]
programs/plotter/src/plotapfel.f
programs/plotter/src/sinus.f [new file with mode: 0644]

diff --git a/programs/plotter/src/achja.f b/programs/plotter/src/achja.f
deleted file mode 100644 (file)
index 3907f30..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-C ACH JA, DAS AUCH
-C
-C
-      INTEGER X,Y
-C
-C
- 1000 CALL PL$RST
-      DO 2000 X=0,600,50
-         CALL LINE(X,-100,X,100)
- 2000 CONTINUE
-      
- 1500 DO 1600 Y=0,200,50
-         CALL LINE(0,Y-100,600,Y-100)
- 1600 CONTINUE
-      CALL LINE (0,1,600,1)
-      CALL LINE (0,-1,600,-1)
-C
-      CALL PL$MV(0,0)
-      CALL PL$PD
-      DO 3000 X=0,600
-         TMP=X
-         PHI=(3.141/180.0)*TMP
-         Y=SIN(PHI)*90.0
-         CALL PL$MV(X,Y)
- 3000 CONTINUE
-      CALL PL$PU
-C     
-C
-C
-      CALL PL$MV(0,0)
-      CALL REBOOT
-      END
-C
-C
-C     
-      SUBROUTINE LINE(X1,Y1,X2,Y2)
-      INTEGER X1,Y1,X2,Y2
-      CALL PL$MV(X1,Y1)
-      CALL PL$PD
-      CALL PL$MV(X2,Y2)
-      CALL PL$PU
-      RETURN
-      END
-$0
-
-         
index ab4365d88500094cbb7cce0c87d2be63bbf3f00f..64e401c29521f18615c7c4c0a78f1cde62dbbf34 100644 (file)
@@ -143,7 +143,7 @@ C
       PENX=PENX-1
       GO TO 8000
  8100 CONTINUE
-      CALL PL$DN
+      CALL PL$D
       RETURN
       END
 C
@@ -159,11 +159,11 @@ C
 C
        CR      = 13 
        LF      = 10
-       WIDTH   = 500
-       MAXI    = 50
+       WIDTH   = 120
+       MAXI    = 60
        MAXVAL  = 2.0
        LOWX    =-1.48
-       HIGHX   = 0.5
+       HIGHX   = 1.2
        LOWY    =-1.2
        HIGHY   = 1.2
        INIT    = 1
diff --git a/programs/plotter/src/sinus.f b/programs/plotter/src/sinus.f
new file mode 100644 (file)
index 0000000..85b742d
--- /dev/null
@@ -0,0 +1,57 @@
+C ACH JA, DAS AUCH
+C
+C
+      INTEGER X,Y
+C
+C
+ 1000 CALL PL$RST
+      DO 2000 X=0,600,50
+         CALL LINE(X,-100,X,100)
+ 2000 CONTINUE
+      
+ 1500 DO 1600 Y=0,200,50
+         CALL LINE(0,Y-100,600,Y-100)
+ 1600 CONTINUE
+ 1300 DO 1400 Y=0,150,50
+         DO 222 X=0,580,20
+            CALL LINE(X,Y-75,X+10,Y-75)
+ 222     CONTINUE
+ 1400 CONTINUE
+C
+      CALL LINE (0,1,600,1)
+      CALL LINE (0,-1,600,-1)
+      CALL LINE (-1,-100,-1,100)
+      CALL LINE (1,-100,1,100)
+C
+      CALL PL$MV(0,0)
+      CALL PL$PD
+      DO 3000 X=0,600
+         TMP=X
+         PHI=(3.141/180.0)*TMP
+         Y=SIN(PHI)*90.0
+         CALL PL$MV(X,Y)
+ 3000 CONTINUE
+      CALL PL$PU
+C     
+C
+C
+      CALL PL$MV(0,0)
+      CALL REBOOT
+      END
+C
+C
+C     
+      SUBROUTINE LINE(X1,Y1,X2,Y2)
+      INTEGER X1,Y1,X2,Y2
+      CALL PL$MV(X1,Y1)
+      CALL PL$PD
+      CALL PL$MV(X2,Y2)
+      CALL PL$PU
+      RETURN
+      END
+CCCCCCCCCC
+C
+CCCCCCCCCC
+$0
+
+