\n"); printf("\n\n"); printf("\n"); printf("show plots\n"); printf("\n"); printf("\n"); printf("\n"); $seq=0; if (!empty($_GET["seq"])) $seq=$_GET["seq"]; $tabnum=1; if (!empty($_GET["tabnum"])) $tabnum=$_GET["tabnum"]; $type2="calib"; if (!empty($_GET["type2"])) $type2=$_GET["type2"]; if (!empty($seq)) { $type=gettypename($type2); $plot=getplotname($seq, $tabnum, $type, $type2); //be careful: this has to be adapted in case tabs are removed or new tabs are added if (($type2=="calib" && $tabnum==12) || ($type2=="signal" && $tabnum==11) || ($type2=="star" && $tabnum==15)) { $tabnum=1; $type2=nexttype2($type2); $type=gettypename($type2); $plot=getplotname($seq, $tabnum, $type, $type2); } $tabnum=$tabnum+1; } printf("
\n"); printf("\n"); printf("\n\n\n\n\n
\n"); printf("\n", $seq); printf("\n", $type2); printf("\n", $tabnum); printf("\n"); printf("plot: %s
", $plot); printf("
\n"); if (!empty($seq)) printf("", $plot); else printf("You have to select a sequence."); printf("
\n"); printf("
\n"); printf("\n"); printf("\n"); ?>