c subroutine symbol(xx,yy,k,angle) c c PURPOSE: Plot a centered symbol c c USAGE: c c call symbol(XX,YY,K,ANGLE) c c WHERE: c c XX,YY = Coordinate of center of symbol c (999. for a value uses previous position) c K = Symbol number to be generated c ANGLE = Angle at which the symbol is to be plotted (ccw degrees) c c************************************************************************ byteitext(1) c c Common block for PLT parameters c real*8prmnam,txtnam,keywrd bytexlabel,ylabel,rlabel,xfmt,yfmt,rfmt,msg,filonm(14) bytefilinm(40) logical*1dataon,pltfnd,msgflg,finflg,modflg,conton,axflg,newpag, & ecflg,typerr,dbflg c common /params/xmin,xmax,xint,xcycle,xpct,xlen,xllc,ymin,ymax, & yint,ycycle,ypct,ylen,yllc,rmin,rmax,rint,rcycle,rpct,pltype, & typlin,pltlin,symnum,sizsym,solid,sizann,wtlnan,xanlab,yanlab, & ranlab,yhor,grid,sizlab,wtlnlb,ticmrk,shade,echo,wtlnax,openax, & sizmsg,wtlnms,xmsg,ymsg,angmsg,datmsg,sizfac,smooth,header,sort, & unused(1) common /flags/dataon,pltfnd,msgflg,finflg,modflg,conton,axflg, & newpag,ecflg,typerr,dbflg common /names/prmnam(50),txtnam(6),keywrd(25),filinm,filonm common /text/xlabel(52),ylabel(52),rlabel(52),xfmt(6),yfmt(6), & rfmt(6),msg(256) common /misc/ifrom,ito,inow,ipage,model,lunin,lunout c common /axes/rxmin,rxmax,rymin,rymax,rxlen,rylen,rxllc,ryllc, & pxmin,pxmax,pymin,pymax,pxlen,pylen,pxllc,pyllc common /size/tiklen,hitann,hitlab,hitsym,hitmsg,iaxlnw,igrlnw, & ianlnw,ilblnw,ipllnw,imslnw,avgaxl common /msks/ msk1,msk2,msk3,msk4,msk5 if(.not.(dbflg))goto 23000 type *,' symbol: k=',k c Determine the starting position for the output 23000 continue if(.not.(xx .eq. 999.))goto 23002 x = xcurr goto 23003 c else 23002 continue x = xx 23003 continue if(.not.(yy .eq. 999.))goto 23004 y = ycurr goto 23005 c else 23004 continue y = yy 23005 continue c symbol angle symang = detang (angle,sncc,sncs) w=hitsym h=hitsym call drasym(k,x,y,w,h,sncc,sncs) xcurr = x ycurr = y return end