|
833 | 833 | "inputs": |
834 | 834 | [ |
835 | 835 |
|
836 | | - {"name":"Y", "kind":"required", "type":"numeric"}, |
837 | | - {"name":"DataVars", "kind":"namevalue", "type":"table", "purpose":"Table variables for which to compute polarhistograms"}, |
838 | | - {"name":"nbins", "kind":"namevalue", "type":["numeric","positive","scalar"]}, |
839 | | - {"name":"edges", "kind":"namevalue", "type":["numeric","vector"]}, |
840 | | - {"name":"'BinEdges'", "kind":"namevalue", "type":["char", "choices={'BinEdges'}"]}, |
841 | | - {"name":"counts", "kind":"namevalue", "type":"numeric"} |
| 836 | + {"name":"Y", "kind":"required", "type":[["table"], ["timetable"]]}, |
| 837 | + {"name":"DataVars", "kind":"namevalue", "type":[["choices=tbl.Properties.VariableNames"], ["choices=tbl.Properties.VarNames"], ["logical", "vector"], ["double", "vector", ">0"], ["cellstr"], ["char"]], "purpose":"Table variables for which to compute polarhistograms"}, |
| 838 | + {"name":"nbins", "kind":"namevalue", "type":["numeric","vector"], "purpose":"number of bins (scalar) or bin edges (vector)"}, |
| 839 | + {"name":"groupvars", "kind":"namevalue", "type":[["choices=tbl.Properties.VariableNames"], ["cellstr"], ["vector", "integer", ">0"], ["logical", "vector"], ["char"],["double"]], "purpose":"Grouping variable or [] if there is no grouping variable"}, |
| 840 | + {"name":"opts", "kind":"properties", "type":"matlab.graphics.chart.primitive.Histogram"} |
842 | 841 | ], |
| 842 | + |
| 843 | + "outputs": |
| 844 | + [ |
| 845 | + {"name":"H", "type":"matlab.graphics.chart.primitive.Histogram"} |
| 846 | + ], |
| 847 | + "description":"creates a polarhistogram" |
| 848 | + }, |
| 849 | + "polarhistogramFS": |
| 850 | + { |
| 851 | + "inputs": |
| 852 | + [ |
| 853 | + |
| 854 | + {"name":"Y", "kind":"required", "type":["double", "2d"]}, |
| 855 | + {"name":"DataVars", "kind":"namevalue", "type":[["logical", "vector"], ["double", "vector", ">0"]], "purpose":"numners indicating variables for which to compute polarhistograms"}, |
| 856 | + {"name":"nbins", "kind":"namevalue", "type":["numeric","vector"], "purpose":"number of bins (scalar) or bin edges (vector)"}, |
| 857 | + {"name":"groupvars", "kind":"namevalue", "type":[["vector", "integer", ">0"], ["logical", "vector"],["double"]], "purpose":"Grouping variable or [] if there is no grouping variable"}, |
| 858 | + {"name":"opts", "kind":"properties", "type":"matlab.graphics.chart.primitive.Histogram"} |
| 859 | + ], |
| 860 | + |
843 | 861 | "outputs": |
844 | 862 | [ |
845 | 863 | {"name":"H", "type":"matlab.graphics.chart.primitive.Histogram"} |
|
0 commit comments