I have tried to display some arrays in Array viewer using fav Routines. For example,
Subroutine viewary( )
allocatable :: testA(:)
!DEC$ATTRIBUTES array_visualizer :: testA
real xmax, x
integer istatus, ihv
DO i=0, 2000
call faglStartWatch(testA, istatus)
call FavStartViewer(ihv, istatus)
call favSetArray(ihv, testA, istatus)
call favShowWindow(ihv, AV_TRUE, istatus)
call faglSaveAsFile(testA, "testA.agl", istatus)
call favEndViewer(ihv, istatus)
call faglEndWatch(testA, istatus)
END Subroutine viewary
The display result is that the x axis range is not from 0 to 0.1 but from 0 to 2000, and the wanted curve is hardly seen because it only spreads in the very narrow x range(0 to 0.1 as compared with 0 to 2000).
If I replace the line 100 by
Then the wanted curve is seen to spread along all the x range, but the x_axis value displayed is not from 0 to 0.1 but yet from 0 to 2000.
What is the reason?
Thank you in advance!
Trouble about Array Viewer!