User`s manual
Examples of Calling Engine Functions
4-13
C
C Plot the result.
C
 if (engEvalString(ep, 'plot(T,D);') .ne. 0) then 
 write(6,*) 'engEvalString failed'
 stop
 endif
if (engEvalString(ep, 'title(''Position vs. Time'')') .ne. 0) 
then
 write(6,*) 'engEvalString failed'
 stop
 endif
 if (engEvalString(ep, 'xlabel(''Time (seconds)'')') .ne. 0)
then
 write(6,*) 'engEvalString failed'
 stop
 endif
if (engEvalString(ep, 'ylabel(''Position (meters)'')') .ne. 0) 
then
 write(6,*) 'engEvalString failed'
 stop
 endif
C 
C 
C Read from console to make sure that we pause long enough to be
C able to see the plot.
C 
 print *, 'Type 0 <return> to Exit'
 print *, 'Type 1 <return> to continue'
 read(*,*) temp
C
 if (temp.eq.0) then
 print *, 'EXIT!'
 stop
 end if
C
 if (engEvalString(ep, 'close;') .ne. 0) then
 write(6,*) 'engEvalString failed'
 stop
 endif 










