C7 - Origin 2015 LabTalk Improvements
JIRA: ORG-9979
- 1 LabTalk Access to Properties of Individual Radar Axis
- 2 LabTalk Access to Margins of Legend
- 3 LabTalk Access to 1D&2D Kernal Density Estimation
- 4 Tile Windows In a Sequence
- 5 Force Recalculation on a Specific Operation
- 6 New Notation support to define LabTalk Literal string
- 7 New Macros will be called when using Draw Data tool
- 8 New System Variables
LabTalk Access to Properties of Individual Radar Axis
JIRA: ORG-9980
//Assuming a radar chart is active
//"Rescale Each Axis Independently" should be checked on Miscellaneous page
layer.y1.to = 18;
layer.y2.to = 25;LabTalk Access to Margins of Legend
JIRA: ORG-10891
Property | Access | Description |
|---|---|---|
object.margin.unit | Read/write, numeric | It specifies the unit to define the margin between the text and its borders. |
object.margin.left, | Read/write, numeric | It specifies the left/right/top/bottom margin between the text and its borders. |
LabTalk Access to 1D&2D Kernal Density Estimation
JIRA: ORG-11688
two LT functions in SCV's category Distributions: PDF:
ksdensity(x, vd, w)
ks2density(x, y, vx, vy, wx, wy)Tile Windows In a Sequence
JIRA: ORG-9984
win -s th1; /// tile horizontally first by window type then by name
win -s tv2; /// tile vertically by window name
Force Recalculation on a Specific Operation
JIRA: ORG-10506
//Force the operation with UID 804 to recalculate
run -p aui 804;New Notation support to define LabTalk Literal string
JIRA: ORG-10482
Support for labtalk string definition
// The syntax <[< indicates the start of literal strings // The syntax >]> indicates the end of literal strings // The syntax can be changed in Origin.ini "Text" section // Can be used to include special symbols like double quotation marks in a string string str$ = <[<a"b'";"c">]>; str$=; //Should return a"b'";"c"
Support in X-Function arguments
patternT text:=<[<"Sample A" "Sample B" "Sample C">]>;
New Macros will be called when using Draw Data tool
JIRA: ORG-10507
BeforePointProc will be called before PointProc macro
AfterPointProc will be called after PointProc macro
Use spline for connect line in Draw Data
def AfterPointProc
{
if (getpts.count >= 3)
{
set %B -l 0;
}
}
dotool 5;New System Variables
| Function Area | Variable | Type | Default | Supported | Description |
|---|---|---|---|---|---|---|
ORG-11066 | Size of the worksheet cell with embedded graph when auto re-size | @WCSGW | int | 2 | Positive integer | Worksheet Cell Size Graph Width, 1.5 = 150% of default column width |
@WCSGH | int | 6 | Positive integer | Worksheet Cell Size Graph Height, 1.5 = 150% of default row height |