def style_chg_label(self,type,symb=None,edc=None,fac=None,smbsz=None,edw=None,lab=None):
<EOL>for i in range(len(self.style)):<EOL><INDENT>if self.style[i][self.styledict['<STR_LIT>']] == type:<EOL><INDENT>if symb != None:<EOL><INDENT>self.style[i][self.styledict['<STR_LIT>']] = symb<EOL><DEDENT>if edc != None:<EOL><INDENT>self.style[i][self.styledict['<STR_LIT>']] = edc<EOL><DEDENT>if fac != None:<EOL><INDENT>self.style[i][self.styledict['<STR_LIT>']] = fac<EOL><DEDENT>if smbsz != None:<EOL><INDENT>self.style[i][self.styledict['<STR_LIT>']] = smbsz<EOL><DEDENT>if edw != None:<EOL><INDENT>self.style[i][self.styledict['<STR_LIT>']] = edw<EOL><DEDENT>if lab != None:<EOL><INDENT>self.style[i][self.styledict['<STR_LIT>']] = lab<EOL><DEDENT><DEDENT><DEDENT>
This routine changes the plotting style that is set by default.
The style is changed according the the label that you choose.
Changing according to reference, use style_chg_ref() function!
You can change it back to default by resetting the filter using
g.reset_filter() routine, assuming that g is your instance. The
format that is used here is:

['Symbol', 'Edge color', 'Face color', 'Symbol size', 'Edge width'
,'Label']

You can see the current styles by running

Attention: You have to give values to all variables that are
compatible with the python mathplotlib. If not, it's your fault
if nothing works.

g.style

Parameters
----------
type : string
    Select the label of the grains you want to change.
symb : string, optional
    Select new symbol. None for no change.
edc : string, optional
    Select new edge color. None for no change.
fac : string, optional
    Select new face color. None for no change.
smbsz : string, optional
    Select new symbol size. None for no change.
edw : string, optional
    Select new edge width. None for no change.
lab : string, optional
    Select new label. None for no change. Watch out, if you
    want to do more specifications later, the type will
    have changed to the new label.