def _do_title_string(self,title_items,cycle):
title_string=[]<EOL>form_str='<STR_LIT>'<EOL>for item in title_items:<EOL><INDENT>num=self.get(item,fname=cycle)<EOL>if num > <NUM_LIT> or num < <NUM_LIT:0.1>:<EOL><INDENT>num=log10(num)<EOL>prefix='<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>prefix='<STR_LIT>'<EOL><DEDENT>title_string.append(prefix+item+'<STR_LIT:=>'+form_str%num)<EOL><DEDENT>tt='<STR_LIT>'<EOL>for thing in title_string:<EOL><INDENT>tt = tt+thing+"<STR_LIT:U+002CU+0020>"<EOL><DEDENT>return tt.rstrip('<STR_LIT:U+002CU+0020>')<EOL>
Create title string

Private method that creates a title string for a cycle plot
out of a list of title_items that are cycle attributes and can
be obtained with self.get

Parameters
----------
title_items : list
    A list of cycle attributes.
cycle : scalar
    The cycle for which the title string should be created.

Returns
-------
title_string: string
    Title string that can be used to decorate plot.