Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed arrows point from an interface to procedures which implement that interface. This could include the module procedures in a generic interface or the implementation in a submodule of an interface in a parent module.
subroutine doScatter
!! ![scatter](|media|/example-2.svg)
integer,parameter::N = 100
real(wp),dimension(N)::x,y,z
call random_number(x)
call random_number(y)
z = sqrt(x**2+y**2)
call figure()
call subplot(2,2,1)
call xylim([0.0_wp,1.0_wp],[0.0_wp,1.0_wp])
call scatter(x,y)
call ticks()
call labels('x','y','')
call subplot(2,2,2)
call xylim([0.0_wp,1.0_wp],[0.0_wp,1.0_wp])
call scatter(x,y,c=z)
call ticks()
call labels('x','y','')
call subplot(2,2,3)
call xylim([0.0_wp,1.0_wp],[0.0_wp,1.0_wp])
call scatter(x,y,s=(4.0_wp*z+1.0_wp),markColor='blue')
call ticks()
call labels('x','y','')
call subplot(2,2,4)
call xylim([0.0_wp,1.0_wp],[0.0_wp,1.0_wp])
call scatter(x,y,c=z,s=(4.0_wp*z+1.0_wp))
call ticks()
call labels('x','y','')
end subroutine doScatter