Changeset fa2d7d for molecuilder/src/analyzer.cpp
- Timestamp:
- Oct 17, 2008, 1:22:38 PM (17 years ago)
- Children:
- f5d7e1
- Parents:
- f89a9e
- File:
-
- 1 edited
-
molecuilder/src/analyzer.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/analyzer.cpp
rf89a9e rfa2d7d 390 390 if (periode != NULL) { // also look for PAS values 391 391 if(!OpenOutputFile(output, argv[3], "ShieldingsPAS-Order.pyx")) return 1; 392 if(!OpenOutputFile(output2, argv[3], "DeltaShieldingsPAS-Order.pyx")) return 1; 392 393 CreatePlotHeader(output, "ShieldingsPAS-Order", 1, "top right", NULL, NULL, 1, 5, "nuclei index", "iso chemical shielding value [ppm]"); 394 CreatePlotHeader(output2, "DeltaShieldingsPAS-Order", 1, "top right", NULL, NULL, 1, 5, "nuclei index", "iso chemical shielding value [ppm]"); 393 395 double step=0.8/KeySet.Order; 394 396 output << "set boxwidth " << step << endl; 395 397 output << "plot [0:" << ShieldingPAS.RowCounter[ShieldingPAS.MatrixCounter]+10 << "]\\" << endl; 398 output2 << "plot [0:" << ShieldingPAS.RowCounter[ShieldingPAS.MatrixCounter]+10 << "]\\" << endl; 396 399 for (int BondOrder=0;BondOrder<KeySet.Order;BondOrder++) { 397 400 output << "'ShieldingsPAS-Order.dat' index " << BondOrder << " title 'Order " << BondOrder+1 << "' using ($1+" << step*(double)BondOrder << "):7 with boxes, \\" << endl; 401 output2 << "'DeltaShieldingsPAS-Order.dat' index " << BondOrder << " title 'Order " << BondOrder+1 << "' using ($1):7 with linespoints"; 402 if (BondOrder-1 != KeySet.Order) 403 output2 << ", \\" << endl; 398 404 } 399 405 output << "'ShieldingsPAS-Order.dat' index " << KeySet.Order << " title 'Full' using ($1+" << step*(double)KeySet.Order << "):7 with boxes" << endl; 400 406 output.close(); 407 output2.close(); 401 408 } 402 409
Note:
See TracChangeset
for help on using the changeset viewer.
