runmat 0.4.8-dev.0 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/stdlib.snapshot +0 -0
- package/dist/generated/builtin-examples-catalog.d.ts.map +1 -1
- package/dist/generated/builtin-examples-catalog.js +1 -1
- package/dist/generated/builtin-examples-catalog.js.map +1 -1
- package/dist/generated/builtins/xline.d.ts +4 -0
- package/dist/generated/builtins/xline.d.ts.map +1 -0
- package/dist/generated/builtins/xline.js +50 -0
- package/dist/generated/builtins/xline.js.map +1 -0
- package/dist/generated/builtins/yline.d.ts +4 -0
- package/dist/generated/builtins/yline.d.ts.map +1 -0
- package/dist/generated/builtins/yline.js +50 -0
- package/dist/generated/builtins/yline.js.map +1 -0
- package/dist/generated/builtins-manifest.d.ts.map +1 -1
- package/dist/generated/builtins-manifest.js +38 -0
- package/dist/generated/builtins-manifest.js.map +1 -1
- package/dist/lsp/runmat_lsp.d.ts +2 -2
- package/dist/lsp/runmat_lsp.js +4 -4
- package/dist/lsp/runmat_lsp_bg.wasm +0 -0
- package/dist/lsp/runmat_lsp_bg.wasm.d.ts +2 -2
- package/dist/pkg-web/runmat_wasm_web.d.ts +46 -46
- package/dist/pkg-web/runmat_wasm_web.js +110 -109
- package/dist/pkg-web/runmat_wasm_web_bg.wasm +0 -0
- package/dist/pkg-web/runmat_wasm_web_bg.wasm.d.ts +37 -37
- package/dist/runtime/stdlib.snapshot +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xline.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/xline.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UA6CjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "xline",
|
|
5
|
+
"category": "plotting",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"xline",
|
|
8
|
+
"vertical reference line",
|
|
9
|
+
"constant line",
|
|
10
|
+
"plot annotation"
|
|
11
|
+
],
|
|
12
|
+
"summary": "Draw vertical reference lines on the current axes.",
|
|
13
|
+
"description": "`xline` adds one or more vertical reference lines to the current axes. It accepts scalar or vector x-coordinates, MATLAB line specs, labels, and common line name/value styling such as `Color`, `LineStyle`, `LineWidth`, and `DisplayName`.",
|
|
14
|
+
"behaviors": [
|
|
15
|
+
"`xline(x)` adds a vertical reference line at each coordinate in `x`.",
|
|
16
|
+
"Reference lines append to the current axes without replacing existing plot content.",
|
|
17
|
+
"Line spans follow the active axes limits, including later `xlim` and `ylim` changes.",
|
|
18
|
+
"The returned handle supports `get` and `set` for `Value`, `Color`, `LineWidth`, `LineStyle`, `Label`, `LabelOrientation`, `DisplayName`, and `Visible`."
|
|
19
|
+
],
|
|
20
|
+
"examples": [
|
|
21
|
+
{
|
|
22
|
+
"description": "Add a dashed threshold line",
|
|
23
|
+
"input": "plot(1:10, rand(1, 10));\nxline(5, '--r', 'Threshold');",
|
|
24
|
+
"output": "% Adds a red dashed vertical reference line at x = 5"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"description": "Add multiple reference lines",
|
|
28
|
+
"input": "plot(1:10, rand(1, 10));\nxline([2 5 8], ':');",
|
|
29
|
+
"output": "% Adds three dotted vertical reference lines"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"links": [
|
|
33
|
+
{
|
|
34
|
+
"label": "yline",
|
|
35
|
+
"url": "./yline"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"label": "plot",
|
|
39
|
+
"url": "./plot"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"key": "xline",
|
|
43
|
+
"slug": "xline",
|
|
44
|
+
"aliases": [],
|
|
45
|
+
"categoryPath": [
|
|
46
|
+
"plotting"
|
|
47
|
+
]
|
|
48
|
+
};
|
|
49
|
+
export default builtinDoc;
|
|
50
|
+
//# sourceMappingURL=xline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"xline.js","sourceRoot":"","sources":["../../../src/generated/builtins/xline.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,UAAU;IACtB,UAAU,EAAE;QACV,OAAO;QACP,yBAAyB;QACzB,eAAe;QACf,iBAAiB;KAClB;IACD,SAAS,EAAE,oDAAoD;IAC/D,aAAa,EAAE,+OAA+O;IAC9P,WAAW,EAAE;QACX,sEAAsE;QACtE,qFAAqF;QACrF,sFAAsF;QACtF,yJAAyJ;KAC1J;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,6BAA6B;YAC5C,OAAO,EAAE,yDAAyD;YAClE,QAAQ,EAAE,sDAAsD;SACjE;QACD;YACE,aAAa,EAAE,8BAA8B;YAC7C,OAAO,EAAE,gDAAgD;YACzD,QAAQ,EAAE,8CAA8C;SACzD;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;QACD;YACE,OAAO,EAAE,MAAM;YACf,KAAK,EAAE,QAAQ;SAChB;KACF;IACD,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,OAAO;IACf,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,UAAU;KACX;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yline.d.ts","sourceRoot":"","sources":["../../../src/generated/builtins/yline.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,QAAA,MAAM,UAAU,EAAE,UA6CjB,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// @generated by scripts/generate-builtins.cjs
|
|
2
|
+
// Do not edit by hand.
|
|
3
|
+
const builtinDoc = {
|
|
4
|
+
"title": "yline",
|
|
5
|
+
"category": "plotting",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"yline",
|
|
8
|
+
"horizontal reference line",
|
|
9
|
+
"constant line",
|
|
10
|
+
"plot annotation"
|
|
11
|
+
],
|
|
12
|
+
"summary": "Draw horizontal reference lines on the current axes.",
|
|
13
|
+
"description": "`yline` adds one or more horizontal reference lines to the current axes. It accepts scalar or vector y-coordinates, MATLAB line specs, labels, and common line name/value styling such as `Color`, `LineStyle`, `LineWidth`, and `DisplayName`.",
|
|
14
|
+
"behaviors": [
|
|
15
|
+
"`yline(y)` adds a horizontal reference line at each coordinate in `y`.",
|
|
16
|
+
"Reference lines append to the current axes without replacing existing plot content.",
|
|
17
|
+
"Line spans follow the active axes limits, including later `xlim` and `ylim` changes.",
|
|
18
|
+
"The returned handle supports `get` and `set` for `Value`, `Color`, `LineWidth`, `LineStyle`, `Label`, `LabelOrientation`, `DisplayName`, and `Visible`."
|
|
19
|
+
],
|
|
20
|
+
"examples": [
|
|
21
|
+
{
|
|
22
|
+
"description": "Add a zero baseline",
|
|
23
|
+
"input": "plot(-5:5, (-5:5).^2 - 10);\nyline(0, 'k', 'LineWidth', 1);",
|
|
24
|
+
"output": "% Adds a black horizontal reference line at y = 0"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"description": "Label a baseline",
|
|
28
|
+
"input": "plot(1:10, rand(1, 10));\nyline(0.5, ':', 'Baseline', 'LabelOrientation', 'horizontal');",
|
|
29
|
+
"output": "% Adds a dotted labeled horizontal reference line"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"links": [
|
|
33
|
+
{
|
|
34
|
+
"label": "xline",
|
|
35
|
+
"url": "./xline"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"label": "plot",
|
|
39
|
+
"url": "./plot"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"key": "yline",
|
|
43
|
+
"slug": "yline",
|
|
44
|
+
"aliases": [],
|
|
45
|
+
"categoryPath": [
|
|
46
|
+
"plotting"
|
|
47
|
+
]
|
|
48
|
+
};
|
|
49
|
+
export default builtinDoc;
|
|
50
|
+
//# sourceMappingURL=yline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"yline.js","sourceRoot":"","sources":["../../../src/generated/builtins/yline.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAC9C,uBAAuB;AAIvB,MAAM,UAAU,GAAe;IAC7B,OAAO,EAAE,OAAO;IAChB,UAAU,EAAE,UAAU;IACtB,UAAU,EAAE;QACV,OAAO;QACP,2BAA2B;QAC3B,eAAe;QACf,iBAAiB;KAClB;IACD,SAAS,EAAE,sDAAsD;IACjE,aAAa,EAAE,iPAAiP;IAChQ,WAAW,EAAE;QACX,wEAAwE;QACxE,qFAAqF;QACrF,sFAAsF;QACtF,yJAAyJ;KAC1J;IACD,UAAU,EAAE;QACV;YACE,aAAa,EAAE,qBAAqB;YACpC,OAAO,EAAE,6DAA6D;YACtE,QAAQ,EAAE,mDAAmD;SAC9D;QACD;YACE,aAAa,EAAE,kBAAkB;YACjC,OAAO,EAAE,0FAA0F;YACnG,QAAQ,EAAE,mDAAmD;SAC9D;KACF;IACD,OAAO,EAAE;QACP;YACE,OAAO,EAAE,OAAO;YAChB,KAAK,EAAE,SAAS;SACjB;QACD;YACE,OAAO,EAAE,MAAM;YACf,KAAK,EAAE,QAAQ;SAChB;KACF;IACD,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,OAAO;IACf,SAAS,EAAE,EAAE;IACb,cAAc,EAAE;QACd,UAAU;KACX;CACF,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"builtins-manifest.d.ts","sourceRoot":"","sources":["../../src/generated/builtins-manifest.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE7E,eAAO,MAAM,eAAe,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"builtins-manifest.d.ts","sourceRoot":"","sources":["../../src/generated/builtins-manifest.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE7E,eAAO,MAAM,eAAe,EAAE,oBAAoB,EAk4PjD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAgZ9D,CAAC;AAEF,eAAO,MAAM,4BAA4B,sEAC0C,CAAC"}
|
|
@@ -7953,6 +7953,24 @@ export const builtinManifest = [
|
|
|
7953
7953
|
"summary": "Write numeric or string matrices to delimited text files with MATLAB-compatible defaults.",
|
|
7954
7954
|
"exampleCount": 6
|
|
7955
7955
|
},
|
|
7956
|
+
{
|
|
7957
|
+
"key": "xline",
|
|
7958
|
+
"title": "xline",
|
|
7959
|
+
"slug": "xline",
|
|
7960
|
+
"aliases": [],
|
|
7961
|
+
"category": "plotting",
|
|
7962
|
+
"categoryPath": [
|
|
7963
|
+
"plotting"
|
|
7964
|
+
],
|
|
7965
|
+
"keywords": [
|
|
7966
|
+
"xline",
|
|
7967
|
+
"vertical reference line",
|
|
7968
|
+
"constant line",
|
|
7969
|
+
"plot annotation"
|
|
7970
|
+
],
|
|
7971
|
+
"summary": "Draw vertical reference lines on the current axes.",
|
|
7972
|
+
"exampleCount": 2
|
|
7973
|
+
},
|
|
7956
7974
|
{
|
|
7957
7975
|
"key": "xor",
|
|
7958
7976
|
"title": "xor",
|
|
@@ -7991,6 +8009,24 @@ export const builtinManifest = [
|
|
|
7991
8009
|
"summary": "Extract year numbers from datetime values.",
|
|
7992
8010
|
"exampleCount": 2
|
|
7993
8011
|
},
|
|
8012
|
+
{
|
|
8013
|
+
"key": "yline",
|
|
8014
|
+
"title": "yline",
|
|
8015
|
+
"slug": "yline",
|
|
8016
|
+
"aliases": [],
|
|
8017
|
+
"category": "plotting",
|
|
8018
|
+
"categoryPath": [
|
|
8019
|
+
"plotting"
|
|
8020
|
+
],
|
|
8021
|
+
"keywords": [
|
|
8022
|
+
"yline",
|
|
8023
|
+
"horizontal reference line",
|
|
8024
|
+
"constant line",
|
|
8025
|
+
"plot annotation"
|
|
8026
|
+
],
|
|
8027
|
+
"summary": "Draw horizontal reference lines on the current axes.",
|
|
8028
|
+
"exampleCount": 2
|
|
8029
|
+
},
|
|
7994
8030
|
{
|
|
7995
8031
|
"key": "zeros",
|
|
7996
8032
|
"title": "zeros",
|
|
@@ -8425,8 +8461,10 @@ export const builtinDocLoaders = {
|
|
|
8425
8461
|
"whos": () => import("./builtins/whos.js").then((mod) => mod.default),
|
|
8426
8462
|
"write": () => import("./builtins/write.js").then((mod) => mod.default),
|
|
8427
8463
|
"writematrix": () => import("./builtins/writematrix.js").then((mod) => mod.default),
|
|
8464
|
+
"xline": () => import("./builtins/xline.js").then((mod) => mod.default),
|
|
8428
8465
|
"xor": () => import("./builtins/xor.js").then((mod) => mod.default),
|
|
8429
8466
|
"year": () => import("./builtins/year.js").then((mod) => mod.default),
|
|
8467
|
+
"yline": () => import("./builtins/yline.js").then((mod) => mod.default),
|
|
8430
8468
|
"zeros": () => import("./builtins/zeros.js").then((mod) => mod.default),
|
|
8431
8469
|
"zlabel": () => import("./builtins/zlabel.js").then((mod) => mod.default),
|
|
8432
8470
|
};
|