00001 //LabPlot weight.h 00002 00003 // used from regression and nonlinear fit 00004 00005 #ifndef WEIGHT_H 00006 #define WEIGHT_H 00007 00008 static const char *weightitems[] = {I18N_NOOP("equal"),I18N_NOOP("y"),I18N_NOOP("y^2"), 00009 I18N_NOOP("1/y"),I18N_NOOP("1/y^2"),I18N_NOOP("errorbar"),0}; 00010 //static const char *weightitems[] = {I18N_NOOP("equal"),I18N_NOOP("y"),I18N_NOOP("y^2"), 00011 // I18N_NOOP("1/y"),I18N_NOOP("1/y^2"),I18N_NOOP("x"),I18N_NOOP("x^2"), 00012 // I18N_NOOP("1/x"),I18N_NOOP("1/x^2"),I18N_NOOP("errorbar"),I18N_NOOP("user"),0}; 00013 00014 enum Weight {WEQUAL,WY,WYY,W1Y,W1YY,WERROR}; 00015 //enum Weight {WEQUAL,WY,WYY,W1Y,W1YY,WX,WXX,W1X,W1XX,WERROR,WUSER}; 00016 00017 #endif // WEIGHT_H