def hrd_new(self, input_label="<STR_LIT>", skip=<NUM_LIT:0>):
xl_old=pyl.gca().get_xlim()<EOL>if input_label == "<STR_LIT>":<EOL><INDENT>my_label="<STR_LIT>"+str(self.header_attr['<STR_LIT>'])+"<STR_LIT>"+str(self.header_attr['<STR_LIT>'])<EOL><DEDENT>else:<EOL><INDENT>my_label="<STR_LIT>"+str(self.header_attr['<STR_LIT>'])+"<STR_LIT>"+str(self.header_attr['<STR_LIT>'])+"<STR_LIT>"+str(input_label)<EOL><DEDENT>pyl.plot(self.data[skip:,self.cols['<STR_LIT>']-<NUM_LIT:1>],self.data[skip:,self.cols['<STR_LIT>']-<NUM_LIT:1>],label = my_label)<EOL>pyl.legend(loc=<NUM_LIT:0>)<EOL>xl_new=pyl.gca().get_xlim()<EOL>pyl.xlabel('<STR_LIT>')<EOL>pyl.ylabel('<STR_LIT>')<EOL>if any(array(xl_old)==<NUM_LIT:0>):<EOL><INDENT>pyl.gca().set_xlim(max(xl_new),min(xl_new))<EOL><DEDENT>elif any(array(xl_new)==<NUM_LIT:0>):<EOL><INDENT>pyl.gca().set_xlim(max(xl_old),min(xl_old))<EOL><DEDENT>else:<EOL><INDENT>pyl.gca().set_xlim([max(xl_old+xl_new),min(xl_old+xl_new)])<EOL><DEDENT>
plot an HR diagram with options to skip the first N lines and
add a label string

Parameters
----------
input_label : string, optional
    Diagram label.  The default is "".
skip : integer, optional
    Skip the first n lines.  The default is 0.