logo_prg Program

program~~logo_prg~~UsesGraph program~logo_prg logo_prg module~kinds_mod kinds_mod module~kinds_mod->program~logo_prg module~plplotlib_mod plplotlib_mod module~kinds_mod->module~plplotlib_mod module~array_mod array_mod module~kinds_mod->module~array_mod module~text_mod text_mod module~kinds_mod->module~text_mod module~time_mod time_mod module~kinds_mod->module~time_mod module~plplotlib_mod->program~logo_prg module~array_mod->program~logo_prg module~array_mod->module~plplotlib_mod plplot plplot plplot->module~plplotlib_mod module~text_mod->module~plplotlib_mod module~time_mod->module~text_mod iso_fortran_env iso_fortran_env iso_fortran_env->module~text_mod iso_c_binding iso_c_binding iso_c_binding->module~time_mod
Help


Create the project logo

Calls

program~~logo_prg~~CallsGraph program~logo_prg logo_prg proc~setup setup program~logo_prg->proc~setup proc~makelogo makeLogo program~logo_prg->proc~makelogo proc~show show program~logo_prg->proc~show plsfnam plsfnam proc~setup->plsfnam plsetopt plsetopt proc~setup->plsetopt plsfam plsfam proc~setup->plsfam plfontld plfontld proc~setup->plfontld plinit plinit proc~setup->plinit plsdev plsdev proc~setup->plsdev proc~xylim xylim proc~makelogo->proc~xylim proc~subplot subplot proc~makelogo->proc~subplot proc~linspace linspace proc~makelogo->proc~linspace proc~ticks ticks proc~makelogo->proc~ticks proc~figure figure proc~makelogo->proc~figure interface~mixval mixval proc~makelogo->interface~mixval proc~labels labels proc~makelogo->proc~labels proc~plot plot proc~makelogo->proc~plot plend plend proc~show->plend plwind plwind proc~xylim->plwind pladv pladv proc~subplot->pladv plvasp plvasp proc~subplot->plvasp plssub plssub proc~subplot->plssub plvpor plvpor proc~subplot->plvpor plvsta plvsta proc~subplot->plvsta plbox plbox proc~ticks->plbox proc~figure->pladv proc~figure->plssub plbop plbop proc~figure->plbop pleop pleop proc~figure->pleop pllab pllab proc~labels->pllab plline plline proc~plot->plline plptex plptex proc~plot->plptex plssym plssym proc~plot->plssym
Help

Source Code


Subroutines

subroutine makeLogo()

Create data and plot for logo

Arguments

None

Source Code

program logo_prg
	!! Create the project logo
	use kinds_mod
	use array_mod
	use plplotlib_mod
	implicit none
	
	call setup(device='pngqt',fileName='logo-%n.png',figSize=[128,128]) 
	call makeLogo
	call show()
	
contains

	subroutine makeLogo
		!! Create data and plot for logo
		real(wp),dimension(:),allocatable::x,y1,y2,y3
		
		x  = linspace(0.0_wp,1.0_wp,100)
		y1 = x**2-1.0_wp
		y2 = 2.0_wp*x-1.0_wp
		y3 = x
		y3 = cos(2.0_wp*PI*x)
		
		call figure()
		call subplot(1,1,1)
		call xylim(mixval(x),mixval([y1,y2,y3])*1.1_wp)
		
		call plot(x,y1,lineColor='b',lineWidth=10.0_wp)
		call plot(x,y2,lineColor='r',lineWidth=10.0_wp)
		call plot(x,y3,lineColor='c',lineWidth=10.0_wp)
		
		call ticks(lineWidth=5.0_wp)
		call labels('','','')
	end subroutine makeLogo

end program logo_prg