def style_chg_ref(self,ref,symb=None,edc=None,fac=None,smbsz=None,edw=None,lab=None):
<EOL>for i in range(len(self.style)):<EOL><INDENT>if self.desc[i][self.descdict['<STR_LIT>']] == ref:<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 reference of the paper
as given in the grain database. For change according to type of
grain, use the routine syle_chg_label().

['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
----------
ref : string
    Select the reference 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.