Gsharp 3.2 - New Features

General

  • Gsharp now stores data values as doubles rather than floats. This allows greater precision and allows the user to plot very small or very large data values.

  • Support for multiple pages has been added. You can now create as many pages as you like and switch between them with the scope command. (Gsharp still has only one canvas).
  • A new optimised folder format has been created. All the old restrictions on name lengths and string lengths have been removed. Old folder files can still be read.

  • Support for auto-repaint on data change has been added.

  • Gsharp and GsharpApp are now separate programs and can be renamed without affecting their functionality.

Gsharp for Windows

  • Support for TrueType fonts has been added.

  • The HierarchyBrowser can now be resized and supports cut and paste of objects.

  • ScriptBuilder can now be resized and has the same functionality as the UNIX version.

  • DataManager is now non-modal, can be resized and has support for folders.

  • DataEditor has been improved. Better interaction and now with a Cancel button.

  • The Resource Editors now work in the same way as the UNIX editors, including support for an Apply button

  • A Shading Scale Editor has been added

  • Excel files can be read

  • Excel data can be pasted from the Windows clipboard into the DataManager

  • Gsharp can write an Enhanced Metafile to the Windows Clipboard

  • Dialogs now have Close, FullSize and Iconify buttons.

Gsharp for UNIX and VMS

  • 3D Rotate button has been added to Command Toolbar for displaying rotation workbox of a 3D viewport.

GUI Objects and Gsharp Applications

  • A new object has been added - combobox. The Combobox allows dialogs to have a choice selected from a drop down list with the current choice shown in a text field.

  • It is now possible to create a Separator on a Toolbar.

  • It is now possible to set the number of columns in a Menu object

  • Selection dialogs and input_selection() now have support for multiple selections.

  • The resource XuNguiSize of the canvas object can now be set and retrieved

  • Users can now replace the Gsharp startup logo with their own logo using the environment variable STARTUP_LOGO.

The Graphics

  • Additional marker symbols have been added to the scatter plot.
  • It is now possible to request no mesh around undefined cells in a contour plot
  • It is now possible to turn off smoothing in contour and isoline graphs, so that isolines are a linear interpolation of data values.
  • Viewport frame can now be drawn behind or in front of viewport contents

Examples and Other Source Files

  • $UNIDIR/misc/Gsharp/UserFunc.c has been better documented and the import_worldmap routines have been moved to WorldmapFunc.c

ScriptBuilder

  • Gsharp now prompts for confirmation if user does a File/New on a modified script
  • Check GSL Syntax will check syntax and move cursor to first error

DataManager

  • Improved summary field in dataset overview. First and last elements of string, date and time datasets are now included.
  • Double click on a dataset to edit it.
  • Rename a dataset by clicking on the selected dataset.
  • Delete a dataset with the delete key.

Gsharp Script Language

  • filelist() returns a list of files matching the specified pattern, e.g. myfiles = filelist("*.mcd")
  • input_dataset() returns the selected dataset from a dialog.
  • redim() - changes the dimensions of a dataset without affecting the current contents.
  • Additional control parameters have been added to bilinear interpolation and two new interpolation methods have been added - fault and polynomial.
  • A new reader has been added - import_excel

Documentation

  • Documentation now split into three sections; Gsharp, GsharpApp and GsharpWE
  • Each section now has its own quick overview, sales pitch, Tutorial, Reference Manual and User Guide.
  • Examples for GsharpApp and GsharpWE have been completely rewritten.
  • Examples for Gsharp have been improved.
  • The function GuiHelp can now read from any URL - allowing users to add their own personalised help files.