I'm having trouble plotting my data points. Below is the Subroutine I use to plot coastal lines for a world map. The default %pl connects every data point but I don't want a line connecting each Continent. Can anyone tell me how to keep the plot window open and hold it so I can add 1 Continent at a time?
SUBROUTINE SIMPLE(X,Y) !
c--SimplePlot.for !
WINAPP !
INTEGER N,winio@,i !
PARAMETER(N=5116) !
DOUBLE PRECISION x(N),y(N) !
c--Create the data to be plotted. !
C CCR=1 !
C ENDPLOT=0 !
9911 DO i=1,N !
C CCR=2 !
READ(4,5555) x(i),y(i) !
5555 FORMAT(9X,I4,8X,I4) !
C IF(x(i).EQ.88) GO TO 9119 !
C IF(x(i).EQ.22) ENDPLOT=1
C IF(x(i).EQ.22) GO TO 9119 ! !
ENDDO !
9119 CONTINUE !
c--Plot the data. !
C write(6,*) CCR !
C IF(CCR.EQ.1) GO TO 3310 !
C IF(CCR.EQ.2) GO TO 3311 !
3310 i=winio@('%ca[SIMPLEPLOT]%bg[white]&') !
!
3311 i=winio@('%pl[x_array]&',950,650,N,x,y) !
!
C IF(ENDPLOT.EQ.0) GO TO 9911 !
i=winio@('%ff%nl%cn%tt[OK]') !
RETURN !
END
[img]https://docs.google.com/document/d/1c-KQif-3xD_Wi9Rx6UskoHNpIDU_7JglVwduD1NAMbM/edit[/img]