This page describes the changes made to UniPlot 5.3.0 since version 5.2.0.
The data exchange command has been improved. The new commands have the names Data=>Data Exchange (Page) and Data=>Data Exchange (Document).
List of new features:
The number of data files is no longer limited to 16.
The data exchange can be executed even if channels are missing in the data files. Missing channels are displayed in a dialog box and can be replaced by new names or will be ignored.
Channel names of multiple datasets can be replaced in one step. For example the x-channel of all datasets can be changed from speed to pme.
The curve style (line color, -width, -style, marker style) can be modified.
Data files can be removed or added.
New functions have been added to the formula interpreter (see Functions in Formulas). (Compare functions, Boolean functions, if-than-else function). Example: The following formula be2 = if_than_else(compare_less(torque, 3), 500, be) creates a new channel be2 = f(torque, be). Channel torque values less than 3.0 will be set to 500 and torque values greater or equal to 3.0 will be set to the value in the be channel.
Two combo boxes have been added to the file open dialog box (see File=>Open, GetOpenFileName).
The combo box Recent Folder displayes the 10 last opened directories
and the Saved Recent Folder combo box displayes directories which have
been added using the new
button that opens
the following dialog box:
A new command line parameter, /ALLUSERS, in the UniPlot setup program has been added to create UniPlot program icons for all of the computer users.
Example:
up530.exe /S /LIC=NNN /ALLUSERS /D=C:\Programme\UniPlot-530
NNN is the complete license key.
Import-Options: A new option for the NC attribute long_name has been added. The long_name attribute is used to label the axes title. So far long_name contained the channel name followed by the unit in braces, e.g. Torque [Nm]. Now a pattern can be set to create the long_name like this: Torque in Nm or Torque/Nm or Torque/(Nm) or in two rows. See File=>Import Options.
NC-Browser (see The Data Browser): Single frozen channels can be unfreezed.
PowerPoint-Export: The pages can be selected from a list. A PowerPoint template can be used. The size of the exported page has been corrected. It should now be approx. identical to the size in UniPlot. See File=>More File Functions=>Send to PowerPoint.
In some PowerPoint versions (PP2000), vertical aligned text was displayed incorrectly. For example, the y axis title was displayed upside down. Now UniPlot uses WMF files for the export instead of EMF files (only PP2000).
This bug can be fixed with a Microsoft Service Pack. See http://support.microsoft.com/kb/264709/en-us.
The graphic export can create EMF (default is EMF) or WMF files. To create WMF files for the export, type in the following command into the command window:
WriteProfileInt("settings", "Export_EMF", 0)
To create EMF files:
WriteProfileInt("settings", "Export_EMF", 1)
The second alpha version of the updf library is ready. updf is the file format for the upcoming UniPlot version 6.0. In streams of updf files (see Overview UPDF Files) the normal file functions fwrite, fseek, fprintf etc., can be used. The updf_file_write function have been removed. A number of new functions has been added: updf_dump, updf_gen, updf_copy_to, updf_file_copy_to, updf_prop_copy_to, updf_fileversion, updf_libversion.
| New Functions in UniPlot 5.3.0 | |
|---|---|
| DocLoadPage | DocLoadPage returns the page handle for the given page name. |
| GetDirectoryWriteAccess | GetDirectoryWriteAccess checks if the user has write access for the given directory. |
| GetFileWriteAccess | GetFileWriteAccess checks if the user has write access for the given file. |
| PageGetMargin | PageGetMargin requests if the magenta colored page frame is visible or not. |
| PageSetMargin | PageSetMargin sets the magenta colored page frame on or off. |
| Shell_CreateShortcut | Shell_CreateShortcut creates a short cut to a program or file on the desktop, in the program menu or in other places. |
| Shell_DeleteShortcut | Shell_DeleteShortcut removes a shell short cut. |
| Shell_GetShortcut | Shell_GetShortcut returns information about a shell short cut file. |
| Shell_GetSpecialFolder | Shell_GetSpecialFolder returns the path for a given ID. For example CSIDL_DESKTOPDIRECTORY returns the desktop directory for the current user. |
| Shell_IsShortcut | Shell_IsShortcut checks if a given short cut already exists.. |
| TableGetMergedCells | TableGetMergedCells returns a real matrix with four columns. Each row specifies a range of cells which are merged to one cell. |
| fcloseall | fcloseall closes all with fopen opened files. |
| fflush | fflush flushes the stream buffer. |
| fgetlen | fgetlen returns the file length in bytes. |
| fsetlen | fsetlen sets the file length in bytes. |
| histogram | histogram calculates the histogram of a vector. |
| Changed Functions in UniPlot 5.3.0 | |
|---|---|
| GetListBoxText | GetListBoxText splits the return value of a combo box or list box into a string vector. The value is returned from the DialogBox function. |
| ReportControl_GetInit | ReportControl_GetInit converts a string matrix into a scalar string which can be used to initialize the report control in a dialog box. |
| ReportControl_GetMatrix | ReportControl_GetMatrix converts the DialogBox return value for the report control into a matrix. |
| TYAddData | TYAddData adds data to a y/t dataset (1D dataset). |
| TYCreate | TYCreate creates a new y/t datasets (1D dataset). |
| TYSetData | TYSetData sets the coordinates of a y/t datasets (1D-dataset). |
| TableMergeCells | TableMergeCells specifies which neighbouring cells are merged. |
| XYAddData | The XYAddData function adds data to an existing dataset. |
| XYCreate | XYCreate creates a new 2D dataset. |
| XYSetData | XYSetData sets the xy-coordinates of a dataset. |
| XYSetNewData | Is replaced by XYSetData. |
| fseek | fseek moves the file pointer to a new position. |
| system | system creates a new process. |
The following bugs have been fixed:
A complete list of known bugs can be found on the Internet: http://www.uniplot.com/bugs_e.htm.
id-1642573