\n", $column, $num); else printf("\n"); } ini_set("display_errors", "On"); ini_set("mysql.trace_mode", "On"); echo (file_get_contents("index-header.html")); include("plotinclude.php"); //init if (empty($_GET["plot"])) $_GET["plot"]=0; if (empty($_GET["primstart"])) $_GET["primstart"]=0; if (empty($_GET["primstop"])) $_GET["primstop"]=0; if (empty($_GET["prim"])) $_GET["prim"]=0; if (empty($_GET["fSequenceFirstCol"])) $_GET["fSequenceFirstCol"]=0; if (empty($_GET["fSequenceFirstCol2"])) $_GET["fSequenceFirstCol2"]=0; if (empty($_GET["fRunNumberCol"])) $_GET["fRunNumberCol"]=0; if (empty($_GET["fRunNumberCol2"])) $_GET["fRunNumberCol2"]=0; if (empty($_GET["fDataSetNumberCol"])) $_GET["fDataSetNumberCol"]=0; if (empty($_GET["fDataSetNumberCol2"])) $_GET["fDataSetNumberCol2"]=0; if (empty($_GET["0Start"])) $_GET["0Start"]=0; if (empty($_GET["0Stop"])) $_GET["0Stop"]=0; if (empty($_GET["0Start2"])) $_GET["0Start2"]=0; if (empty($_GET["0Stop2"])) $_GET["0Stop2"]=0; if (empty($_GET["Set"])) $_GET["Set"]=0; if (empty($_GET["Set2"])) $_GET["Set2"]=0; printf("
\n\n"); printf("\n"); printf("\n"); printf("\n"); /* printf("", $query); */ printf("
\n"); printf("
\n"); printf("  vs primary  ", $_GET["plot"]=="prim" ? "checked" : ""); printf("  vs value

", $_GET["plot"]=="val" ? "checked" : ""); printf("\n"); printf(" from ", $_GET["primstart"]); printf(" to 
\n", $_GET["primstop"]); foreach($prims as $primary => $column) { $list=GetList($host, $user, $pw, $db, $column, $tables); PrintDiv($column, $list, ""); PrintDiv($column, $list, "2"); } printf("
Set1: \n", $_GET["Set"]); printf("
Set2: \n", $_GET["Set2"]); printf("


\n"); printf("
\n"); printf("
"); printf("
\n"); if (!empty($_GET)) { $img="plot.php?par=hallo"; foreach($_GET as $var => $val) $img.="&".$var ."=".$val; // printf("link: %s
", $img); printf("plot", $img); } printf("
\n"); printf("some remarks:\n
    "); printf("
  • For Runs plotting the whole range (i.e. without giving a range or when giving a too large range) "); printf("doesn't work with ChartDirector.
  • \n"); printf("
  • In Set1 and Set2 Sets can be given (e.g. on sequences in Set1 and off sequences in Set2) - they "); printf("are displayed in colour (Set: blue, Set2: red). Please give the numbers with space as separator (e.g. 40004 40022).\n"); printf("
  • 0 is not accepted in the ranges fields, please write .0 or 00
  • "); printf("
  • Be aware, that plotting timestamps, e.g. fRunStart, doesn't work.
  • "); printf("
\n"); $query=GetQuery($tables, $joins); printf("Q: %s
\n"); printf("
\n"); echo (file_get_contents("index-footer.html")); ini_set("display_errors", "Off"); ini_set("mysql.trace_mode", "Off"); } ?>