We prove that for a typical continuous function
class="mathmlsrc">class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0022247X15010367&_mathId=si1.gif&_user=111111111&_pii=S0022247X15010367&_rdoc=1&_issn=0022247X&md5=0ab307b096eec0782b7355172c92cfd1" title="Click to view the MathML source">f∈C(X)class="mathContainer hidden">class="mathCode"> over an uncountable compact metric space
X, the packing dimension of its graph
class="formula" id="fm0010">
is
class="mathmlsrc">class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0022247X15010367&_mathId=si3.gif&_user=111111111&_pii=S0022247X15010367&_rdoc=1&_issn=0022247X&md5=2f508a5543e034b7459149cc2cf769ba" title="Click to view the MathML source">dimP(X)+1class="mathContainer hidden">class="mathCode">; we also consider decompositions of functions in
class="mathmlsrc">class="formulatext stixSupport mathImg" data-mathURL="/science?_ob=MathURL&_method=retrieve&_eid=1-s2.0-S0022247X15010367&_mathId=si4.gif&_user=111111111&_pii=S0022247X15010367&_rdoc=1&_issn=0022247X&md5=8f093f0e909fd2d27463a989419637d9" title="Click to view the MathML source">C([0,1])class="mathContainer hidden">class="mathCode"> in terms of upper box dimension as well as packing dimension, which are quite different from the case of Hausdorff dimension.