diff --git a/doc/alpha.png b/doc/alpha.png new file mode 100644 index 0000000000000000000000000000000000000000..c73de7b05000443a0842f2e915d30dc5efec0dd1 Binary files /dev/null and b/doc/alpha.png differ diff --git a/doc/c++.png b/doc/c++.png new file mode 100644 index 0000000000000000000000000000000000000000..24f56e6293df813f7699555d0fdd0224a33bdac9 Binary files /dev/null and b/doc/c++.png differ diff --git a/doc/c.png b/doc/c.png new file mode 100644 index 0000000000000000000000000000000000000000..c39fbf0e25ee296c5da082458363c45d945e55ac Binary files /dev/null and b/doc/c.png differ diff --git a/doc/demoicon.gif b/doc/demoicon.gif new file mode 100644 index 0000000000000000000000000000000000000000..c89e7acbc2a74f36f35d2ba23cdd095366563205 Binary files /dev/null and b/doc/demoicon.gif differ diff --git a/doc/down.png b/doc/down.png new file mode 100644 index 0000000000000000000000000000000000000000..d41104a26f3d09deda6ab54281affd82c981abb1 Binary files /dev/null and b/doc/down.png differ diff --git a/doc/doxysearch.php b/doc/doxysearch.php new file mode 100644 index 0000000000000000000000000000000000000000..36112a4269d230c943b1905bebef99b5ccb2fa9f --- /dev/null +++ b/doc/doxysearch.php @@ -0,0 +1,329 @@ +<?php +/****************************************************************************** + * + * $Id:$ + * + * Copyright (C) 1997-2003 by Dimitri van Heesch. + * + * Permission to use, copy, modify, and distribute this software and its + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software + * for any purpose. It is provided "as is" without express or implied warranty. + * See the GNU General Public License for more details. + * + */ + +function readInt($file) +{ + $b1 = ord(fgetc($file)); $b2 = ord(fgetc($file)); + $b3 = ord(fgetc($file)); $b4 = ord(fgetc($file)); + return ($b1<<24)|($b2<<16)|($b3<<8)|$b4; +} + +function readString($file) +{ + $result=""; + while (ord($c=fgetc($file))) $result.=$c; + return $result; +} + +function readHeader($file) +{ + $header =fgetc($file); $header.=fgetc($file); + $header.=fgetc($file); $header.=fgetc($file); + return $header; +} + +function computeIndex($word) +{ + if (strlen($word)<2) return -1; + // high char of the index + $hi = ord($word{0}); + if ($hi==0) return -1; + // low char of the index + $lo = ord($word{1}); + if ($lo==0) return -1; + // return index + return $hi*256+$lo; +} + +function search($file,$word,&$statsList) +{ + $index = computeIndex($word); + if ($index!=-1) // found a valid index + { + fseek($file,$index*4+4); // 4 bytes per entry, skip header + $index = readInt($file); + if ($index) // found words matching first two characters + { + $start=sizeof($statsList); + $count=$start; + fseek($file,$index); + $w = readString($file); + while ($w) + { + $statIdx = readInt($file); + if ($word==substr($w,0,strlen($word))) + { // found word that matches (as substring) + $statsList[$count++]=array( + "word"=>$word, + "match"=>$w, + "index"=>$statIdx, + "full"=>strlen($w)==strlen($word), + "docs"=>array() + ); + } + $w = readString($file); + } + $totalFreq=0; + for ($count=$start;$count<sizeof($statsList);$count++) + { + $statInfo = &$statsList[$count]; + fseek($file,$statInfo["index"]); + $numDocs = readInt($file); + $docInfo = array(); + // read docs info + occurrence frequency of the word + for ($i=0;$i<$numDocs;$i++) + { + $idx=readInt($file); + $freq=readInt($file); + $docInfo[$i]=array("idx"=>$idx,"freq"=>$freq,"rank"=>0.0); + $totalFreq+=$freq; + if ($statInfo["full"]) $totalfreq+=$freq; + } + // read name an url info for the doc + for ($i=0;$i<$numDocs;$i++) + { + fseek($file,$docInfo[$i]["idx"]); + $docInfo[$i]["name"]=readString($file); + $docInfo[$i]["url"]=readString($file); + } + $statInfo["docs"]=$docInfo; + } + for ($count=$start;$count<sizeof($statsList);$count++) + { + $statInfo = &$statsList[$count]; + for ($i=0;$i<sizeof($statInfo["docs"]);$i++) + { + $docInfo = &$statInfo["docs"]; + // compute frequency rank of the word in each doc + $statInfo["docs"][$i]["rank"]= + (float)$docInfo[$i]["freq"]/$totalFreq; + } + } + } + } + return $statsList; +} + +function combine_results($results,&$docs) +{ + foreach ($results as $wordInfo) + { + $docsList = &$wordInfo["docs"]; + foreach ($docsList as $di) + { + $key=$di["url"]; + $rank=$di["rank"]; + if (in_array($key, array_keys($docs))) + { + $docs[$key]["rank"]+=$rank; + $docs[$key]["rank"]*=2; // multiple matches increases rank + } + else + { + $docs[$key] = array("url"=>$key, + "name"=>$di["name"], + "rank"=>$rank + ); + } + $docs[$key]["words"][] = array( + "word"=>$wordInfo["word"], + "match"=>$wordInfo["match"], + "freq"=>$di["freq"] + ); + } + } + return $docs; +} + +function normalize_ranking(&$docs) +{ + $maxRank = 0.0000001; + // compute maximal rank + foreach ($docs as $doc) + { + if ($doc["rank"]>$maxRank) + { + $maxRank=$doc["rank"]; + } + } + reset($docs); + // normalize rankings + while (list ($key, $val) = each ($docs)) + { + $docs[$key]["rank"]*=100/$maxRank; + } +} + +function filter_results($docs,&$requiredWords,&$forbiddenWords) +{ + $filteredDocs=array(); + while (list ($key, $val) = each ($docs)) + { + $words = &$docs[$key]["words"]; + $copy=1; // copy entry by default + if (sizeof($requiredWords)>0) + { + foreach ($requiredWords as $reqWord) + { + $found=0; + foreach ($words as $wordInfo) + { + $found = $wordInfo["word"]==$reqWord; + if ($found) break; + } + if (!$found) + { + $copy=0; // document contains none of the required words + break; + } + } + } + if (sizeof($forbiddenWords)>0) + { + foreach ($words as $wordInfo) + { + if (in_array($wordInfo["word"],$forbiddenWords)) + { + $copy=0; // document contains a forbidden word + break; + } + } + } + if ($copy) $filteredDocs[$key]=$docs[$key]; + } + return $filteredDocs; +} + +function compare_rank($a,$b) +{ + return ($a["rank"]>$b["rank"]) ? -1 : 1; +} + +function sort_results($docs,&$sorted) +{ + $sorted = $docs; + usort($sorted,"compare_rank"); + return $sorted; +} + +function report_results(&$docs) +{ + echo "<table cellspacing=\"2\">\n"; + echo " <tr>\n"; + echo " <td colspan=\"2\"><h2>Search Results</h2></td>\n"; + echo " </tr>\n"; + $numDocs = sizeof($docs); + if ($numDocs==0) + { + echo " <tr>\n"; + echo " <td colspan=\"2\">".matches_text(0)."</td>\n"; + echo " </tr>\n"; + } + else + { + echo " <tr>\n"; + echo " <td colspan=\"2\">".matches_text($numDocs); + echo "\n"; + echo " </td>\n"; + echo " </tr>\n"; + $num=1; + foreach ($docs as $doc) + { + echo " <tr>\n"; + echo " <td align=\"right\">$num.</td>"; + echo "<td><a class=\"el\" href=\"".$doc["url"]."\">".$doc["name"]."</a></td>\n"; + echo " <tr>\n"; + echo " <td></td><td class=\"tiny\">Matches: "; + foreach ($doc["words"] as $wordInfo) + { + $word = $wordInfo["word"]; + $matchRight = substr($wordInfo["match"],strlen($word)); + echo "<b>$word</b>$matchRight(".$wordInfo["freq"].") "; + } + echo " </td>\n"; + echo " </tr>\n"; + $num++; + } + } + echo "</table>\n"; +} + +function matches_text($num) +{ + if ($num==0) + { + return 'Sorry, no documents matching your query.'; + } + else if ($num==1) + { + return 'Found 1 document matching your query.'; + } + else // $num>1 + { + return 'Found '.$num.' documents matching your query. Showing best matches first.'; + } +} + +function main($idxfile) +{ + if(strcmp('4.1.0', phpversion()) > 0) + { + die("Error: PHP version 4.1.0 or above required!"); + } + if (!($file=fopen($idxfile,"rb"))) + { + die("Error: Search index file could NOT be opened!"); + } + if (readHeader($file)!="DOXS") + { + die("Error: Header of index file is invalid!"); + } + $query=""; + if (array_key_exists("query", $_GET)) + { + $query=$_GET["query"]; + } + $results = array(); + $requiredWords = array(); + $forbiddenWords = array(); + $foundWords = array(); + $word=strtolower(strtok($query," ")); + while ($word) // for each word in the search query + { + if (($word{0}=='+')) { $word=substr($word,1); $requiredWords[]=$word; } + if (($word{0}=='-')) { $word=substr($word,1); $forbiddenWords[]=$word; } + if (!in_array($word,$foundWords)) + { + $foundWords[]=$word; + search($file,$word,$results); + } + $word=strtolower(strtok(" ")); + } + $docs = array(); + combine_results($results,$docs); + // filter out documents with forbidden word or that do not contain + // required words + $filteredDocs = filter_results($docs,$requiredWords,$forbiddenWords); + // normalize rankings so they are in the range [0-100] + normalize_ranking($filteredDocs); + // sort the results based on rank + $sorted = array(); + sort_results($filteredDocs,$sorted); + // report results to the user + report_results($sorted); + fclose($file); +} + +?> diff --git a/doc/fortran.png b/doc/fortran.png new file mode 100644 index 0000000000000000000000000000000000000000..350c572ee38fc5aa8cef025284caa41a46921cbf Binary files /dev/null and b/doc/fortran.png differ diff --git a/doc/graph.dot b/doc/graph.dot new file mode 100644 index 0000000000000000000000000000000000000000..b58947e98e3912affccd87c9b27c7f64310a35c6 --- /dev/null +++ b/doc/graph.dot @@ -0,0 +1,23 @@ +/* Created by mdot for Matlab */ +digraph m2html { + default_test -> example_fcn; + default_test -> Publish; + default_test -> TagPlot; + example -> example_fcn; + example -> Publish; + example -> TagPlot; + Publish -> createLinkedHDF5; + Publish -> removePltIdFiles; + TagPlot -> CreateID; + + default_test [URL="plot_ID_matlab/CI_files/default_test.html"]; + example [URL="plot_ID_matlab/example.html"]; + example_fcn [URL="plot_ID_matlab/example_fcn.html"]; + CreateID [URL="plot_ID_matlab/fcn_core/CreateID.html"]; + Publish [URL="plot_ID_matlab/fcn_core/Publish.html"]; + TagPlot [URL="plot_ID_matlab/fcn_core/TagPlot.html"]; + FileCompare [URL="plot_ID_matlab/fcn_help/FileCompare.html"]; + FriendlyID [URL="plot_ID_matlab/fcn_help/FriendlyID.html"]; + createLinkedHDF5 [URL="plot_ID_matlab/fcn_help/createLinkedHDF5.html"]; + removePltIdFiles [URL="plot_ID_matlab/fcn_help/removePltIdFiles.html"]; +} \ No newline at end of file diff --git a/doc/graph.html b/doc/graph.html new file mode 100644 index 0000000000000000000000000000000000000000..9622ac98f151c77fd6dd2be3afe3f5487f815212 --- /dev/null +++ b/doc/graph.html @@ -0,0 +1,35 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Dependency Graph for the whole toolbox</title> + <meta name="keywords" content="dependency, graph, dependence, the whole toolbox"> + <meta name="description" content="Dependency graph for the whole toolbox"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="./m2html.css"> +</head> +<body> +<a name="_top"></a> +<h1>Dependency Graph for the whole toolbox</h1> + +<center> +<img src="graph.png" usemap="#mainmap" alt="Dependency Graph for the whole toolbox" border="2" style="color:#000;"> +<map name="mainmap"> +<area shape="poly" id="node1" href="plot_ID_matlab/CI_files/default_test.html" title="default_test" alt="" coords="312,29,308,22,298,15,283,10,263,7,242,5,220,7,200,10,185,15,175,22,171,29,175,37,185,43,200,49,220,52,242,53,263,52,283,49,298,43,308,37"> +<area shape="poly" id="node2" href="plot_ID_matlab/example_fcn.html" title="example_fcn" alt="" coords="252,125,249,118,238,111,221,106,200,103,176,101,153,103,131,106,114,111,104,118,100,125,104,133,114,139,131,145,153,148,176,149,200,148,221,145,238,139,249,133"> +<area shape="poly" id="node3" href="plot_ID_matlab/fcn_core/Publish.html" title="Publish" alt="" coords="377,125,375,118,368,111,356,106,342,103,327,101,311,103,297,106,286,111,279,118,277,125,279,133,286,139,297,145,311,148,327,149,342,148,356,145,368,139,375,133"> +<area shape="poly" id="node4" href="plot_ID_matlab/fcn_core/TagPlot.html" title="TagPlot" alt="" coords="506,125,504,118,496,111,485,106,470,103,454,101,437,103,422,106,411,111,403,118,401,125,403,133,411,139,422,145,437,148,454,149,470,148,485,145,496,139,504,133"> +<area shape="poly" id="node6" href="plot_ID_matlab/fcn_help/createLinkedHDF5.html" title="createLinkedHDF5" alt="" coords="433,221,427,214,412,207,389,202,360,199,327,197,294,199,265,202,241,207,226,214,221,221,226,229,241,235,265,241,294,244,327,245,360,244,389,241,412,235,427,229"> +<area shape="poly" id="node7" href="plot_ID_matlab/fcn_help/removePltIdFiles.html" title="removePltIdFiles" alt="" coords="198,221,193,214,179,207,158,202,131,199,102,197,72,199,45,202,24,207,10,214,5,221,10,229,24,235,45,241,72,244,102,245,131,244,158,241,179,235,193,229"> +<area shape="poly" id="node8" href="plot_ID_matlab/fcn_core/CreateID.html" title="CreateID" alt="" coords="573,221,570,214,562,207,549,202,533,199,515,197,497,199,481,202,468,207,460,214,457,221,460,229,468,235,481,241,497,244,515,245,533,244,549,241,562,235,570,229"> +<area shape="poly" id="node5" href="plot_ID_matlab/example.html" title="example" alt="" coords="443,29,441,22,433,15,421,10,406,7,390,5,373,7,358,10,346,15,338,22,336,29,338,37,346,43,358,49,373,52,390,53,406,52,421,49,433,43,441,37"> +<area shape="poly" id="node9" href="plot_ID_matlab/fcn_help/FileCompare.html" title="FileCompare" alt="" coords="621,29,618,22,607,15,590,10,568,7,544,5,520,7,499,10,482,15,471,22,467,29,471,37,482,43,499,49,520,52,544,53,568,52,590,49,607,43,618,37"> +<area shape="poly" id="node10" href="plot_ID_matlab/fcn_help/FriendlyID.html" title="FriendlyID" alt="" coords="779,29,776,22,766,15,751,10,733,7,712,5,692,7,673,10,658,15,649,22,645,29,649,37,658,43,673,49,692,52,712,53,733,52,751,49,766,43,776,37"> +</map> +</center> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/graph.map b/doc/graph.map new file mode 100644 index 0000000000000000000000000000000000000000..4a0f7b23398a56d0690536837ae2497c6632bf68 --- /dev/null +++ b/doc/graph.map @@ -0,0 +1,10 @@ +<area shape="poly" id="node1" href="plot_ID_matlab/CI_files/default_test.html" title="default_test" alt="" coords="312,29,308,22,298,15,283,10,263,7,242,5,220,7,200,10,185,15,175,22,171,29,175,37,185,43,200,49,220,52,242,53,263,52,283,49,298,43,308,37"> +<area shape="poly" id="node2" href="plot_ID_matlab/example_fcn.html" title="example_fcn" alt="" coords="252,125,249,118,238,111,221,106,200,103,176,101,153,103,131,106,114,111,104,118,100,125,104,133,114,139,131,145,153,148,176,149,200,148,221,145,238,139,249,133"> +<area shape="poly" id="node3" href="plot_ID_matlab/fcn_core/Publish.html" title="Publish" alt="" coords="377,125,375,118,368,111,356,106,342,103,327,101,311,103,297,106,286,111,279,118,277,125,279,133,286,139,297,145,311,148,327,149,342,148,356,145,368,139,375,133"> +<area shape="poly" id="node4" href="plot_ID_matlab/fcn_core/TagPlot.html" title="TagPlot" alt="" coords="506,125,504,118,496,111,485,106,470,103,454,101,437,103,422,106,411,111,403,118,401,125,403,133,411,139,422,145,437,148,454,149,470,148,485,145,496,139,504,133"> +<area shape="poly" id="node6" href="plot_ID_matlab/fcn_help/createLinkedHDF5.html" title="createLinkedHDF5" alt="" coords="433,221,427,214,412,207,389,202,360,199,327,197,294,199,265,202,241,207,226,214,221,221,226,229,241,235,265,241,294,244,327,245,360,244,389,241,412,235,427,229"> +<area shape="poly" id="node7" href="plot_ID_matlab/fcn_help/removePltIdFiles.html" title="removePltIdFiles" alt="" coords="198,221,193,214,179,207,158,202,131,199,102,197,72,199,45,202,24,207,10,214,5,221,10,229,24,235,45,241,72,244,102,245,131,244,158,241,179,235,193,229"> +<area shape="poly" id="node8" href="plot_ID_matlab/fcn_core/CreateID.html" title="CreateID" alt="" coords="573,221,570,214,562,207,549,202,533,199,515,197,497,199,481,202,468,207,460,214,457,221,460,229,468,235,481,241,497,244,515,245,533,244,549,241,562,235,570,229"> +<area shape="poly" id="node5" href="plot_ID_matlab/example.html" title="example" alt="" coords="443,29,441,22,433,15,421,10,406,7,390,5,373,7,358,10,346,15,338,22,336,29,338,37,346,43,358,49,373,52,390,53,406,52,421,49,433,43,441,37"> +<area shape="poly" id="node9" href="plot_ID_matlab/fcn_help/FileCompare.html" title="FileCompare" alt="" coords="621,29,618,22,607,15,590,10,568,7,544,5,520,7,499,10,482,15,471,22,467,29,471,37,482,43,499,49,520,52,544,53,568,52,590,49,607,43,618,37"> +<area shape="poly" id="node10" href="plot_ID_matlab/fcn_help/FriendlyID.html" title="FriendlyID" alt="" coords="779,29,776,22,766,15,751,10,733,7,712,5,692,7,673,10,658,15,649,22,645,29,649,37,658,43,673,49,692,52,712,53,733,52,751,49,766,43,776,37"> diff --git a/doc/graph.png b/doc/graph.png new file mode 100644 index 0000000000000000000000000000000000000000..3e1dcce50febbb79941782e807c1d18d8c1a48cd Binary files /dev/null and b/doc/graph.png differ diff --git a/doc/hp.png b/doc/hp.png new file mode 100644 index 0000000000000000000000000000000000000000..d09f988fb289d659869dbb1b2f199fd967a93958 Binary files /dev/null and b/doc/hp.png differ diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 0000000000000000000000000000000000000000..01d6dbc144c49e06e62ab0787ce39e8447e2216f --- /dev/null +++ b/doc/index.html @@ -0,0 +1,22 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Matlab Documentation by M2HTML</title> + <meta name="keywords" content="matlab, m2html, documentation"> + <meta name="description" content="Matlab Documentation by M2HTML"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="m2html.css"> +</head> +<frameset cols="20%, 80%"> + <frame scrolling="yes" name="menu" src="menu.html"></frame> + <frame scrolling="yes" name="function" src="about:blank"></frame> +</frameset> +<noframe> +This is a Matlab Documentation by M2HTML.<br> +Go to <a href="menu.html">menu.html</a> for the documentation of all +the Matlab functions. +</noframe> +</html> diff --git a/doc/left.png b/doc/left.png new file mode 100644 index 0000000000000000000000000000000000000000..404df045f40970496c71ca6b8c1f1357af271e27 Binary files /dev/null and b/doc/left.png differ diff --git a/doc/linux.png b/doc/linux.png new file mode 100644 index 0000000000000000000000000000000000000000..42c0c328ee43a884158a8363682c493d4a4c335f Binary files /dev/null and b/doc/linux.png differ diff --git a/doc/m2html.css b/doc/m2html.css new file mode 100644 index 0000000000000000000000000000000000000000..030a84b59b3d1b72c2a54a469a39200a862a388c --- /dev/null +++ b/doc/m2html.css @@ -0,0 +1,90 @@ +body { + background: white; + color: black; + font-family: arial,sans-serif; + margin: 0; + padding: 1ex; +} + +div.fragment { + width: 98%; + border: 1px solid #CCCCCC; + background-color: #f5f5f5; + padding-left: 4px; + margin: 4px; +} + +div.box { + width: 98%; + background-color: #f5f5f5; + border: 1px solid #CCCCCC; + color: black; + padding: 4px; +} + +.comment { + color: #228B22; +} +.string { + color: #B20000; +} +.keyword { + color: #0000FF; +} + +.keywordtype { color: #604020; } +.keywordflow { color: #e08000; } +.preprocessor { color: #806020; } +.stringliteral { color: #002080; } +.charliteral { color: #008080; } + +a { + text-decoration: none; +} + +a:hover { + background-color: #006699; + color:#FFFFFF; +} + +a.code { + font-weight: normal; + color: #A020F0; +} + +a.code:hover { + background-color: #FF0000; + color: #FFFFFF; +} + +h1 { + background: transparent; + color: #006699; + font-size: x-large; + text-align: center; +} + +h2 { + background: transparent; + color: #006699; + font-size: large; +} + +address { + font-size:small; +} + +form.search { + margin-bottom: 0px; + margin-top: 0px; +} +input.search { + font-size: 75%; + color: #000080; + font-weight: normal; + background-color: #eeeeff; +} + +li { + padding-left:5px; +} \ No newline at end of file diff --git a/doc/matlabicon.gif b/doc/matlabicon.gif new file mode 100644 index 0000000000000000000000000000000000000000..7c2b5e6e2225ede10ed4a95138d8c8df0a0fcfa2 Binary files /dev/null and b/doc/matlabicon.gif differ diff --git a/doc/menu.html b/doc/menu.html new file mode 100644 index 0000000000000000000000000000000000000000..a1a24c7481734b96bf6e6c26cc0be64b511750b7 --- /dev/null +++ b/doc/menu.html @@ -0,0 +1,26 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Matlab Index</title> + <meta name="keywords" content="plot_ID_matlab plot_ID_matlab\CI_files plot_ID_matlab\fcn_core plot_ID_matlab\fcn_help"> + <meta name="description" content="plot_ID_matlab plot_ID_matlab\CI_files plot_ID_matlab\fcn_core plot_ID_matlab\fcn_help"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="./m2html.css"> +</head> +<body> +<a name="_top"></a> +<h1>Matlab Index</h1> +<h2>Matlab Directories</h2> +<ul style="list-style-image:url(./matlabicon.gif)"> +<li><a href="plot_ID_matlab/menu.html" target="menu">plot_ID_matlab</a></li><li><a href="plot_ID_matlab/CI_files/menu.html" target="menu">plot_ID_matlab\CI_files</a></li><li><a href="plot_ID_matlab/fcn_core/menu.html" target="menu">plot_ID_matlab\fcn_core</a></li><li><a href="plot_ID_matlab/fcn_help/menu.html" target="menu">plot_ID_matlab\fcn_help</a></li></ul> +<!-- --><!-- --><!-- --><!-- --><!-- --><!-- --><!-- --><!-- --><!-- --><!-- --><!-- --><!-- --> + +<h2>Dependency Graph</h2> +<ul style="list-style-image:url(./simulinkicon.gif)"> +<li>View the <a href="graph.html" target="function">Graph</a>.</li> +</ul><hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/mex.png b/doc/mex.png new file mode 100644 index 0000000000000000000000000000000000000000..396f1bc943e311539c64aa839ba14242c3b1493c Binary files /dev/null and b/doc/mex.png differ diff --git a/doc/pcode.png b/doc/pcode.png new file mode 100644 index 0000000000000000000000000000000000000000..6801bd9a259131e6de7d7957789598a451c04334 Binary files /dev/null and b/doc/pcode.png differ diff --git a/doc/plot_ID_matlab/CI_files/default_test.html b/doc/plot_ID_matlab/CI_files/default_test.html new file mode 100644 index 0000000000000000000000000000000000000000..253b1592b86cffe6755b7cfe80d7990aad1056de --- /dev/null +++ b/doc/plot_ID_matlab/CI_files/default_test.html @@ -0,0 +1,113 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of default_test</title> + <meta name="keywords" content="default_test"> + <meta name="description" content="UNTITLED2 This is a simple test if Plot ID works for the default settings"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- ../menu.html plot_ID_matlab --><!-- menu.html CI_files --> +<h1>default_test +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>UNTITLED2 This is a simple test if Plot ID works for the default settings</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>function [result] = default_test() </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre class="comment">UNTITLED2 This is a simple test if Plot ID works for the default settings + Detailed explanation goes here</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="../../plot_ID_matlab/example_fcn.html" class="code" title="function [outputArg1] = example_fcn(inputArg1)">example_fcn</a> TEST_2 just a dummy function</li><li><a href="../../plot_ID_matlab/fcn_core/Publish.html" class="code" title="function Publish(DataPaths, ID, figures, options)">Publish</a> Publishes Saves Plot, Data and Measuring script</li><li><a href="../../plot_ID_matlab/fcn_core/TagPlot.html" class="code" title="function [figs, ID] = TagPlot(figs, prefix)">TagPlot</a> TagPlot adds IDs to figures</li></ul> +This function is called by: +<ul style="list-style-image:url(../../matlabicon.gif)"> +</ul> +<!-- crossreference --> + + + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [result] = default_test()</a> +0002 <span class="comment">%UNTITLED2 This is a simple test if Plot ID works for the default settings</span> +0003 <span class="comment">% Detailed explanation goes here</span> +0004 +0005 clear; clc; close all; +0006 addpath(<span class="string">'./fcn_core'</span>,<span class="string">'./fcn_help'</span>); +0007 +0008 ProjectID = <span class="string">'Test01'</span>; +0009 <span class="comment">%% Data</span> +0010 <span class="comment">% some random data</span> +0011 x = linspace(0,7); +0012 y = rand(1,100)+2; +0013 dataset1 = <span class="string">'test_data.mat'</span>; +0014 save(<span class="string">'CI_files/test_data.mat'</span>,<span class="string">'x'</span>,<span class="string">'y'</span>); +0015 <span class="comment">% some data as .h5</span> +0016 x1 = linspace(0,2*pi); +0017 y1 = sin(x1)+2; +0018 +0019 <span class="comment">% define file path & name</span> +0020 fpath = "CI_files/testdata_2.h5"; +0021 dataset2 = <span class="string">'testdata_2.h5'</span>; +0022 +0023 <span class="comment">% create hdf5 file and dataset > write data to hdf5 file / dataset</span> +0024 h5create(fpath, "/x1", size(x1), "Datatype", class(x1)) +0025 h5create(fpath, "/y1", size(y1), "Datatype", class(y1)) +0026 h5write(fpath, "/x1", x1) +0027 h5write(fpath, "/y1", y1) +0028 +0029 <span class="comment">%% Plotting</span> +0030 +0031 fig(1) =figure(<span class="string">'visible'</span>,<span class="string">'off'</span>); +0032 plot(x,y,<span class="string">'-k'</span>); +0033 hold on +0034 plot(x1,y1,<span class="string">'-r'</span>); +0035 +0036 <span class="comment">%% Tag the plot</span> +0037 <span class="keyword">try</span> +0038 [figs, ID] = <a href="../../plot_ID_matlab/fcn_core/TagPlot.html" class="code" title="function [figs, ID] = TagPlot(figs, prefix)">TagPlot</a>(fig, ProjectID); +0039 +0040 <span class="comment">%% call a dummy function</span> +0041 a=1; +0042 a = <a href="../../plot_ID_matlab/example_fcn.html" class="code" title="function [outputArg1] = example_fcn(inputArg1)">example_fcn</a>(a); +0043 +0044 <span class="comment">%% publishing</span> +0045 +0046 <span class="comment">% The functions needs the file location, the location of the data and the</span> +0047 <span class="comment">% figure</span> +0048 path.script = mfilename(<span class="string">'fullpath'</span>); <span class="comment">% filename of the m.script</span> +0049 +0050 <span class="comment">% file name of the data</span> +0051 path.rdata = {dataset1,dataset2} ; <span class="comment">% don't forget the extension</span> +0052 +0053 <a href="../../plot_ID_matlab/fcn_core/Publish.html" class="code" title="function Publish(DataPaths, ID, figures, options)">Publish</a>(path, ID, figs, <span class="string">'Location'</span>, <span class="string">'CI-Test'</span>) +0054 +0055 <span class="comment">% clean up</span> +0056 delete CI_files/export/* CI_files/*.mat CI_files/*.h5 +0057 rmdir(<span class="string">'CI_files/export'</span>,<span class="string">'s'</span>); +0058 result = true; +0059 clc; +0060 <span class="keyword">catch</span> +0061 result = false; +0062 warning(<span class="string">'simple_test failed'</span>); +0063 <span class="keyword">end</span> +0064 +0065 <span class="keyword">end</span> +0066</pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/CI_files/graph.dot b/doc/plot_ID_matlab/CI_files/graph.dot new file mode 100644 index 0000000000000000000000000000000000000000..135f6bdc7a8d530645c988df78a9f14ad2d56b29 --- /dev/null +++ b/doc/plot_ID_matlab/CI_files/graph.dot @@ -0,0 +1,5 @@ +/* Created by mdot for Matlab */ +digraph m2html { + + default_test [URL="default_test.html"]; +} \ No newline at end of file diff --git a/doc/plot_ID_matlab/CI_files/graph.html b/doc/plot_ID_matlab/CI_files/graph.html new file mode 100644 index 0000000000000000000000000000000000000000..79992020966e8f2ad773c4e545e1df582726a98b --- /dev/null +++ b/doc/plot_ID_matlab/CI_files/graph.html @@ -0,0 +1,26 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Dependency Graph for plot_ID_matlab\CI_files</title> + <meta name="keywords" content="dependency, graph, dependence, plot_ID_matlab\CI_files"> + <meta name="description" content="Dependency graph for plot_ID_matlab\CI_files"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> +</head> +<body> +<a name="_top"></a> +<h1>Dependency Graph for plot_ID_matlab\CI_files</h1> + +<center> +<img src="graph.png" usemap="#mainmap" alt="Dependency Graph for plot_ID_matlab\CI_files" border="2" style="color:#000;"> +<map name="mainmap"> +<area shape="poly" id="node1" href="default_test.html" title="default_test" alt="" coords="146,29,142,22,132,15,117,10,97,7,76,5,54,7,34,10,19,15,9,22,5,29,9,37,19,43,34,49,54,52,76,53,97,52,117,49,132,43,142,37"> +</map> +</center> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/CI_files/graph.map b/doc/plot_ID_matlab/CI_files/graph.map new file mode 100644 index 0000000000000000000000000000000000000000..8758fc5b9673586b2dc5d901935ce191f71b4f6e --- /dev/null +++ b/doc/plot_ID_matlab/CI_files/graph.map @@ -0,0 +1 @@ +<area shape="poly" id="node1" href="default_test.html" title="default_test" alt="" coords="146,29,142,22,132,15,117,10,97,7,76,5,54,7,34,10,19,15,9,22,5,29,9,37,19,43,34,49,54,52,76,53,97,52,117,49,132,43,142,37"> diff --git a/doc/plot_ID_matlab/CI_files/graph.png b/doc/plot_ID_matlab/CI_files/graph.png new file mode 100644 index 0000000000000000000000000000000000000000..adcb2064ce8f8cf0ab8d159e5fca79024cd6e186 Binary files /dev/null and b/doc/plot_ID_matlab/CI_files/graph.png differ diff --git a/doc/plot_ID_matlab/CI_files/menu.html b/doc/plot_ID_matlab/CI_files/menu.html new file mode 100644 index 0000000000000000000000000000000000000000..fc97ddb1b6d9545da0e6a2a796e956a83e109833 --- /dev/null +++ b/doc/plot_ID_matlab/CI_files/menu.html @@ -0,0 +1,32 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Index for Directory plot_ID_matlab\CI_files</title> + <meta name="keywords" content="plot_ID_matlab\CI_files"> + <meta name="description" content="Index for Directory plot_ID_matlab\CI_files"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> +</head> +<body> +<a name="_top"></a> +<center><a href="../../menu.html"><img alt="^" border="0" src="../../up.png"> Master index <img alt="^" border="0" src="../../up.png"></a></center> + +<h1>Index for plot_ID_matlab\CI_files</h1> + +<h2>Matlab files in this directory:</h2> +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="default_test.html" target="function" title="UNTITLED2 This is a simple test if Plot ID works for the default settings">default_test </a></li></ul> + + + +<h2>Dependency Graph</h2> +<ul style="list-style-image:url(../../simulinkicon.gif)"> +<li>View the <a href="graph.html" target="function">Graph</a>.</li> +</ul> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/example.html b/doc/plot_ID_matlab/example.html new file mode 100644 index 0000000000000000000000000000000000000000..09d2068d7a7306299df7ebc1227c66e3aa24ab5d --- /dev/null +++ b/doc/plot_ID_matlab/example.html @@ -0,0 +1,118 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of example</title> + <meta name="keywords" content="example"> + <meta name="description" content="test skript"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- menu.html plot_ID_matlab --> +<h1>example +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<div class="box"><strong>test skript</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<div class="box"><strong>This is a script file. </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<div class="fragment"><pre class="comment"> test skript</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../matlabicon.gif)"> +<li><a href="example_fcn.html" class="code" title="function [outputArg1] = example_fcn(inputArg1)">example_fcn</a> TEST_2 just a dummy function</li><li><a href="../plot_ID_matlab/fcn_core/Publish.html" class="code" title="function Publish(DataPaths, ID, figures, options)">Publish</a> Publishes Saves Plot, Data and Measuring script</li><li><a href="../plot_ID_matlab/fcn_core/TagPlot.html" class="code" title="function [figs, ID] = TagPlot(figs, prefix)">TagPlot</a> TagPlot adds IDs to figures</li></ul> +This function is called by: +<ul style="list-style-image:url(../matlabicon.gif)"> +</ul> +<!-- crossreference --> + + + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<div class="fragment"><pre>0001 <span class="comment">% test skript</span> +0002 clear; clc; close all; +0003 addpath(<span class="string">'fcn_core'</span>,<span class="string">'fcn_help'</span>); +0004 addpath(<span class="string">'CI_files'</span>); <span class="comment">% Test scripts</span> +0005 +0006 <span class="keyword">try</span> +0007 delete testdata_2.h5; +0008 <span class="keyword">end</span> +0009 +0010 ProjectID = <span class="string">'JL01'</span>; +0011 <span class="comment">%% Data</span> +0012 <span class="comment">% some random data</span> +0013 +0014 x = linspace(0,7); +0015 y = rand(1,100)+2; +0016 dataset1 = <span class="string">'test_data.mat'</span>; +0017 save(<span class="string">'test_data.mat'</span>,<span class="string">'x'</span>,<span class="string">'y'</span>); +0018 +0019 +0020 <span class="comment">% some data as .h5</span> +0021 x1 = linspace(0,2*pi); +0022 y1 = sin(x1)+2; +0023 +0024 <span class="comment">% define file path & name</span> +0025 fpath = "./testdata_2.h5"; +0026 dataset2 = <span class="string">'testdata_2.h5'</span>; +0027 +0028 <span class="comment">% create hdf5 file and dataset > write data to hdf5 file / dataset</span> +0029 h5create(fpath, "/x1", size(x1), "Datatype", class(x1)) +0030 h5create(fpath, "/y1", size(y1), "Datatype", class(y1)) +0031 h5write(fpath, "/x1", x1) +0032 h5write(fpath, "/y1", y1) +0033 +0034 <span class="comment">%% Plotting</span> +0035 +0036 fig(1) =figure; +0037 plot(x,y,<span class="string">'-k'</span>); +0038 box off +0039 set(gca, <span class="string">'TickDir'</span>, <span class="string">'out'</span>, <span class="string">'YLim'</span>, [0,4]); +0040 +0041 hold on +0042 <span class="comment">%fig(2) =figure;</span> +0043 plot(x1,y1,<span class="string">'-r'</span>); +0044 set(gca, <span class="string">'TickDir'</span>, <span class="string">'out'</span>, <span class="string">'YLim'</span>, [0,4]); +0045 <span class="comment">%% Tag the plot</span> +0046 [figs, ID] = <a href="../plot_ID_matlab/fcn_core/TagPlot.html" class="code" title="function [figs, ID] = TagPlot(figs, prefix)">TagPlot</a>(fig, ProjectID); +0047 +0048 <span class="comment">%% call a dummy function</span> +0049 a=1; +0050 a = <a href="example_fcn.html" class="code" title="function [outputArg1] = example_fcn(inputArg1)">example_fcn</a>(a); +0051 +0052 <span class="comment">%% publishing</span> +0053 +0054 <span class="comment">% The functions needs the file location, the location of the data and the</span> +0055 <span class="comment">% figure</span> +0056 path.script = mfilename(<span class="string">'fullpath'</span>); <span class="comment">% filename of the m.script</span> +0057 +0058 <span class="comment">% file name of the data</span> +0059 path.rdata = {dataset1,dataset2} ; <span class="comment">% don't forget the extension</span> +0060 +0061 <a href="../plot_ID_matlab/fcn_core/Publish.html" class="code" title="function Publish(DataPaths, ID, figures, options)">Publish</a>(path, ID, figs, <span class="string">'Location'</span>, <span class="string">'local'</span>,<span class="string">'Method'</span>,<span class="string">'individual'</span>) +0062 +0063 <span class="comment">%% Second Plot with identical data to test centralized method</span> +0064 <span class="comment">%</span> +0065 <span class="comment">% fig2 =figure;</span> +0066 <span class="comment">% plot(x,y,'-k');</span> +0067 <span class="comment">% hold on</span> +0068 <span class="comment">% plot(x1,y1,'-r');</span> +0069 <span class="comment">%</span> +0070 <span class="comment">% [fig2, ID] = TagPlot(fig2, ProjectID);</span> +0071 <span class="comment">%</span> +0072 <span class="comment">% Publish(path, ID, fig2, 'Location', 'local','Method','centraliced')</span></pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/example_fcn.html b/doc/plot_ID_matlab/example_fcn.html new file mode 100644 index 0000000000000000000000000000000000000000..6b241a2fa1b8a929492a59e78c0c97b040a6bf6d --- /dev/null +++ b/doc/plot_ID_matlab/example_fcn.html @@ -0,0 +1,52 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of example_fcn</title> + <meta name="keywords" content="example_fcn"> + <meta name="description" content="TEST_2 just a dummy function"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- menu.html plot_ID_matlab --> +<h1>example_fcn +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<div class="box"><strong>TEST_2 just a dummy function</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<div class="box"><strong>function [outputArg1] = example_fcn(inputArg1) </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<div class="fragment"><pre class="comment">TEST_2 just a dummy function</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../matlabicon.gif)"> +</ul> +This function is called by: +<ul style="list-style-image:url(../matlabicon.gif)"> +<li><a href="../plot_ID_matlab/CI_files/default_test.html" class="code" title="function [result] = default_test()">default_test</a> UNTITLED2 This is a simple test if Plot ID works for the default settings</li><li><a href="example.html" class="code" title="">example</a> test skript</li></ul> +<!-- crossreference --> + + + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [outputArg1] = example_fcn(inputArg1)</a> +0002 <span class="comment">%TEST_2 just a dummy function</span> +0003 outputArg1 = inputArg1; +0004 +0005 <span class="keyword">end</span> +0006</pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_core/CreateID.html b/doc/plot_ID_matlab/fcn_core/CreateID.html new file mode 100644 index 0000000000000000000000000000000000000000..66314aa9c06b1d727166dd064d13b18c315a851a --- /dev/null +++ b/doc/plot_ID_matlab/fcn_core/CreateID.html @@ -0,0 +1,71 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of CreateID</title> + <meta name="keywords" content="CreateID"> + <meta name="description" content="CreateID Creates an Identifier (char)"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- ../menu.html plot_ID_matlab --><!-- menu.html fcn_core --> +<h1>CreateID +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>CreateID Creates an Identifier (char)</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>function [ID] = CreateID(method) </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre class="comment">CreateID Creates an Identifier (char) + Creates an (sometimes unique) identifier based on the selected method + if no method is selected method 1 will be the default method</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../../matlabicon.gif)"> +</ul> +This function is called by: +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="TagPlot.html" class="code" title="function [figs, ID] = TagPlot(figs, prefix)">TagPlot</a> TagPlot adds IDs to figures</li></ul> +<!-- crossreference --> + + + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [ID] = CreateID(method)</a> +0002 <span class="comment">%CreateID Creates an Identifier (char)</span> +0003 <span class="comment">% Creates an (sometimes unique) identifier based on the selected method</span> +0004 <span class="comment">% if no method is selected method 1 will be the default method</span> +0005 arguments +0006 method (1,1) {mustBeNumeric} = 1 +0007 <span class="keyword">end</span> +0008 +0009 <span class="keyword">switch</span> method +0010 <span class="keyword">case</span> 1 <span class="comment">% UNIX Time in seconds as HEX</span> +0011 ID = posixtime(datetime(<span class="string">'now'</span>)); <span class="comment">%get current Unix time</span> +0012 ID = dec2hex(int32(ID)); <span class="comment">% get it as Hex</span> +0013 pause(0.5); <span class="comment">%Pausing for unique IDs</span> +0014 <span class="keyword">case</span> 2 <span class="comment">% random UUID from Java 128 bit</span> +0015 <span class="comment">%Static factory to retrieve a type 4 (pseudo randomly generated) UUID.</span> +0016 <span class="comment">% The UUID is generated using a cryptographically strong pseudo random number generator.</span> +0017 temp = java.util.UUID.randomUUID; +0018 ID = temp.toString; +0019 <span class="keyword">otherwise</span> +0020 error(<span class="string">'The requested method is not defined yet'</span>); +0021 <span class="keyword">end</span> +0022 +0023 <span class="keyword">end</span></pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_core/Publish.html b/doc/plot_ID_matlab/fcn_core/Publish.html new file mode 100644 index 0000000000000000000000000000000000000000..dab82cc8815ba292dcac2f6167e802352be516a6 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_core/Publish.html @@ -0,0 +1,192 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of Publish</title> + <meta name="keywords" content="Publish"> + <meta name="description" content="Publishes Saves Plot, Data and Measuring script"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- ../menu.html plot_ID_matlab --><!-- menu.html fcn_core --> +<h1>Publish +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>Publishes Saves Plot, Data and Measuring script</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>function Publish(DataPaths, ID, figures, options) </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre class="comment">Publishes Saves Plot, Data and Measuring script + Detailed explanation goes here + Location sets the storage location. local is in the current folder (an + export folder will be created), server is a remote Path + two Methods are implemented individual stores the data for each plot + while centralized uses a data folder and uses reference links to the + original data</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="../../plot_ID_matlab/fcn_help/createLinkedHDF5.html" class="code" title="function [status] = createLinkedHDF5(SourceFile,TargetPath,ID)">createLinkedHDF5</a> createLinkedHDF5 creates a HDF file that references the Sourcefile</li><li><a href="../../plot_ID_matlab/fcn_help/removePltIdFiles.html" class="code" title="function [fListClean] = removePltIdFiles(fList)">removePltIdFiles</a> removePltIdFiles removes functions that are part of PlotID out of flist</li></ul> +This function is called by: +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="../../plot_ID_matlab/CI_files/default_test.html" class="code" title="function [result] = default_test()">default_test</a> UNTITLED2 This is a simple test if Plot ID works for the default settings</li><li><a href="../../plot_ID_matlab/example.html" class="code" title="">example</a> test skript</li></ul> +<!-- crossreference --> + +<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="#_sub1" class="code">function [] = createFileCopy(filePaths,folderName,storPath,ID,type)</a></li><li><a href="#_sub2" class="code">function tf = mustBeFigure(h)</a></li></ul> + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function Publish(DataPaths, ID, figures, options)</a> +0002 <span class="comment">%Publishes Saves Plot, Data and Measuring script</span> +0003 <span class="comment">% Detailed explanation goes here</span> +0004 <span class="comment">% Location sets the storage location. local is in the current folder (an</span> +0005 <span class="comment">% export folder will be created), server is a remote Path</span> +0006 <span class="comment">% two Methods are implemented individual stores the data for each plot</span> +0007 <span class="comment">% while centralized uses a data folder and uses reference links to the</span> +0008 <span class="comment">% original data</span> +0009 +0010 arguments +0011 DataPaths +0012 ID (1,:) {mustBeNonzeroLengthText} <span class="comment">% ID must be provided</span> +0013 figures (1,:) {<a href="#_sub2" class="code" title="subfunction tf = mustBeFigure(h)">mustBeFigure</a>} <span class="comment">% Checks if Figures are figures</span> +0014 options.Location {mustBeMember(options.Location ,[<span class="string">'local'</span>,<span class="string">'server'</span>,<span class="string">'CI-Test'</span>])} = <span class="string">'local'</span> <span class="comment">% storage path</span> +0015 options.Method {mustBeMember(options.Method ,[<span class="string">'individual'</span>,<span class="string">'centraliced'</span>])} = <span class="string">'individual'</span> +0016 options.CopyUserFCN (1,1) {mustBeNumericOrLogical} = true +0017 <span class="keyword">end</span> +0018 +0019 <span class="keyword">switch</span> options.Location +0020 <span class="keyword">case</span> <span class="string">'local'</span> +0021 storPath = fullfile(pwd,<span class="string">'export'</span>); +0022 <span class="keyword">case</span> <span class="string">'server'</span> +0023 storPath = <span class="string">'\\FST-220\Jans-50GB-SMB\Lemmer'</span>; +0024 <span class="keyword">case</span> <span class="string">'CI-Test'</span> +0025 storPath = fullfile(pwd,<span class="string">'CI_files'</span>,<span class="string">'export'</span>); +0026 <span class="keyword">end</span> +0027 folderName = char(ID); +0028 +0029 <span class="comment">%% Create Data-Directory</span> +0030 addpath(storPath); +0031 <span class="keyword">if</span> mkdir(fullfile(storPath,folderName)) +0032 <span class="keyword">else</span> +0033 error(<span class="string">'Directory could not be created - check remote path and permissions'</span>); +0034 <span class="keyword">end</span> +0035 +0036 disp(<span class="string">'Publishing started'</span>); +0037 +0038 <span class="comment">%% Create a Copy of the script and User functions(optional)</span> +0039 <a href="#_sub1" class="code" title="subfunction [] = createFileCopy(filePaths,folderName,storPath,ID,type)">createFileCopy</a>({[DataPaths.script,<span class="string">'.m'</span>]},folderName,storPath,ID, <span class="string">'script'</span>); +0040 +0041 <span class="keyword">if</span> options.CopyUserFCN +0042 [fList,pList] = matlab.codetools.requiredFilesAndProducts(DataPaths.script); +0043 <span class="comment">% plist contains the required MATLAB Toolboxes, maybe usefull in future</span> +0044 fList = fList(~ismember(fList,[DataPaths.script,<span class="string">'.m'</span>])); <span class="comment">% rmv script from list</span> +0045 fList = <a href="../../plot_ID_matlab/fcn_help/removePltIdFiles.html" class="code" title="function [fListClean] = removePltIdFiles(fList)">removePltIdFiles</a>(fList); <span class="comment">% Do not copy files that are part of plot ID</span> +0046 <span class="keyword">if</span> ~isempty(fList) +0047 <a href="#_sub1" class="code" title="subfunction [] = createFileCopy(filePaths,folderName,storPath,ID,type)">createFileCopy</a>(fList,folderName,storPath,ID,<span class="string">'userFcn'</span>); +0048 <span class="keyword">end</span> +0049 <span class="keyword">end</span> +0050 +0051 <span class="comment">%% Research data handeling</span> +0052 <span class="keyword">switch</span> options.Method +0053 <span class="keyword">case</span> <span class="string">'centraliced'</span> <span class="comment">% Work in progresss!!!</span> +0054 <span class="comment">%check if data folder exists</span> +0055 <span class="keyword">if</span> ~isfolder(fullfile(storPath,<span class="string">'data'</span>)) +0056 mkdir(fullfile(storPath,<span class="string">'data'</span>)); +0057 <span class="keyword">end</span> +0058 <span class="comment">%list all files</span> +0059 fList = dir(fullfile(storPath,<span class="string">'data'</span>, <span class="string">'**\*.*'</span>)); <span class="comment">%get list of files and folders in any subfolder</span> +0060 fList = fList(~[fList.isdir]); <span class="comment">%remove folders from list</span> +0061 fList = struct2table(fList); +0062 +0063 <span class="comment">% Check if the new plot is based on the original data-set</span> +0064 <span class="comment">% copy the data(once)</span> +0065 <span class="keyword">for</span> i=1:numel(DataPaths.rdata) +0066 <span class="comment">% check if identical file exists (status = 1)</span> +0067 [status, idx] = fileCompare(DataPaths.rdata{i},fList); +0068 <span class="keyword">if</span> status +0069 sourcePath = fList.name{idx}; +0070 <a href="../../plot_ID_matlab/fcn_help/createLinkedHDF5.html" class="code" title="function [status] = createLinkedHDF5(SourceFile,TargetPath,ID)">createLinkedHDF5</a>(sourcePath,storPath,ID); +0071 <span class="keyword">else</span> <span class="comment">% no identical file exists</span> +0072 <a href="#_sub1" class="code" title="subfunction [] = createFileCopy(filePaths,folderName,storPath,ID,type)">createFileCopy</a>(DataPaths.rdata,<span class="string">'data'</span>,storPath,ID,<span class="string">'dataCentral'</span>); +0073 <span class="keyword">end</span> +0074 <span class="keyword">end</span> +0075 <span class="keyword">case</span> <span class="string">'individual'</span> +0076 <span class="comment">% Create a copy of the research data</span> +0077 <a href="#_sub1" class="code" title="subfunction [] = createFileCopy(filePaths,folderName,storPath,ID,type)">createFileCopy</a>(DataPaths.rdata,folderName,storPath,ID, <span class="string">'data'</span>); +0078 <span class="keyword">end</span> +0079 <span class="comment">%% Export the Plots</span> +0080 <span class="comment">%try</span> +0081 <span class="keyword">for</span> i=1:numel(figures) +0082 fig = figures(i); +0083 PlotName = [ID,<span class="string">'_plot'</span>,num2str(i)]; <span class="comment">% Der Plotnamen</span> +0084 RemotePath = fullfile(storPath ,folderName, PlotName); +0085 <span class="comment">% Matlab figure</span> +0086 savefig(fig,RemotePath); +0087 exportgraphics(fig,[RemotePath,<span class="string">'.png'</span>],<span class="string">'Resolution'</span>,300); +0088 disp([num2str(i),<span class="string">' of '</span>,num2str(numel(figures)),<span class="string">' figures exported'</span>]); +0089 <span class="keyword">end</span> +0090 <span class="comment">%catch</span> +0091 <span class="comment">%warning('Plot export was not sucessful')</span> +0092 <span class="comment">%end</span> +0093 +0094 disp([<span class="string">'publishing of '</span>, ID , <span class="string">' done'</span>]); +0095 +0096 <span class="keyword">end</span> <span class="comment">%function</span> +0097 +0098 <a name="_sub1" href="#_subfunctions" class="code">function [] = createFileCopy(filePaths,folderName,storPath,ID,type)</a> +0099 <span class="comment">% Creates a copy of the files (can used for multiple paths in a cell array)</span> +0100 <span class="comment">% folderName is the name of the exporting folder</span> +0101 disp([<span class="string">'start to copy '</span>, type]); +0102 +0103 <span class="comment">% try</span> +0104 <span class="keyword">for</span> i = 1:numel(filePaths) +0105 FileNameAndLocation = filePaths{i}; +0106 [~,name,ext] = fileparts(filePaths{i}); <span class="comment">% get the extension</span> +0107 +0108 <span class="keyword">switch</span> type +0109 <span class="keyword">case</span> <span class="string">'data'</span> +0110 sufix = <span class="string">'_data'</span>; +0111 newfile = sprintf([ID, sufix, <span class="string">'_'</span> , num2str(i) ,ext]); +0112 <span class="keyword">case</span> <span class="string">'dataCentral'</span> +0113 <span class="comment">%keep original name</span> +0114 newfile = sprintf([name,ext]); +0115 <span class="keyword">case</span> <span class="string">'script'</span> +0116 sufix = <span class="string">'_script'</span>; +0117 newfile = sprintf([ID, sufix ,ext]); +0118 <span class="keyword">case</span> <span class="string">'userFcn'</span> +0119 <span class="comment">%keep original name</span> +0120 newfile = sprintf([name,ext]); +0121 <span class="keyword">otherwise</span> +0122 error([type,<span class="string">' is not a valid type for createFileCopy'</span>]) +0123 <span class="keyword">end</span> <span class="comment">%switch</span> +0124 +0125 <span class="comment">% Write the file</span> +0126 RemotePath = fullfile(storPath,folderName, newfile); +0127 copyfile(FileNameAndLocation,RemotePath); +0128 <span class="keyword">end</span> +0129 disp([type, <span class="string">' sucessfully published'</span>]); +0130 <span class="comment">% catch</span> +0131 <span class="comment">% warning([type,' export was not sucessful'])</span> +0132 <span class="comment">% end %try</span> +0133 <span class="keyword">end</span> +0134 +0135 <a name="_sub2" href="#_subfunctions" class="code">function tf = mustBeFigure(h)</a> +0136 <span class="comment">%checks if input is a figure object</span> +0137 tf = strcmp(get(h, <span class="string">'type'</span>), <span class="string">'figure'</span>) & isa(h, <span class="string">'matlab.ui.Figure'</span>); +0138 <span class="keyword">end</span></pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_core/TagPlot.html b/doc/plot_ID_matlab/fcn_core/TagPlot.html new file mode 100644 index 0000000000000000000000000000000000000000..274c05c0f164df6ddf672bbf4d83e6a469ede4a6 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_core/TagPlot.html @@ -0,0 +1,82 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of TagPlot</title> + <meta name="keywords" content="TagPlot"> + <meta name="description" content="TagPlot adds IDs to figures"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- ../menu.html plot_ID_matlab --><!-- menu.html fcn_core --> +<h1>TagPlot +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>TagPlot adds IDs to figures</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>function [figs, ID] = TagPlot(figs, prefix) </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre class="comment">TagPlot adds IDs to figures + The ID is placed visual on the figure window and as Tag (Property of figure) + TagPlot can tag multiple figures at once</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="CreateID.html" class="code" title="function [ID] = CreateID(method)">CreateID</a> CreateID Creates an Identifier (char)</li></ul> +This function is called by: +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="../../plot_ID_matlab/CI_files/default_test.html" class="code" title="function [result] = default_test()">default_test</a> UNTITLED2 This is a simple test if Plot ID works for the default settings</li><li><a href="../../plot_ID_matlab/example.html" class="code" title="">example</a> test skript</li></ul> +<!-- crossreference --> + +<h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="#_sub1" class="code">function tf = mustBeFigure(h)</a></li></ul> + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [figs, ID] = TagPlot(figs, prefix)</a> +0002 <span class="comment">%TagPlot adds IDs to figures</span> +0003 <span class="comment">% The ID is placed visual on the figure window and as Tag (Property of figure)</span> +0004 <span class="comment">% TagPlot can tag multiple figures at once</span> +0005 arguments +0006 figs (1,:) {<a href="#_sub1" class="code" title="subfunction tf = mustBeFigure(h) ">mustBeFigure</a>} +0007 prefix (1,:) {mustBeText}= <span class="string">''</span> +0008 <span class="keyword">end</span> +0009 +0010 <span class="keyword">if</span> isempty(prefix) +0011 warning(<span class="string">'no project prefix defined'</span>) +0012 <span class="keyword">end</span> +0013 +0014 <span class="keyword">for</span> n = 1:numel(figs) +0015 ID = <a href="CreateID.html" class="code" title="function [ID] = CreateID(method)">CreateID</a>; <span class="comment">% Create ID</span> +0016 ID = [prefix,<span class="string">'-'</span>,ID]; <span class="comment">% add Prefix</span> +0017 axes = get(figs(n),<span class="string">'CurrentAxes'</span>); <span class="comment">% Axes object for text annotation</span> +0018 <span class="comment">% Limits for relative Positioning</span> +0019 ylim =get(axes,<span class="string">'YLim'</span>); +0020 xlim =get(axes,<span class="string">'XLim'</span>); +0021 <span class="comment">%ID</span> +0022 text(axes,xlim(2),0.4*ylim(2), ID,<span class="string">'Fontsize'</span>,8,<span class="string">'Rotation'</span>,90,<span class="string">'VerticalAlignment'</span>,<span class="string">'bottom'</span>,<span class="keyword">...</span> +0023 <span class="string">'Color'</span>, 0.65*[1 1 1],<span class="string">'BackgroundColor'</span>,<span class="string">'w'</span>); +0024 set(figs(n),<span class="string">'Tag'</span>, ID); +0025 +0026 <span class="keyword">end</span> +0027 +0028 <span class="keyword">end</span> +0029 +0030 <a name="_sub1" href="#_subfunctions" class="code">function tf = mustBeFigure(h) </a><span class="comment">%checks if input is a figure object</span> +0031 tf = strcmp(get(h, <span class="string">'type'</span>), <span class="string">'figure'</span>) & isa(h, <span class="string">'matlab.ui.Figure'</span>); +0032 <span class="keyword">end</span></pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_core/graph.dot b/doc/plot_ID_matlab/fcn_core/graph.dot new file mode 100644 index 0000000000000000000000000000000000000000..de7ecfd6c7043cf562b97316ab558e07a29207c1 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_core/graph.dot @@ -0,0 +1,8 @@ +/* Created by mdot for Matlab */ +digraph m2html { + TagPlot -> CreateID; + + CreateID [URL="CreateID.html"]; + Publish [URL="Publish.html"]; + TagPlot [URL="TagPlot.html"]; +} \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_core/graph.html b/doc/plot_ID_matlab/fcn_core/graph.html new file mode 100644 index 0000000000000000000000000000000000000000..b9bc90ae55033eb99f1c59d5338fb45917e91558 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_core/graph.html @@ -0,0 +1,28 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Dependency Graph for plot_ID_matlab\fcn_core</title> + <meta name="keywords" content="dependency, graph, dependence, plot_ID_matlab\fcn_core"> + <meta name="description" content="Dependency graph for plot_ID_matlab\fcn_core"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> +</head> +<body> +<a name="_top"></a> +<h1>Dependency Graph for plot_ID_matlab\fcn_core</h1> + +<center> +<img src="graph.png" usemap="#mainmap" alt="Dependency Graph for plot_ID_matlab\fcn_core" border="2" style="color:#000;"> +<map name="mainmap"> +<area shape="poly" id="node1" href="TagPlot.html" title="TagPlot" alt="" coords="116,29,114,22,106,15,94,10,80,7,63,5,47,7,32,10,21,15,13,22,11,29,13,37,21,43,32,49,47,52,63,53,80,52,94,49,106,43,114,37"> +<area shape="poly" id="node2" href="CreateID.html" title="CreateID" alt="" coords="121,125,119,118,110,111,98,106,81,103,63,101,45,103,29,106,16,111,8,118,5,125,8,133,16,139,29,145,45,148,63,149,81,148,98,145,110,139,119,133"> +<area shape="poly" id="node3" href="Publish.html" title="Publish" alt="" coords="240,29,238,22,231,15,220,10,206,7,190,5,175,7,161,10,149,15,142,22,140,29,142,37,149,43,161,49,175,52,190,53,206,52,220,49,231,43,238,37"> +</map> +</center> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_core/graph.map b/doc/plot_ID_matlab/fcn_core/graph.map new file mode 100644 index 0000000000000000000000000000000000000000..463fbb951afc070df230b513c85347336e92360e --- /dev/null +++ b/doc/plot_ID_matlab/fcn_core/graph.map @@ -0,0 +1,3 @@ +<area shape="poly" id="node1" href="TagPlot.html" title="TagPlot" alt="" coords="116,29,114,22,106,15,94,10,80,7,63,5,47,7,32,10,21,15,13,22,11,29,13,37,21,43,32,49,47,52,63,53,80,52,94,49,106,43,114,37"> +<area shape="poly" id="node2" href="CreateID.html" title="CreateID" alt="" coords="121,125,119,118,110,111,98,106,81,103,63,101,45,103,29,106,16,111,8,118,5,125,8,133,16,139,29,145,45,148,63,149,81,148,98,145,110,139,119,133"> +<area shape="poly" id="node3" href="Publish.html" title="Publish" alt="" coords="240,29,238,22,231,15,220,10,206,7,190,5,175,7,161,10,149,15,142,22,140,29,142,37,149,43,161,49,175,52,190,53,206,52,220,49,231,43,238,37"> diff --git a/doc/plot_ID_matlab/fcn_core/graph.png b/doc/plot_ID_matlab/fcn_core/graph.png new file mode 100644 index 0000000000000000000000000000000000000000..50ce89e674e84ab6fdc506aad9822139e2232427 Binary files /dev/null and b/doc/plot_ID_matlab/fcn_core/graph.png differ diff --git a/doc/plot_ID_matlab/fcn_core/menu.html b/doc/plot_ID_matlab/fcn_core/menu.html new file mode 100644 index 0000000000000000000000000000000000000000..9a6c76d496640fe4bac628319d32bc4cecd2a08e --- /dev/null +++ b/doc/plot_ID_matlab/fcn_core/menu.html @@ -0,0 +1,32 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Index for Directory plot_ID_matlab\fcn_core</title> + <meta name="keywords" content="plot_ID_matlab\fcn_core"> + <meta name="description" content="Index for Directory plot_ID_matlab\fcn_core"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> +</head> +<body> +<a name="_top"></a> +<center><a href="../../menu.html"><img alt="^" border="0" src="../../up.png"> Master index <img alt="^" border="0" src="../../up.png"></a></center> + +<h1>Index for plot_ID_matlab\fcn_core</h1> + +<h2>Matlab files in this directory:</h2> +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="CreateID.html" target="function" title="CreateID Creates an Identifier (char)">CreateID </a></li><li><a href="Publish.html" target="function" title="Publishes Saves Plot, Data and Measuring script">Publish </a></li><li><a href="TagPlot.html" target="function" title="TagPlot adds IDs to figures">TagPlot </a></li></ul> + + + +<h2>Dependency Graph</h2> +<ul style="list-style-image:url(../../simulinkicon.gif)"> +<li>View the <a href="graph.html" target="function">Graph</a>.</li> +</ul> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_help/FileCompare.html b/doc/plot_ID_matlab/fcn_help/FileCompare.html new file mode 100644 index 0000000000000000000000000000000000000000..f847cb51b7548091748241491eab2dd5027b08d2 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_help/FileCompare.html @@ -0,0 +1,98 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of FileCompare</title> + <meta name="keywords" content="FileCompare"> + <meta name="description" content="fileCompare checks if file1 is (binary) identical to a file in filelist"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- ../menu.html plot_ID_matlab --><!-- menu.html fcn_help --> +<h1>FileCompare +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>fileCompare checks if file1 is (binary) identical to a file in filelist</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>function [status, id] = fileCompare(filename,fileList) </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre class="comment">fileCompare checks if file1 is (binary) identical to a file in filelist + it returns a sttus and the id of the identical file + the functions uses the windows system function fc or the unix function + diff</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../../matlabicon.gif)"> +</ul> +This function is called by: +<ul style="list-style-image:url(../../matlabicon.gif)"> +</ul> +<!-- crossreference --> + + + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [status, id] = fileCompare(filename,fileList)</a> +0002 <span class="comment">%fileCompare checks if file1 is (binary) identical to a file in filelist</span> +0003 <span class="comment">% it returns a sttus and the id of the identical file</span> +0004 <span class="comment">% the functions uses the windows system function fc or the unix function</span> +0005 <span class="comment">% diff</span> +0006 +0007 <span class="keyword">if</span> isempty(fileList) +0008 <span class="comment">% no comparison necessary</span> +0009 status =false; +0010 id = 0; +0011 <span class="keyword">return</span> +0012 <span class="keyword">end</span> +0013 +0014 [~,~,ext1] = fileparts(filename); +0015 id = zeros(height(fileList),1); +0016 +0017 <span class="keyword">for</span> i=1:height(fileList) +0018 [~,~,ext2] = fileparts(fileList.name(i)); +0019 +0020 <span class="keyword">if</span> ~isequal(ext1,ext2) +0021 <span class="comment">%warning('File extension are not identical');</span> +0022 status = false; +0023 <span class="keyword">continue</span> +0024 <span class="keyword">end</span> +0025 +0026 filepath = fullfile(fileList.folder{i},fileList.name{i}); +0027 <span class="keyword">if</span> ispc +0028 [status,~] = system([<span class="string">'fc '</span> filename <span class="string">' '</span> filepath]); +0029 <span class="comment">% 0 -> identical, 1 -> not identical</span> +0030 status = ~status; <span class="comment">% false (not identical), true(identical)</span> +0031 +0032 <span class="keyword">elseif</span> isunix <span class="comment">%untested!</span> +0033 [status,~] = system([<span class="string">'diff '</span> filename <span class="string">' '</span> filepath]); +0034 <span class="keyword">else</span> +0035 warning(<span class="string">'Platform not supported'</span>) +0036 <span class="keyword">end</span> +0037 +0038 <span class="keyword">if</span> status == 1 +0039 id(i) = 1; +0040 <span class="keyword">else</span> +0041 <span class="comment">% Status can also be any other number e.g. 2</span> +0042 id(i) = 0; +0043 <span class="keyword">end</span> +0044 +0045 id =logical(id); <span class="comment">%bugfix</span> +0046 <span class="keyword">end</span> +0047 +0048 <span class="keyword">end</span> +0049</pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_help/FriendlyID.html b/doc/plot_ID_matlab/fcn_help/FriendlyID.html new file mode 100644 index 0000000000000000000000000000000000000000..dfcda10ca3cd87fd1133f5f8eb851f03c1e20d7f --- /dev/null +++ b/doc/plot_ID_matlab/fcn_help/FriendlyID.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of FriendlyID</title> + <meta name="keywords" content="FriendlyID"> + <meta name="description" content="FriendlyID Changes the Hex Number to a human friendly datetime and dateStr"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- ../menu.html plot_ID_matlab --><!-- menu.html fcn_help --> +<h1>FriendlyID +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>FriendlyID Changes the Hex Number to a human friendly datetime and dateStr</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>function [IDf,PrjID, Str] = FriendlyID(ID) </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre class="comment">FriendlyID Changes the Hex Number to a human friendly datetime and dateStr + IDf ID as DateTime Object, PrjID returns the ProjectID, Str returns the + timestamp as String</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../../matlabicon.gif)"> +</ul> +This function is called by: +<ul style="list-style-image:url(../../matlabicon.gif)"> +</ul> +<!-- crossreference --> + + + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [IDf,PrjID, Str] = FriendlyID(ID)</a> +0002 <span class="comment">%FriendlyID Changes the Hex Number to a human friendly datetime and dateStr</span> +0003 <span class="comment">% IDf ID as DateTime Object, PrjID returns the ProjectID, Str returns the</span> +0004 <span class="comment">% timestamp as String</span> +0005 +0006 <span class="comment">%Remove Prefix</span> +0007 <span class="keyword">if</span> contains(ID,<span class="string">'-'</span>) +0008 IDarray = split(ID, <span class="string">'-'</span>); +0009 PrjID = IDarray{1}; +0010 ID = IDarray(2); <span class="comment">%keep only the second part</span> +0011 <span class="keyword">else</span> +0012 PrjID = <span class="string">''</span>; +0013 <span class="keyword">end</span> +0014 +0015 ID = hex2dec(ID); <span class="comment">% get it back as dec</span> +0016 IDf = datetime(ID,<span class="string">'ConvertFrom'</span>,<span class="string">'posixtime'</span>); +0017 Str = datestr(IDf); +0018 +0019 <span class="keyword">end</span> +0020</pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_help/createLinkedHDF5.html b/doc/plot_ID_matlab/fcn_help/createLinkedHDF5.html new file mode 100644 index 0000000000000000000000000000000000000000..17c4c52ba18a3f0203f617a0b15c73af76ee6ae0 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_help/createLinkedHDF5.html @@ -0,0 +1,68 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of createLinkedHDF5</title> + <meta name="keywords" content="createLinkedHDF5"> + <meta name="description" content="createLinkedHDF5 creates a HDF file that references the Sourcefile"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- ../menu.html plot_ID_matlab --><!-- menu.html fcn_help --> +<h1>createLinkedHDF5 +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>createLinkedHDF5 creates a HDF file that references the Sourcefile</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>function [status] = createLinkedHDF5(SourceFile,TargetPath,ID) </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre class="comment">createLinkedHDF5 creates a HDF file that references the Sourcefile + TargetPath is the STorage Location, ID the Foldername + Status returns true if the function was sucessfull</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../../matlabicon.gif)"> +</ul> +This function is called by: +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="../../plot_ID_matlab/fcn_core/Publish.html" class="code" title="function Publish(DataPaths, ID, figures, options)">Publish</a> Publishes Saves Plot, Data and Measuring script</li></ul> +<!-- crossreference --> + + + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [status] = createLinkedHDF5(SourceFile,TargetPath,ID)</a> +0002 <span class="comment">%createLinkedHDF5 creates a HDF file that references the Sourcefile</span> +0003 <span class="comment">% TargetPath is the STorage Location, ID the Foldername</span> +0004 <span class="comment">% Status returns true if the function was sucessfull</span> +0005 +0006 plist_id = <span class="string">'H5P_DEFAULT'</span>; +0007 +0008 <span class="comment">% try</span> +0009 fid = H5F.create(fullfile(TargetPath,ID,[ID,<span class="string">'_data.h5'</span>])); +0010 <span class="comment">%create External Link to Sourcefile in the Group linkToExternal</span> +0011 H5L.create_external([<span class="string">'..\data\'</span>,SourceFile],<span class="string">'/'</span>,fid, SourceFile ,plist_id,plist_id); +0012 H5F.close(fid); +0013 status = 1; +0014 <span class="comment">% catch</span> +0015 <span class="comment">% warning('No linked HDF file was created');</span> +0016 <span class="comment">% status = 0;</span> +0017 <span class="comment">% end</span> +0018 +0019 <span class="keyword">end</span> +0020</pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_help/graph.dot b/doc/plot_ID_matlab/fcn_help/graph.dot new file mode 100644 index 0000000000000000000000000000000000000000..c217252d52e0df6f199429d3c9d05409c8e0860d --- /dev/null +++ b/doc/plot_ID_matlab/fcn_help/graph.dot @@ -0,0 +1,8 @@ +/* Created by mdot for Matlab */ +digraph m2html { + + FileCompare [URL="FileCompare.html"]; + FriendlyID [URL="FriendlyID.html"]; + createLinkedHDF5 [URL="createLinkedHDF5.html"]; + removePltIdFiles [URL="removePltIdFiles.html"]; +} \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_help/graph.html b/doc/plot_ID_matlab/fcn_help/graph.html new file mode 100644 index 0000000000000000000000000000000000000000..f410dc0f220e80f9e291183035ac4b9e5b0a16c7 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_help/graph.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Dependency Graph for plot_ID_matlab\fcn_help</title> + <meta name="keywords" content="dependency, graph, dependence, plot_ID_matlab\fcn_help"> + <meta name="description" content="Dependency graph for plot_ID_matlab\fcn_help"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> +</head> +<body> +<a name="_top"></a> +<h1>Dependency Graph for plot_ID_matlab\fcn_help</h1> + +<center> +<img src="graph.png" usemap="#mainmap" alt="Dependency Graph for plot_ID_matlab\fcn_help" border="2" style="color:#000;"> +<map name="mainmap"> +<area shape="poly" id="node1" href="FileCompare.html" title="FileCompare" alt="" coords="160,29,156,22,145,15,128,10,106,7,82,5,59,7,37,10,20,15,9,22,5,29,9,37,20,43,37,49,59,52,82,53,106,52,128,49,145,43,156,37"> +<area shape="poly" id="node2" href="FriendlyID.html" title="FriendlyID" alt="" coords="317,29,314,22,304,15,290,10,271,7,250,5,230,7,211,10,196,15,187,22,184,29,187,37,196,43,211,49,230,52,250,53,271,52,290,49,304,43,314,37"> +<area shape="poly" id="node3" href="createLinkedHDF5.html" title="createLinkedHDF5" alt="" coords="552,29,547,22,532,15,509,10,479,7,446,5,414,7,384,10,361,15,346,22,341,29,346,37,361,43,384,49,414,52,446,53,479,52,509,49,532,43,547,37"> +<area shape="poly" id="node4" href="removePltIdFiles.html" title="removePltIdFiles" alt="" coords="768,29,763,22,750,15,728,10,702,7,672,5,642,7,615,10,594,15,580,22,576,29,580,37,594,43,615,49,642,52,672,53,702,52,728,49,750,43,763,37"> +</map> +</center> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_help/graph.map b/doc/plot_ID_matlab/fcn_help/graph.map new file mode 100644 index 0000000000000000000000000000000000000000..db74f0932fc84d93713b36db7d374679a03aa0e0 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_help/graph.map @@ -0,0 +1,4 @@ +<area shape="poly" id="node1" href="FileCompare.html" title="FileCompare" alt="" coords="160,29,156,22,145,15,128,10,106,7,82,5,59,7,37,10,20,15,9,22,5,29,9,37,20,43,37,49,59,52,82,53,106,52,128,49,145,43,156,37"> +<area shape="poly" id="node2" href="FriendlyID.html" title="FriendlyID" alt="" coords="317,29,314,22,304,15,290,10,271,7,250,5,230,7,211,10,196,15,187,22,184,29,187,37,196,43,211,49,230,52,250,53,271,52,290,49,304,43,314,37"> +<area shape="poly" id="node3" href="createLinkedHDF5.html" title="createLinkedHDF5" alt="" coords="552,29,547,22,532,15,509,10,479,7,446,5,414,7,384,10,361,15,346,22,341,29,346,37,361,43,384,49,414,52,446,53,479,52,509,49,532,43,547,37"> +<area shape="poly" id="node4" href="removePltIdFiles.html" title="removePltIdFiles" alt="" coords="768,29,763,22,750,15,728,10,702,7,672,5,642,7,615,10,594,15,580,22,576,29,580,37,594,43,615,49,642,52,672,53,702,52,728,49,750,43,763,37"> diff --git a/doc/plot_ID_matlab/fcn_help/graph.png b/doc/plot_ID_matlab/fcn_help/graph.png new file mode 100644 index 0000000000000000000000000000000000000000..b6a8761de8c8f817ed3c9f73ab0419c639697211 Binary files /dev/null and b/doc/plot_ID_matlab/fcn_help/graph.png differ diff --git a/doc/plot_ID_matlab/fcn_help/menu.html b/doc/plot_ID_matlab/fcn_help/menu.html new file mode 100644 index 0000000000000000000000000000000000000000..f1911270a7ec69cf2ab5e75b5a5570c0c651469e --- /dev/null +++ b/doc/plot_ID_matlab/fcn_help/menu.html @@ -0,0 +1,32 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Index for Directory plot_ID_matlab\fcn_help</title> + <meta name="keywords" content="plot_ID_matlab\fcn_help"> + <meta name="description" content="Index for Directory plot_ID_matlab\fcn_help"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> +</head> +<body> +<a name="_top"></a> +<center><a href="../../menu.html"><img alt="^" border="0" src="../../up.png"> Master index <img alt="^" border="0" src="../../up.png"></a></center> + +<h1>Index for plot_ID_matlab\fcn_help</h1> + +<h2>Matlab files in this directory:</h2> +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="FileCompare.html" target="function" title="fileCompare checks if file1 is (binary) identical to a file in filelist">FileCompare </a></li><li><a href="FriendlyID.html" target="function" title="FriendlyID Changes the Hex Number to a human friendly datetime and dateStr">FriendlyID </a></li><li><a href="createLinkedHDF5.html" target="function" title="createLinkedHDF5 creates a HDF file that references the Sourcefile">createLinkedHDF5 </a></li><li><a href="removePltIdFiles.html" target="function" title="removePltIdFiles removes functions that are part of PlotID out of flist">removePltIdFiles </a></li></ul> + + + +<h2>Dependency Graph</h2> +<ul style="list-style-image:url(../../simulinkicon.gif)"> +<li>View the <a href="graph.html" target="function">Graph</a>.</li> +</ul> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/fcn_help/removePltIdFiles.html b/doc/plot_ID_matlab/fcn_help/removePltIdFiles.html new file mode 100644 index 0000000000000000000000000000000000000000..4657b2b5e81beaf1e0fb5e2e55ea1cbfa1bfd111 --- /dev/null +++ b/doc/plot_ID_matlab/fcn_help/removePltIdFiles.html @@ -0,0 +1,67 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Description of removePltIdFiles</title> + <meta name="keywords" content="removePltIdFiles"> + <meta name="description" content="removePltIdFiles removes functions that are part of PlotID out of flist"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../../m2html.css"> + <script type="text/javascript"> + if (top.frames.length == 0) { top.location = "../../index.html"; }; + </script> +</head> +<body> +<a name="_top"></a> +<!-- ../menu.html plot_ID_matlab --><!-- menu.html fcn_help --> +<h1>removePltIdFiles +</h1> + +<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>removePltIdFiles removes functions that are part of PlotID out of flist</strong></div> + +<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="box"><strong>function [fListClean] = removePltIdFiles(fList) </strong></div> + +<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre class="comment">removePltIdFiles removes functions that are part of PlotID out of flist + Detailed explanation goes here +addpath('..\fcn_core');</pre></div> + +<!-- crossreference --> +<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +This function calls: +<ul style="list-style-image:url(../../matlabicon.gif)"> +</ul> +This function is called by: +<ul style="list-style-image:url(../../matlabicon.gif)"> +<li><a href="../../plot_ID_matlab/fcn_core/Publish.html" class="code" title="function Publish(DataPaths, ID, figures, options)">Publish</a> Publishes Saves Plot, Data and Measuring script</li></ul> +<!-- crossreference --> + + + +<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2> +<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function [fListClean] = removePltIdFiles(fList)</a> +0002 <span class="comment">%removePltIdFiles removes functions that are part of PlotID out of flist</span> +0003 <span class="comment">% Detailed explanation goes here</span> +0004 <span class="comment">%addpath('..\fcn_core');</span> +0005 +0006 [~,names,ext] = fileparts(fList); +0007 names = strcat(names, ext); <span class="comment">% add ext for comparison</span> +0008 +0009 <span class="comment">% Get a list of all .m files that are part of Plot id</span> +0010 PltID_flist = struct2table([dir(<span class="string">'fcn_help'</span>); dir(<span class="string">'fcn_core'</span>)]); <span class="comment">%get list of files</span> +0011 [~,~,PltID_flist.ext(:)] = fileparts(PltID_flist.name(:)); <span class="comment">% add ext column</span> +0012 +0013 PltID_flist = PltID_flist(strcmp(PltID_flist.ext,<span class="string">'.m'</span>),:); +0014 +0015 <span class="comment">% Comparison and filter</span> +0016 fListClean = fList(~ismember(names,PltID_flist.name)); +0017 +0018 <span class="keyword">end</span> +0019</pre></div> +<hr><address>Generated on Tue 03-Aug-2021 18:32:18 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/graph.dot b/doc/plot_ID_matlab/graph.dot new file mode 100644 index 0000000000000000000000000000000000000000..a561d49d2a3a9c8d5e3f5bfb92d63e95ac3f57c1 --- /dev/null +++ b/doc/plot_ID_matlab/graph.dot @@ -0,0 +1,7 @@ +/* Created by mdot for Matlab */ +digraph m2html { + example -> example_fcn; + + example [URL="example.html"]; + example_fcn [URL="example_fcn.html"]; +} \ No newline at end of file diff --git a/doc/plot_ID_matlab/graph.html b/doc/plot_ID_matlab/graph.html new file mode 100644 index 0000000000000000000000000000000000000000..43cbccf9c92f36933fb89f9924cd7c6b07c5f303 --- /dev/null +++ b/doc/plot_ID_matlab/graph.html @@ -0,0 +1,27 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Dependency Graph for plot_ID_matlab</title> + <meta name="keywords" content="dependency, graph, dependence, plot_ID_matlab"> + <meta name="description" content="Dependency graph for plot_ID_matlab"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> +</head> +<body> +<a name="_top"></a> +<h1>Dependency Graph for plot_ID_matlab</h1> + +<center> +<img src="graph.png" usemap="#mainmap" alt="Dependency Graph for plot_ID_matlab" border="2" style="color:#000;"> +<map name="mainmap"> +<area shape="poly" id="node1" href="example.html" title="example" alt="" coords="135,29,133,22,125,15,113,10,98,7,82,5,65,7,50,10,38,15,30,22,28,29,30,37,38,43,50,49,65,52,82,53,98,52,113,49,125,43,133,37"> +<area shape="poly" id="node2" href="example_fcn.html" title="example_fcn" alt="" coords="158,125,154,118,143,111,126,106,105,103,82,101,58,103,37,106,20,111,9,118,5,125,9,133,20,139,37,145,58,148,82,149,105,148,126,145,143,139,154,133"> +</map> +</center> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/plot_ID_matlab/graph.map b/doc/plot_ID_matlab/graph.map new file mode 100644 index 0000000000000000000000000000000000000000..1ed9cf9edccfa1fa33bdc4123b96256d0fc0f8e5 --- /dev/null +++ b/doc/plot_ID_matlab/graph.map @@ -0,0 +1,2 @@ +<area shape="poly" id="node1" href="example.html" title="example" alt="" coords="135,29,133,22,125,15,113,10,98,7,82,5,65,7,50,10,38,15,30,22,28,29,30,37,38,43,50,49,65,52,82,53,98,52,113,49,125,43,133,37"> +<area shape="poly" id="node2" href="example_fcn.html" title="example_fcn" alt="" coords="158,125,154,118,143,111,126,106,105,103,82,101,58,103,37,106,20,111,9,118,5,125,9,133,20,139,37,145,58,148,82,149,105,148,126,145,143,139,154,133"> diff --git a/doc/plot_ID_matlab/graph.png b/doc/plot_ID_matlab/graph.png new file mode 100644 index 0000000000000000000000000000000000000000..f00e5e597311e5671d7244590f80f9f2a409c272 Binary files /dev/null and b/doc/plot_ID_matlab/graph.png differ diff --git a/doc/plot_ID_matlab/menu.html b/doc/plot_ID_matlab/menu.html new file mode 100644 index 0000000000000000000000000000000000000000..a0bd1ea444ea77d61584d16f5e6b9cd03762734c --- /dev/null +++ b/doc/plot_ID_matlab/menu.html @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" + "http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>Index for Directory plot_ID_matlab</title> + <meta name="keywords" content="plot_ID_matlab"> + <meta name="description" content="Index for Directory plot_ID_matlab"> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> + <meta name="generator" content="m2html © 2005 Guillaume Flandin"> + <meta name="robots" content="index, follow"> + <link type="text/css" rel="stylesheet" href="../m2html.css"> +</head> +<body> +<a name="_top"></a> +<center><a href="../menu.html"><img alt="^" border="0" src="../up.png"> Master index <img alt="^" border="0" src="../up.png"></a></center> + +<h1>Index for plot_ID_matlab</h1> + +<h2>Matlab files in this directory:</h2> +<ul style="list-style-image:url(../matlabicon.gif)"> +<li><a href="example.html" target="function" title="test skript">example </a></li><li><a href="example_fcn.html" target="function" title="TEST_2 just a dummy function">example_fcn </a></li></ul> + +<h2>Other Matlab-specific files in this directory:</h2> +<ul style="list-style-image:url(../matlabicon.gif)"> +<li>test_data.mat</li></ul> +<h2>Subsequent directories:</h2> +<ul style="list-style-image:url(../matlabicon.gif)"> +<li>.git</li><li><a href="CI_files/menu.html">CI_files</a></li><li><a href="fcn_core/menu.html">fcn_core</a></li><li><a href="fcn_help/menu.html">fcn_help</a></li></ul> +<h2>Dependency Graph</h2> +<ul style="list-style-image:url(../simulinkicon.gif)"> +<li>View the <a href="graph.html" target="function">Graph</a>.</li> +</ul> + +<hr><address>Generated by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> © 2005</address> +</body> +</html> \ No newline at end of file diff --git a/doc/right.png b/doc/right.png new file mode 100644 index 0000000000000000000000000000000000000000..067c5baf250318b85ede9047ea56e394244a8712 Binary files /dev/null and b/doc/right.png differ diff --git a/doc/sgi.png b/doc/sgi.png new file mode 100644 index 0000000000000000000000000000000000000000..20052bc569a92dff7ffb2845009b7b0a5edde83b Binary files /dev/null and b/doc/sgi.png differ diff --git a/doc/simulinkicon.gif b/doc/simulinkicon.gif new file mode 100644 index 0000000000000000000000000000000000000000..1386ddd4ce654071015610e81fdea82461d8e28b Binary files /dev/null and b/doc/simulinkicon.gif differ diff --git a/doc/solaris.png b/doc/solaris.png new file mode 100644 index 0000000000000000000000000000000000000000..e31e8a2a48078233e65bf10502de055609469206 Binary files /dev/null and b/doc/solaris.png differ diff --git a/doc/up.png b/doc/up.png new file mode 100644 index 0000000000000000000000000000000000000000..b348b9a1b19bd5030efd3df293d84a18b41ef6a4 Binary files /dev/null and b/doc/up.png differ diff --git a/doc/windows.png b/doc/windows.png new file mode 100644 index 0000000000000000000000000000000000000000..6cec95b8815d3d5dab8c97c41c75197fdb014135 Binary files /dev/null and b/doc/windows.png differ