What’s New in UniPlot 4.1.0¶
This page describes the changes made to UniPlot 4.1.0 since version 4.0.5.
New UniScript Object¶
See Overview UniScript Objects.
New Functions in UniPlot 4.1.0 | |
---|---|
error_create | error_create creates an error object. |
gc | gc invokes the garbage-collector. |
obj_copy | obj_copy creates a copy of an object. |
obj_count | obj_count returns the number of variables in an object. |
obj_count_num | obj_count_num returns the number of number keys in an object. |
obj_count_str | obj_count_str returns the number of string keys in an object. |
obj_create | obj_create creates an UniScript object. |
obj_has_key | obj_has_key checks if a given key exists. |
obj_info | obj_info returns a string of the form “obj-name,hex-address”. |
obj_keys | obj_keys returns all keys or a range of keys for the given object. |
obj_load | obj_load loads an object saved with obj_save from the hard drive. |
obj_lookup | obj_lookup returns the value of a given key. |
obj_methods | obj_methods returns an object with methods (member functions) for the given object. |
obj_parent | obj_parent returns the parent object or 0 if the object does not have a parent. |
obj_remove | obj_remove removes a key-value pair from an object. |
obj_save | obj_save saves an object as an XML file or as an binary file on the hard drive or as a string. |
obj_set_at | obj_set_at adds a key-value pair to the given object. If the key already exists the value will be overwritten. |
obj_set_methods | obj_set_methods sets the methods (member functions) for the given object. |
obj_set_parent | obj_set_parent sets the parent object. |
obj_set_str_return | obj_set_str_return specifies the return value of obj_lookup. If a key does not exist, obj_lookup may return 0, an empty string or throw an exception. |
utf8_decode | utf8_decode converts an UTF8 string to an ANSI string. |
utf8_encode | utf8_encode converts an ANSI string to an UTF8 string. |
Changed Functions in UniPlot 4.1.0 | |
---|---|
symbols | symbols returns the names and the sizes of variables and functions. |
type | type returns the type of its argument. |
Bug Fixes¶
The following bugs have been fixed:
- Placeholder: If a table object contained a placeholder which could not be replaced by a value from an NC file, the placeholder would not be removed. This has been fixed.
- The RegisterFunction documentation was incorrect. The documentation has been fixed.
- IC-Editor: Sometimes the edit could not save a file on a network drive when the server was running Windows NT 4.0. This has been fixed.
- Akima spline: The function to calculate the akima spline did not compute the last data point correctly. Sometimes the last point was a huge negative number. This bug has been fixed.
- Formula Interpreter: The min(), max() function did not calculate the min, max values element wise. Instead it calculated the min/max value for the complete channel. The counter() Function falied to be calculated. These bugs have been fixed.
- Data Editor: The copy to clipboard function failed when the data contained missing values. This has been fixed.
- Data Editor: For some netCDF files the C_format attribute was not evaluated correctly. This bug has been fixed.
Read What’s New in UniPlot 4.0.0 to see the changes made since UniPlot 3.6.x.
id-668928