Changeset 12099 for trunk/FACT++
- Timestamp:
- 09/14/11 10:19:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fitsdump.cc
r12060 r12099 105 105 bool Dump(const string &, const vector<string> &list, int); 106 106 ///Display the selected columns values VS time 107 #ifdef PLOTTING_PLEASE 107 108 int doCurvesDisplay( const vector<string> &list, const string& tableName); 108 // bool Plot(const vector<string> &list); 109 #endif 110 // bool Plot(const vector<string> &list); 109 111 110 112 public: … … 774 776 } 775 777 778 #ifdef PLOTTING_PLEASE 776 779 if (conf.Get<bool>("graph")) 777 780 { … … 785 788 return 1; 786 789 } 787 790 #endif 788 791 789 792 if (conf.Get<bool>("header")) … … 1026 1029 return 0; 1027 1030 } 1028 #else1029 int FitsDumper::doCurvesDisplay( const vector<string> &list, const string& tableName)1030 {1031 cerr << "Sorry, but plotting features seem to have been disabled at compilation time." << endl;1032 cerr << "Please recompile with PLOTTING_PLEASE defined and try again." << endl;1033 return 0;1034 }1035 1031 #endif 1032 1036 1033 void SetupConfiguration(Configuration& conf) 1037 1034 { … … 1053 1050 ("list,l", po_switch(), "List all tables and columns in file") 1054 1051 ("header,h", po_switch(), "Dump header of given table") 1055 ("graph,g", po_switch(), "Plot the columns instead of dumping them") 1052 #ifdef PLOTTING_PLEASE 1053 ("graph,g", po_switch(), "Plot the columns instead of dumping them") 1054 #endif 1056 1055 ; 1057 1056
Note:
See TracChangeset
for help on using the changeset viewer.