Skip to content

Commit ef260b9

Browse files
committed
Made entirely new Artist and Backend separation infrastructure for a
scalable and extensible library. The current set of changes lay the ground work for a broader refactoring of rubyplot that will allow easily adding all sorts of plots to the library in the future. In the present form the new architecture can only plot a very simple scatter plot. WIP separating artist from image magick WIP making new image magick abstraction WIP making backend WIP separation WIP working on separating legends WIP separate artists into different files WIP added more artists WIP added axis WIP refactoring Axes and Figure titles for X and Y axes finished scatter portint to new arch
1 parent c4bc5c3 commit ef260b9

37 files changed

Lines changed: 1082 additions & 143 deletions

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,10 @@ spec/fixtures/
5252
*.so
5353
Gemfile.lock
5454
spec/temp/
55+
TAGS
56+
c++
57+
cc
58+
g++
59+
gcc
60+
mpicc
61+
mpicxx

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# rubyplot
22
An advanced plotting library for Ruby.
33

4+
Rubyplot aims to be the most advanced visualization solution for Rubyists.
5+
46
# Roadmap
57

68
The library in its current form is heavily under development.

lib/rubyplot.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
require 'bigdecimal'
22

3-
require 'rubyplot/version'
3+
require 'rmagick'
4+
45
require 'rubyplot/color'
6+
require 'rubyplot/version'
7+
require 'rubyplot/themes'
8+
require 'rubyplot/artist'
9+
require 'rubyplot/backend'
510
require 'rubyplot/figure'
611
require 'rubyplot/subplot'
7-
require 'rubyplot/axes'
812
require 'rubyplot/spi'
913

1014
require 'grruby.so'

lib/rubyplot/artist.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require_relative 'artist/base'
2+
require_relative 'artist/legend'
3+
require_relative 'artist/line'
4+
require_relative 'artist/tick'
5+
require_relative 'artist/axis'
6+
require_relative 'artist/text'
7+
require_relative 'artist/plot'
8+
require_relative 'artist/axes'
9+
require_relative 'artist/rectangle'
10+
require_relative 'artist/circle'

0 commit comments

Comments
 (0)