6. Tips and tricks#

6.1. Extended characters, especially Greek alphabet#

It is possible to use fonts other than the standard font in any text area (curve legend, axis label, etc…). In particular, it is possible to use the « Symbol » font to insert Greek characters.

For this, if in the « String » field of the legend we put the following string « testf {Symbol} testf {Arial} test », like this:

_images/100000000000018C0000003AAD114B1B9B25523F.png

we get a legend that looks like this (the commandf {x} changing the font)

_images/10000000000000F60000002912395DBF9F227123.png

The User’s Guide in paragraph 7.1 shows the various commands for controlling the formatting of text areas (in particular fonts, size, color, etc.) and in paragraph [§6.1] the mechanism for defining the various fonts that Grace can use.

6.2. Point or comma?#

By default, Grace relies on the user environment to determine whether to represent decimal numbers with a period or a comma. On most recent systems, in France, it will therefore use the comma. If it is necessary to print curves with points, under Linux, you must do the following manipulation: before starting Grace, do « export LC_NUMERIC = POSIX » or « setenv LC_NUMERIC POSIX » depending on the shell used.

6.3. Batch#

It is possible to go from the graphical interface, especially for repetitive tasks, we will find examples of the use of batch in the tutorial:

http://plasma-gate.weizmann.ac.il/Grace/doc/Tutorial.html