added extern varaibles for pltitle, xytitles positions