Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 3.68 KB

README.md

File metadata and controls

85 lines (56 loc) · 3.68 KB

GracePlot.jl: Build Grace/xmgrace plots with Julia!

Build Status

🎨 Galleries (sample output) / 📡 CMDimCircuits.jl/SignalProcessing samples (Likely out of date.) 🎨

Description

The GracePlot.jl module is a simple control interface for Grace/xmgrace - providing more publication-quality plotting facilities to Julia.

  • GracePlot.jl is ideal for seeding a Grace session with plot data before fine-tuning the output with Grace itself.
  • Grace "templates" (.par) files can then be saved/re-loaded to maintain a uniform appearance in publication.
  • The user is encouraged to pre-process data using math facilities from Julia instead of those built-in to Grace.

Table of Contents

  1. Installation
    1. Configuration
  2. Sample Usage
  3. Interface Documentation
  4. Known Limitations

Installation

  1. Install Grace/xmgrace (details).
  2. Install Julia (download here).
  3. Install GracePlot from the Julia package prompt:
]add GracePlot
  1. Test GracePlot from the Julia prompt:
using GracePlot
include(joinpath(dirname(pathof(GracePlot)), "../sample/runsamples.jl"))

Configuration

By default, GracePlot.jl assumes Grace is accessible from the environment path as xmgrace. To specify a different command/path, simply set the GRACEPLOT_COMMAND environment variable.

The value of GRACEPLOT_COMMAND can therefore be set from ~/.julia/config/startup.jl with the following:

ENV["GRACEPLOT_COMMAND"] = "/home/laforge/bin/xmgrace2"

Sample Usage

The sample directory contains a few demonstrations on how to use GracePlot.jl.

The template directory contains a repository of sample Grace template (parameter) files.

Known Limitations