Xmgr to Grace migration guide
This is a very brief guide describing problems and workarounds for
reading in project files saved with Xmgr. You should read the docs or
just play with Grace to test new features and controls.
0. DOCUMENTATION IS LARGELY NOT UPDATED YET!!!
1. Grace must be explicitly told the version number of the software used
to create a file. You can manually put "@version VERSIONID"
string in the beginning of the file. The VERSIONID is built as
MAJOR_REV*10000 + MINOR_REV*100 + PATCHLEVEL; so 40101 corresponds to
xmgr-4.1.1.
Projects saved with Xmgr-4.1.2 do NOT need the above, since they already
have the version string in them.
2. The above relates to the ascii projects only. The old binary projects (saved
with xmgr-4.0.*) are not automatically converted anymore. An input filter
must be defined to make the conversion work on-the-fly. Add the following
line to ~/.gracerc or the system-wide $GRACE_HOME/gracerc resource file:
DEFINE IFILTER "grconvert %s -" MAGIC "00000031"
See docs for more info on the I/O filters.
3. Grace is WYSIWYG. Xmgr was not. Many changes required to achieve the
WYSIWYG'ness led to the situation when graphs with objects carefully
aligned under Xmgr may not look so under Grace. Grace tries its best
to compensate for the differences, but sometimes you may have to adjust
such graphs manually.
4. Smith plots don't work now. They'll be put back soon.
5. A lot of symbol types (all except *real* symbols) are removed. "Location *"
types can be replaced (with much higher comfort) by A(nnotating)values.
"Impulse *", "Histogram *" and "Stair steps *" effects can be achieved
using the connecting line parameters (Type, Drop lines). "Dot" symbol is
removed as well; use the filled circle symbol of the zero size with no
outline to get the same effect.
6. Default page layout switched from free (allowing to resize canvas with
mouse) to fixed. For the old behaviour, put "PAGE LAYOUT FREE" in the Grace
resource file or use the "-free" command line switch.
7. System variables GR_* renamed to GRACE_*