use size option of gneplot2, and more
This commit is contained in:
@@ -26,6 +26,19 @@ subroutine end_genplot(message)
|
||||
end subroutine
|
||||
|
||||
! -------------------------------------------------------------------
|
||||
|
||||
subroutine do_initialise_once(motif)
|
||||
|
||||
character(*), intent(in) :: motif
|
||||
|
||||
write(0, *) '--> do initialise once "', motif, '", flag is ', initialised
|
||||
|
||||
call init_genplot('a.scratch')
|
||||
|
||||
end subroutine
|
||||
|
||||
! -------------------------------------------------------------------
|
||||
|
||||
subroutine gplt_setcol(col)
|
||||
integer, intent(in) :: col
|
||||
color = col
|
||||
@@ -37,15 +50,23 @@ end function
|
||||
! -------------------------------------------------------------------
|
||||
|
||||
subroutine gplt_move(x, y)
|
||||
integer, intent(in) :: x, y
|
||||
print *, x, y, 0
|
||||
integer, intent(in) :: x, y
|
||||
|
||||
if (.NOT. initialised) then
|
||||
call do_initialise_once('in gplt_move')
|
||||
endif
|
||||
|
||||
print *, x, y, 0
|
||||
end subroutine
|
||||
|
||||
! -------------------------------------------------------------------
|
||||
|
||||
subroutine gplt_draw(x, y)
|
||||
integer, intent(in) :: x, y
|
||||
print *, x, y, color
|
||||
integer, intent(in) :: x, y
|
||||
if (.NOT. initialised) then
|
||||
call do_initialise_once('in gplt_draw')
|
||||
endif
|
||||
print *, x, y, color
|
||||
end subroutine
|
||||
|
||||
! -------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user