-
Notifications
You must be signed in to change notification settings - Fork 7
Installation
kojix2 edited this page Jun 18, 2020
·
18 revisions
Install GR first.
Set environment variable GRDIR, if you have not already done.
export GRDIR="/your/path/to/gr"
Add this line to your application's Gemfile:
gem 'ruby-gr'
Or
gem install ruby-gr
GR3 and GR::Plot require numo-narray.
git clone https://github.com/red-data-tools/GR.rb
cd GR.rb
rake build
rake install
Download the latest release.
Set environment variable GRDIR.
export GRDIR="your/path/to/gr"
- macOS Catalina and macOS Mojave: See the "How to open an app that hasn’t been notarized or is from an unidentified developer" section of Safely open apps on your Mac in the Apple documentation.
- The third party GR packages for Mac, Linux and Windows are available (for advanced users).
- If you find any problem, please report the issue here.
brew install libgr
Set environment variable GRDIR.
export GRDIR=$(brew --prefix libgr)
packages.red-data-tools.org provides libgr-dev
and libgr3-dev
.
If you are using Rubyinstaller, pacman will automatically install mingw-w64-gr when the gem is installed.
User's Guide
Simple, matlab-style API
- Plotting functions
- Plot attributes
- Multiple plots
- Multiple subplots
- Save Plot to a file
- Jupyter Notebook
GR Native functions
For developers