c$Id: pltnod.f,v 1.1 2000/08/24 20:49:59 rlt Exp $ subroutine pltnod(x,ip,ndm,n1,n2,n3) c * * F E A P * * A Finite Element Analysis Program c.... Copyright (c) 1984-2005: Robert L. Taylor c All rights reserved c-----[--+---------+---------+---------+---------+---------+---------+-] c Purpose: Plot location of nodal points in mesh c Inputs: c x(ndm,*) - Nodal coordinates of mesh c ndm - Dimension of x array c n1 - Place number near node if .ne. 0 c n2 - First node to plot c n3 - Last node to plot c Outputs: c none - Plot outputs to screen/file c-----[--+---------+---------+---------+---------+---------+---------+-] implicit none include 'pdata1.h' include 'pdata4.h' include 'plflag.h' logical zoom integer n, ndm, n1, n2, n3 real*8 x1, x2, x3, dx1 real*8 x(ndm,*) integer ip(*) save c Open plot and plot locations of all nodes: Add labels if n1 .ne. 0 dx1 = .002d0/scale x3 = 0.0d0 do n = n2,n3 if(ip(n).gt.0 .and. zoom(x(1,n),ndm)) then x1 = x(1,n) x2 = x(2,n) if(ndm.ge.3) x3 = x(3,n) call plotl(x1-dx1 , x2+dx1 , x3, 3) call plotl(x1-dx1 , x2-dx1 , x3, 2) call plotl(x1+dx1 , x2-dx1 , x3, 2) call plotl(x1+dx1 , x2+dx1 , x3, 2) call plotl(x1-dx1 , x2+dx1 , x3, 2) if(n1.ne.0) then call plotl(x1+2.d0*dx1, x2+2.d0*dx1, x3+1.d0*dx1, 3) if(clip) call plabl(n) endif endif end do end