GraceTMPL 0.3.2 review
DownloadGraceTMPL is a set of C++ classes which allow data to be saved as Grace files, optionally using a template. XmGrace is a very powe
|
|
GraceTMPL is a set of C++ classes which allow data to be saved as Grace files, optionally using a template.
XmGrace is a very powerful tool to produce 2D-Plots of your data. However, though there is also support for running grace in batch mode there is a certain lack in support for automation.
When it comes to producing a presentation of your data on many sheets and your preferred formatting of the data should change sometime in the process, you could easily be confronted with a bunch of work doing the necessary changes.
The GraceTMPL classes provide an easy way to use existing grace-files as a template to format any number of graphs in a predefined way and save them as grace-files. This way you can apply the same graphical appearance to all of your data. In case your preferences change, you just alter the template and reformat your complete set of data within the shortest amount of time.
Here are some key features of "GraceTMPL":
The application using the GraceTMPL classes can define environment variables for the sheet, each graph and each dataset. The variables can be used in the template for dynamic string replacement. Even output filenames can be templated using variable substitution.
Datasets in the template file can be marked to be included in the destination files for easy reference.
Datasets can be tagged with arbitrary information strings to be interpreted by the application using GraceTMPL. This way information can be passed to the application on how to create the datasets and what kind of information is intended by the template author.
In case no template file is loaded by the application, GraceTMPL::Save will output plain sets of data tables which can easily be imported by XmGrace or other applications.
Requirements:
Grace
GraceTMPL 0.3.2 keywords