Develop and Download Open Source Software

Browse Subversion Repository

Diff of /Conograph/trunk/src/p_out_indexing.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by rtomiyasu, Fri Feb 22 04:51:31 2013 UTC revision 16 by rtomiyasu, Fri Apr 26 08:50:24 2013 UTC
# Line 727  void printPeakPosition( Line 727  void printPeakPosition(
727                  const PeakPosData& pdata,                  const PeakPosData& pdata,
728                  const eABCaxis& axis1, const eRHaxis& axis2,                  const eABCaxis& axis1, const eRHaxis& axis2,
729                  const vector<LatticeFigureOfMeritToDisplay>& latfit_tray,                  const vector<LatticeFigureOfMeritToDisplay>& latfit_tray,
730                    const Double& offset_first,
731                  const string& fname)                  const string& fname)
732  {  {
733          ofstream ofs(fname.c_str());          ofstream ofs(fname.c_str());
# Line 802  void printPeakPosition( Line 803  void printPeakPosition(
803      *os << "X ModifyGraph mode(height)=3,marker(height)=17\n";      *os << "X ModifyGraph mode(height)=3,marker(height)=17\n";
804      *os << "X ModifyGraph rgb(height)=(0,65280,65280)\n";      *os << "X ModifyGraph rgb(height)=(0,65280,65280)\n";
805    
806      const Double offset = pdata.putAveragePeakHeightOfFirst20() * 0.3;      const Double width = pdata.putAveragePeakHeightOfFirst20() * 0.3;
807        Double offset = offset_first;
808      for (Int4 j=0, j1=1; j<isize; j++, j1++)      for (Int4 j=0, j1=1; j<isize; j++, j1++)
809          {          {
810                  *os << "X AppendToGraph yphase_" << j1 << " vs xphase_" << j1 << endl;                  *os << "X AppendToGraph yphase_" << j1 << " vs xphase_" << j1 << endl;
811                  *os << "X ModifyGraph offset(yphase_" << j1 << ")={0," << offset * (-j) << "},mode(yphase_" << j1 << ")=3,marker(yphase_" << j1;                  *os << "X ModifyGraph offset(yphase_" << j1 << ")={0," << offset << "},mode(yphase_" << j1 << ")=3,marker(yphase_" << j1;
812                  *os << ")=10,msize(yphase_" << j1 << ")=3,mrkThick(yphase_" << j1 << ")=0.6,rgb(yphase_" << j1 << ")=(3,52428,1)" << endl;                  *os << ")=10,msize(yphase_" << j1 << ")=3,mrkThick(yphase_" << j1 << ")=0.6,rgb(yphase_" << j1 << ")=(3,52428,1)" << endl;
813                    offset -= width;
814          }          }
815    
816      *os << "X Legend/C/N=text0/J/A=MC \"";      *os << "X Legend/C/N=text0/J/A=MC \"";

Legend:
Removed from v.3  
changed lines
  Added in v.16

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26