subplot Subroutine

public subroutine subplot(ny, nx, i, aspect, is3d)

Create a set of axes on a figure

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: ny

Number of subplot rows

integer, intent(in) :: nx

Number of subplot columns

integer, intent(in) :: i

Subplot to use

real(kind=wp), intent(in), optional :: aspect

Aspect ratio of the axes

logical, intent(in), optional :: is3d

Calls

proc~~subplot~~CallsGraph proc~subplot subplot 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
Help

Called By

proc~~subplot~~CalledByGraph proc~subplot subplot proc~doerror doError proc~doerror->proc~subplot proc~dobar doBar proc~dobar->proc~subplot proc~testbasicsolvers testBasicSolvers proc~testbasicsolvers->proc~subplot proc~dosurface doSurface proc~dosurface->proc~subplot proc~dologplot doLogPlot proc~dologplot->proc~subplot proc~docontour doContour proc~docontour->proc~subplot proc~makelogo makeLogo proc~makelogo->proc~subplot proc~dohist doHist proc~dohist->proc~subplot program~animate_prg animate_prg program~animate_prg->proc~subplot program~basic_prg basic_prg program~basic_prg->proc~subplot proc~dofillbetween doFillBetween proc~dofillbetween->proc~subplot proc~testsplinex testSplineX proc~testsplinex->proc~subplot proc~testsolvers testSolvers proc~testsolvers->proc~subplot proc~dolegend doLegend proc~dolegend->proc~subplot proc~doquiver doQuiver proc~doquiver->proc~subplot proc~doplot doPlot proc~doplot->proc~subplot proc~dofunction doFunction proc~dofunction->proc~subplot proc~doscatter doScatter proc~doscatter->proc~subplot program~examples_prg examples_prg program~examples_prg->proc~doerror program~examples_prg->proc~dobar program~examples_prg->proc~dosurface program~examples_prg->proc~dologplot program~examples_prg->proc~docontour program~examples_prg->proc~dohist program~examples_prg->proc~dofillbetween program~examples_prg->proc~dolegend program~examples_prg->proc~doquiver program~examples_prg->proc~doplot program~examples_prg->proc~doscatter program~testsparse_prg testSparse_prg program~testsparse_prg->proc~testbasicsolvers program~testsparse_prg->proc~testsolvers program~logo_prg logo_prg program~logo_prg->proc~makelogo program~testspline_prg testSpline_prg program~testspline_prg->proc~testsplinex proc~testfunction testFunction proc~testfunction->proc~dofunction program~testeval_prg testEval_prg program~testeval_prg->proc~testfunction
Help

Source Code


Source Code

	subroutine subplot(ny,nx,i,aspect,is3d)
		!! Create a set of axes on a figure
		integer,intent(in)::nx
			!! Number of subplot columns
		integer,intent(in)::ny
			!! Number of subplot rows
		integer,intent(in)::i
			!! Subplot to use
		real(wp),intent(in),optional::aspect
			!! Aspect ratio of the axes
		logical,intent(in),optional::is3d
		
		logical::is3dl
		
		call plssub(nx,ny)
		call pladv(i)
		call resetPen()
		
		is3dl = .false.
		if(present(is3d)) is3dl = is3d
		
		if(is3dl) then
			call plvpor(0.0_pp,1.0_pp,0.0_pp,1.0_pp)
		else
			if(present(aspect)) then
				call plvasp(real(aspect,pp))
			else
				call plvsta()
			end if
		end if
		
		call defaultLim()
	end subroutine subplot


abs abs_t acos_t ad_t add_t arg arrayToChar asin_t assignment(=) atan_t bar barh biCGSTAB_t biConjugateGradientStabilized binData box charToArray checkPrecision colorbar colorbar2 colorize colorMap config_t conjg conjugateGradient conjugateGradient_t contour contourf cos_a cos_t cpuTime cubicSpline_t deDup DFT div_t doBar doContour doError doFillBetween doFunction doHist doLegend doLogPlot doPlot doQuiver doScatter doSurface endsWith errorbar eval_test eval_testN evalR_abs evalR_acos evalR_add evalR_asin evalR_atan evalR_cos evalR_div evalR_exp evalR_imag evalR_log evalR_log10 evalR_mul evalR_neg evalR_p evalR_pow evalR_real evalR_sin evalR_sqrt evalR_sub evalR_tan evalR_var evalZ_abs evalZ_acos evalZ_add evalZ_asin evalZ_atan evalZ_cos evalZ_div evalZ_exp evalZ_imag evalZ_log evalZ_log10 evalZ_mul evalZ_neg evalZ_p evalZ_pow evalZ_real evalZ_sin evalZ_sqrt evalZ_sub evalZ_tan evalZ_var exp exp exp_t f FFT FFT_freq figure fillBetween fillBetweenx findInterval flatten function_t gaussSeidel gaussSeidel_t hist iDFT iFFT imag_t intToChar inv jacobi jacobi_t labels legend linearInterp linearSpline_t lineSearch_t linspace log log log10 log10 log10_t log_t makeLogo matmul matmul maxval mean meshGridX meshGridY minimumResidual minval mixval mul_t neg_t newAbs newAcos newAdd newAsin newAtan newCos newDiv newExp newImag newIterator newLog newLog10 newMul newNeg newNodeStack newPow newReal newSin newSparse newSpvec newSqrt newSub newTan newToken newVar nint nodeStack_t norm2 norm2 operator(*) operator(*) operator(*) operator(**) operator(+) operator(+) operator(+) operator(-) operator(-) operator(.d.) operator(.o.) operator(.o.) operator(.oo.) operator(.sx.) operator(.x.) operator(/) operator(/) operator(<) operator(>) plot plot3 pop pow_t printTypes push quat_t quiver randomNormal randomUniform readGrid readStep real_t realToChar realToTime removeSpaces scaler scatter setRandomSeed setup show showProgress sin_a sin_t solveLU solveLU solverProgress SOR_t span sqrt sqrt_t startReport startsWith stDev steepestDescent sub_t subplot successiveOverRelaxation sum sum surface symmetricGaussSeidel symmetricSuccessiveOverRelaxation tan_a tan_t TDMA TDMA testBasic testBasicSolvers testColorize testColorMap testConstants testCpuTime testDeDup testDiff testDot testEndsWith testFFT testFlatten testFunction testIFFT testIntToChar testLinearInterp testLinspace testLU testMean testMeshGrid testMixval testNewConfig testNewSparse testNewSpline testNext testObjective testObjectiveN testPlot testPrecision testRandomNormal testRandomUniform testRead testReadGmsh testRealToChar testRealToTime testRemoveSpaces testSetRandomSeed testSolvers testSpan testSplineX testSpvec testStartsWith testStDev testTDMA testWallTime testWrite testWriteMat testWriteVTK testWriteVTK ticks title token_t tokenize toRPN transpose v2m var_t vector wait wallTime wireframe writeGrid writeGridVTK writeHeaderVTK writeMat writeScalarVTK writeStep writeVectorVTK xlabel xlim xticks xylim xyzlim ylabel ylim yticks