lala_text_viz Subroutine

subroutine lala_text_viz(a, m, n, s, t)

Arguments

Type IntentOptional Attributes Name
doubleprecision :: a(:)
integer :: m
integer :: n
doubleprecision :: s
doubleprecision :: t

Contents

Source Code


Variables

Type Visibility Attributes Name Initial
integer, public :: display_cols
integer, public :: display_rows

Source Code

subroutine lala_text_viz(a,m,n,s,t)  ! sample usersub_placeholder routine
implicit none
integer                    :: m,n
doubleprecision            :: a(:)
doubleprecision            :: s,t
integer                    :: display_cols,display_rows

   display_rows=nint(s)
   display_cols=nint(t)
   if(display_cols.eq.0)display_cols=m
   if(display_rows.eq.0)display_rows=n
   call viz_init(display_cols,display_rows) ! initialize package and set size of plot area
   call viz_plot(reshape(real(a),[m,n]),m,n)
   call viz_done
end subroutine lala_text_viz