Library next up previous contents
Next: Using the GRToolbox in Up: The GRToolbox Previous: Building Specific Moduls

Viewing the Points

As mentioned before, the GRToolbox is fully compatibnle to the public domain program xvgr (XView-Version) or xmgr (X/Motif-Version) by Paul J. Turner. The dataformat written by xvgr can be read by the tools and after it the output is written, it can be reread in xvgr again, without loosing the view information, xvgr stores in the data file.

Xview is a powerful tool for representing 2D graphics. Titles and legends can be entered, the coordinate system can be specified (tick size, tick labels, axis labels, etc). Curves or points can be represented with differnt colors, line- or pointstyles. Simple operations on the point sets are allowed. The graphs can be printed in Postscript or in the (Frame)Maker Interchange Format MIF, which allows the user to include the graphs in any TeX or framemaker document.

As a powerful feature for the GRToolbox, xvgr is able to rad data from a pipe by calling xvgr with the option -pipe. In this way the result of the performed options can be viewed without using a file for the provison result.

        gr_spline -f test.dat -n 80 | xvgr -pipe

shows splined curve in xvgr.

Also the GRToolbox allows to rapidly visualize 3D data in xvgr by using gr_transform tool.

        gr_transform -alpha 30 -beta 30 -f test.dat | xvgr -pipe

Jens Trapp
Wed Jun 12 20:34:13 MET DST 1996