Bondoki / xmgrace

Grace (XmGrace) plotting tool with improved symbols and colors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GRACE - GRaphing, Advanced Computation and Exploration of data

Recommended reading:

COPYRIGHT               - legal stuff
LICENSE                 - license terms (GPL)
CHANGES                 - chronological list of changes
doc/FAQ.html            - frequently asked questions (in HTML format)

The installation procedure is covered in the User's Guide (in the doc directory).

My fork additions

Direct fork from fxcoudert/xmgrace.
XmGrace with a more appealing look by replacing symbols to Pentagon, Hexagon, and Octagon instead of triangle variants. Adding routine to plot symbols plus, cross, and star as polygons instead of lines allowing filling with color. Introducing slithly modified Default.agr with colors similar to seaborn/matplotlib, see figure below.

ChangeLog

  • change Default.agr for more pleasing appearance

    • line thickness
    • font Helvetica in most dialogs
    • suitable DIN A4 plotting screen
    • pleasing colors as in seaborn/matplotlib
  • adding plotting routine to replace symbols by polygons

    • rename Triangle up -> Triangle
    • reamme Triangle left -> Pentagon
    • rename Triangle down -> Hexagon
    • rename Triangle right -> Octagon
    • replace drawing for plus, cross, and star
    • see line 1945-1999 in platone.c for triangle fan as in matplotlib
  • default behavior: ps file export at start-up

Install

    # configures the application - see also doc/UsersGuide.pdf
    ./configures
    # build the application
    make
    # run the application
    ./src/xmgrace
    # install the application with root
    sudo make install

Screenshot

Useful codies

    # use inkscape to convert ps to png
    inkscape --export-type="png" -D xmgrace_plot.ps
    # use ghostview to convert ps to pdf
    gs -dCompatibilityLevel=1.4 -sPAPERSIZE=a4 -dDELAYSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dEmbedAllFonts=true -sOutputFile=xmgrace_plot.pdf -DPDFSETTINGS=/prepress -c "<</Orientation 3>> setpagedevice" -f xmgrace_plot.ps

Useful links

Unicode/LaTex font support: install of additional fonts and changes in Default.agr
XmGrace .agr-parser: python module for parsing .agr files
JScatter xmgrace-binding: use python3 to access xmgrace
XmGrace patch by feranick: after build xmgrace looks amazing and is more intuitive to use
XmGrace patch by vigmond: after build xmgrace looks even more amazing and is more intuitive to use (but sadly breaks the default agr.file in non critical way)

Acknowledgement

Big thanks to the XmGrace community to keep it alive :)

About

Grace (XmGrace) plotting tool with improved symbols and colors.

License:GNU General Public License v2.0


Languages

Language:C 91.5%Language:Yacc 3.2%Language:Shell 2.9%Language:Perl 1.9%Language:Makefile 0.3%Language:C++ 0.2%Language:Fortran 0.1%