set_attr()
Sets the data attribute
Syntax
y = set_attr(data, "attr_name", attribute_value)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| data | data | (-∞, ∞) | integer, real, complex | yes |
| attr_name | name of the attribute | string | yes | |
| attribute_value | value of the attribute | (-∞, ∞) | boolean, integer, real, complex | yes |
Examples
a = set_attr(data, "TraceType", "Spectral")
a = set_attr(data, "TraceType", "Histogram")
Defined in
Built in
See Also
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()