diff --git a/.gitignore b/.gitignore index f308a86..8ea41dc 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ *.bmp !spec/** tmp/ +doc/ +.yardoc/ diff --git a/.yardoc/checksums b/.yardoc/checksums deleted file mode 100644 index 0e85c22..0000000 --- a/.yardoc/checksums +++ /dev/null @@ -1,14 +0,0 @@ -lib/grruby.rb 5f9c1fa7d27cfeb51b98c146bcbc88e4d9fe7b49 -lib/rubyplot/figure.rb 83a9254b116068a721570ce0ffe91f1e675dc66d -lib/grruby/tasks/gr_function_classes.rb bc30acd8fd215bedc5cc79cbced773698503effa -lib/rubyplot/scripting_backends/gr/plots.rb 0f9144864db0f775cec29e5eaadbbfa9d50a8cea -lib/rubyplot/scripting_backends/gr/plots/bar.rb 6435e41feec3265d4075363c82a558fcd0bca06c -lib/rubyplot/scripting_backends/gr/plotspace.rb d4eaebe48927e994f5eb2d56de68ea217fe89158 -lib/rubyplot/scripting_backends/gr/gr_backend.rb 85bce657f9a06850d6824fd181e159245301ffe0 -lib/rubyplot/scripting_backends/gr/plots/line.rb cd5b4c9c9ba839ebf58c84a8f85a81048aec0e8f -lib/rubyplot/scripting_backends/gr/plots/scatter.rb 4070268e5fae2ccaa76387bf70f1af21dd3cc82c -lib/rubyplot/scripting_backends/gr/plots/candlestick.rb aecb01602a26525d252723d31b1da9e77b259849 -lib/rubyplot/scripting_backends/gr/plots/stacked_bar.rb d6825fcc62a4147434b7d43c06e8f4184faef39f -lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb 3276470d7fa006341e82c252df3e2ad009eb0de9 -ext/grruby/grruby.c 715573cd6ca413a46b94c973996efa9d6e37bd6b -ext/grruby/GR_Libraries/GR.c 77eebbd3618cd008b26971dfed82f244eedd6bc3 diff --git a/.yardoc/complete b/.yardoc/complete deleted file mode 100644 index e69de29..0000000 diff --git a/.yardoc/object_types b/.yardoc/object_types deleted file mode 100644 index 84f5d0d..0000000 Binary files a/.yardoc/object_types and /dev/null differ diff --git a/.yardoc/objects/root.dat b/.yardoc/objects/root.dat deleted file mode 100644 index cd64da9..0000000 Binary files a/.yardoc/objects/root.dat and /dev/null differ diff --git a/.yardoc/proxy_types b/.yardoc/proxy_types deleted file mode 100644 index beefda1..0000000 Binary files a/.yardoc/proxy_types and /dev/null differ diff --git a/create_reference_images.rb b/create_reference_images.rb index b7ec071..de2b207 100644 --- a/create_reference_images.rb +++ b/create_reference_images.rb @@ -88,7 +88,7 @@ it 'creates a stacked bar graph with user defined colors' do a = Rubyplot::Figure.new - a.stacked_bar! @bars_data, [:black, :red, :green, :blue] + a.stacked_bar! @bars_data, bar_colors: [:black, :red, :green, :blue] a.save 'spec/reference_images/single_plot_graph/user_color_stacked_bar_graph.bmp' end end diff --git a/doc/GR.html b/doc/GR.html deleted file mode 100644 index a373f93..0000000 --- a/doc/GR.html +++ /dev/null @@ -1,6222 +0,0 @@ - - - - - - - Module: GR - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: GR - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
ext/grruby/grruby.c
-
- -
- - - - - - - - - -

- Class Method Summary - collapse -

- - - - - - -
-

Class Method Details

- - -
-

- - .activatewsObject - - - - - -

- - - - -
-
-
-
-11
-
-
# File 'ext/grruby/grruby.c', line 11
-
-static VALUE activatews(VALUE,VALUE);
-
-
- -
-

- - .adjustlimitsObject - - - - - -

- - - - -
-
-
-
-90
-
-
# File 'ext/grruby/grruby.c', line 90
-
-static VALUE adjustlimits(VALUE,VALUE,VALUE);
-
-
- -
-

- - .adjustrangeObject - - - - - -

- - - - -
-
-
-
-91
-
-
# File 'ext/grruby/grruby.c', line 91
-
-static VALUE adjustrange(VALUE,VALUE,VALUE);
-
-
- -
-

- - .axesObject - - - - - -

- - - - -
-
-
-
-68
-
-
# File 'ext/grruby/grruby.c', line 68
-
-static VALUE axes(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .axes3dObject - - - - - -

- - - - -
-
-
-
-76
-
-
# File 'ext/grruby/grruby.c', line 76
-
-static VALUE axes3d(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .begingraphicsObject - - - - - -

-
- -

rb_define_singleton_method(mGRruby,“setcoordxform”,setcoordxform,1);

- - -
-
-
- - -
- - - - -
-
-
-
-112
-
-
# File 'ext/grruby/grruby.c', line 112
-
-static VALUE begingraphics(VALUE,VALUE);
-
-
- -
-

- - .beginprintObject - - - - - -

- - - - -
-
-
-
-92
-
-
# File 'ext/grruby/grruby.c', line 92
-
-static VALUE beginprint(VALUE,VALUE);
-
-
- -
-

- - .beginprintextObject - - - - - -

- - - - -
-
-
-
-93
-
-
# File 'ext/grruby/grruby.c', line 93
-
-static VALUE beginprintext(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .beginselectionObject - - - - - -

- - - - -
-
-
-
-118
-
-
# File 'ext/grruby/grruby.c', line 118
-
-static VALUE beginselection(VALUE,VALUE,VALUE);
-
-
- -
-

- - .cellarrayObject - - - - - -

- - - - -
-
-
-
-20
-
-
# File 'ext/grruby/grruby.c', line 20
-
-static VALUE cellarray(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .clearwsObject - - - - - -

- - - - -
-
-
-
-13
-
-
# File 'ext/grruby/grruby.c', line 13
-
-static VALUE clearws(VALUE);
-
-
- -
-

- - .closegksObject - - - - - -

- - - - -
-
-
-
-7
-
-
# File 'ext/grruby/grruby.c', line 7
-
-static VALUE closegks(VALUE);
-
-
- -
-

- - .closesegObject - - - - - -

- - - - -
-
-
-
-59
-
-
# File 'ext/grruby/grruby.c', line 59
-
-static VALUE closeseg(VALUE);
-
-
- -
-

- - .closewsObject - - - - - -

- - - - -
-
-
-
-10
-
-
# File 'ext/grruby/grruby.c', line 10
-
-static VALUE closews(VALUE,VALUE);
-
-
- -
-

- - .colorbarObject - - - - - -

- - - - -
-
-
-
-84
-
-
# File 'ext/grruby/grruby.c', line 84
-
-static VALUE colorbar(VALUE);
-
-
- -
-

- - .contourObject - - - - - -

- - - - -
-
-
-
-79
-
-
# File 'ext/grruby/grruby.c', line 79
-
-static VALUE contour(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .copysegwsObject - - - - - -

- - - - -
-
-
-
-56
-
-
# File 'ext/grruby/grruby.c', line 56
-
-static VALUE copysegws(VALUE,VALUE);
-
-
- -
-

- - .createsegObject - - - - - -

- - - - -
-
-
-
-55
-
-
# File 'ext/grruby/grruby.c', line 55
-
-static VALUE createseg(VALUE,VALUE);
-
-
- -
-

- - .deactivatewsObject - - - - - -

- - - - -
-
-
-
-12
-
-
# File 'ext/grruby/grruby.c', line 12
-
-static VALUE deactivatews(VALUE,VALUE);
-
-
- -
-

- - .destroycontextObject - - - - - -

- - - - -
-
-
-
-129
-
-
# File 'ext/grruby/grruby.c', line 129
-
-static VALUE destroycontext(VALUE,VALUE);
-
-
- -
-

- - .drawarcObject - - - - - -

- - - - -
-
-
-
-100
-
-
# File 'ext/grruby/grruby.c', line 100
-
-static VALUE drawarc(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .drawarrowObject - - - - - -

- - - - -
-
-
-
-105
-
-
# File 'ext/grruby/grruby.c', line 105
-
-static VALUE drawarrow(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .drawgraphicsObject - - - - - -

- - - - -
-
-
-
-115
-
-
# File 'ext/grruby/grruby.c', line 115
-
-static VALUE drawgraphics(VALUE,VALUE);
-
-
- -
-

- - .drawimageObject - - - - - -

-
- -

rb_define_singleton_method(mGRruby,“readimage”,readimage,4);

- - -
-
-
- - -
- - - - -
-
-
-
-107
-
-
# File 'ext/grruby/grruby.c', line 107
-
-static VALUE drawimage(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .drawrectObject - - - - - -

- - - - -
-
-
-
-98
-
-
# File 'ext/grruby/grruby.c', line 98
-
-static VALUE drawrect(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .emergencyclosegksObject - - - - - -

- - - - -
-
-
-
-60
-
-
# File 'ext/grruby/grruby.c', line 60
-
-static VALUE emergencyclosegks(VALUE);
-
-
- -
-

- - .endgraphicsObject - - - - - -

- - - - -
-
-
-
-113
-
-
# File 'ext/grruby/grruby.c', line 113
-
-static VALUE endgraphics(VALUE);
-
-
- -
-

- - .endprintObject - - - - - -

- - - - -
-
-
-
-94
-
-
# File 'ext/grruby/grruby.c', line 94
-
-static VALUE endprint(VALUE);
-
-
- -
-

- - .endselectionObject - - - - - -

- - - - -
-
-
-
-119
-
-
# File 'ext/grruby/grruby.c', line 119
-
-static VALUE endselection(VALUE);
-
-
- -
-

- - .fillarcObject - - - - - -

- - - - -
-
-
-
-101
-
-
# File 'ext/grruby/grruby.c', line 101
-
-static VALUE fillarc(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .fillareaObject - - - - - -

- - - - -
-
-
-
-19
-
-
# File 'ext/grruby/grruby.c', line 19
-
-static VALUE fillarea(VALUE,VALUE,VALUE);
-
-
- -
-

- - .fillrectObject - - - - - -

- - - - -
-
-
-
-99
-
-
# File 'ext/grruby/grruby.c', line 99
-
-static VALUE fillrect(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .gdpObject - - - - - -

- - - - -
-
-
-
-21
-
-
# File 'ext/grruby/grruby.c', line 21
-
-static VALUE gdp(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .getgraphicsObject - - - - - -

- - - - -
-
-
-
-114
-
-
# File 'ext/grruby/grruby.c', line 114
-
-static VALUE getgraphics(VALUE);
-
-
- -
-

- - .gradientObject - - - - - -

- - - - -
-
-
-
-134
-
-
# File 'ext/grruby/grruby.c', line 134
-
-static VALUE gradient(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .gridObject - - - - - -

-
- -

rb_define_singleton_method(mGRruby,“axeslbl”,axeslbl,8);

- - -
-
-
- - -
- - - - -
-
-
-
-70
-
-
# File 'ext/grruby/grruby.c', line 70
-
-static VALUE grid(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .grid3dObject - - - - - -

- - - - -
-
-
-
-71
-
-
# File 'ext/grruby/grruby.c', line 71
-
-static VALUE grid3d(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .griditObject - - - - - -

- - - - -
-
-
-
-23
-
-
# File 'ext/grruby/grruby.c', line 23
-
-static VALUE gridit(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .herrorbarsObject - - - - - -

- - - - -
-
-
-
-73
-
-
# File 'ext/grruby/grruby.c', line 73
-
-static VALUE herrorbars(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .hexbinObject - - - - - -

- - - - -
-
-
-
-81
-
-
# File 'ext/grruby/grruby.c', line 81
-
-static VALUE hexbin(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .hsvtorgbObject - - - - - -

- - - - -
-
-
-
-87
-
-
# File 'ext/grruby/grruby.c', line 87
-
-static VALUE hsvtorgb(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .importgraphicsObject - - - - - -

- - - - -
-
-
-
-108
-
-
# File 'ext/grruby/grruby.c', line 108
-
-static VALUE importgraphics(VALUE,VALUE);
-
-
- -
-

- - .inqbboxObject - - - - - -

- - - - -
-
-
-
-122
-
-
# File 'ext/grruby/grruby.c', line 122
-
-static VALUE inqbbox(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqcolorObject - - - - - -

- - - - -
-
-
-
-85
-
-
# File 'ext/grruby/grruby.c', line 85
-
-static VALUE inqcolor(VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqcolorfromrgbObject - - - - - -

- - - - -
-
-
-
-86
-
-
# File 'ext/grruby/grruby.c', line 86
-
-static VALUE inqcolorfromrgb(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqcolormapObject - - - - - -

- - - - -
-
-
-
-83
-
-
# File 'ext/grruby/grruby.c', line 83
-
-static VALUE inqcolormap(VALUE,VALUE);
-
-
- -
-

- - .inqdspsizeObject - - - - - -

- - - - -
-
-
-
-8
-
-
# File 'ext/grruby/grruby.c', line 8
-
-static VALUE inqdspsize(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqlinecolorindObject - - - - - -

- - - - -
-
-
-
-29
-
-
# File 'ext/grruby/grruby.c', line 29
-
-static VALUE inqlinecolorind(VALUE,VALUE);
-
-
- -
-

- - .inqlinetypeObject - - - - - -

- - - - -
-
-
-
-25
-
-
# File 'ext/grruby/grruby.c', line 25
-
-static VALUE inqlinetype(VALUE,VALUE);
-
-
- -
-

- - .inqlinewidthObject - - - - - -

- - - - -
-
-
-
-27
-
-
# File 'ext/grruby/grruby.c', line 27
-
-static VALUE inqlinewidth(VALUE,VALUE);
-
-
- -
-

- - .inqmarkercolorindObject - - - - - -

- - - - -
-
-
-
-34
-
-
# File 'ext/grruby/grruby.c', line 34
-
-static VALUE inqmarkercolorind(VALUE,VALUE);
-
-
- -
-

- - .inqmarkertypeObject - - - - - -

- - - - -
-
-
-
-31
-
-
# File 'ext/grruby/grruby.c', line 31
-
-static VALUE inqmarkertype(VALUE,VALUE);
-
-
- -
-

- - .inqmathtexObject - - - - - -

- - - - -
-
-
-
-117
-
-
# File 'ext/grruby/grruby.c', line 117
-
-static VALUE inqmathtex(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqregenflagsObject - - - - - -

- - - - -
-
-
-
-125
-
-
# File 'ext/grruby/grruby.c', line 125
-
-static VALUE inqregenflags(VALUE);
-
-
- -
-

- - .inqscaleObject - - - - - -

- - - - -
-
-
-
-65
-
-
# File 'ext/grruby/grruby.c', line 65
-
-static VALUE inqscale(VALUE,VALUE);
-
-
- -
-

- - .inqspaceObject - - - - - -

- - - - -
-
-
-
-63
-
-
# File 'ext/grruby/grruby.c', line 63
-
-static VALUE inqspace(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqtextObject - - - - - -

- - - - -
-
-
-
-18
-
-
# File 'ext/grruby/grruby.c', line 18
-
-static VALUE inqtext(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqtextextObject - - - - - -

- - - - -
-
-
-
-67
-
-
# File 'ext/grruby/grruby.c', line 67
-
-static VALUE inqtextext(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqviewportObject - - - - - -

- - - - -
-
-
-
-50
-
-
# File 'ext/grruby/grruby.c', line 50
-
-static VALUE inqviewport(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .inqwindowObject - - - - - -

- - - - -
-
-
-
-48
-
-
# File 'ext/grruby/grruby.c', line 48
-
-static VALUE inqwindow(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .mathtexObject - - - - - -

- - - - -
-
-
-
-116
-
-
# File 'ext/grruby/grruby.c', line 116
-
-static VALUE mathtex(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .moveselectionObject - - - - - -

- - - - -
-
-
-
-120
-
-
# File 'ext/grruby/grruby.c', line 120
-
-static VALUE moveselection(VALUE,VALUE,VALUE);
-
-
- -
-

- - .ndctowcObject - - - - - -

- - - - -
-
-
-
-95
-
-
# File 'ext/grruby/grruby.c', line 95
-
-static VALUE ndctowc(VALUE,VALUE,VALUE);
-
-
- -
-

- - .opengksObject - - - - - -

- - - - -
-
-
-
-6
-
-
# File 'ext/grruby/grruby.c', line 6
-
-static VALUE opengks(VALUE);
-
-
- -
-

- - .openwsObject - - - - - -

- - - - -
-
-
-
-9
-
-
# File 'ext/grruby/grruby.c', line 9
-
-static VALUE openws(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .polylineObject - - - - - -

- - - - -
-
-
-
-15
-
-
# File 'ext/grruby/grruby.c', line 15
-
-static VALUE polyline(VALUE,VALUE,VALUE);
-
-
- -
-

- - .polyline3dObject - - - - - -

- - - - -
-
-
-
-74
-
-
# File 'ext/grruby/grruby.c', line 74
-
-static VALUE polyline3d(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .polymarkerObject - - - - - -

- - - - -
-
-
-
-16
-
-
# File 'ext/grruby/grruby.c', line 16
-
-static VALUE polymarker(VALUE,VALUE,VALUE);
-
-
- -
-

- - .polymarker3dObject - - - - - -

- - - - -
-
-
-
-75
-
-
# File 'ext/grruby/grruby.c', line 75
-
-static VALUE polymarker3d(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .precisionObject - - - - - -

- - - - -
-
-
-
-123
-
-
# File 'ext/grruby/grruby.c', line 123
-
-static VALUE precision(VALUE);
-
-
- -
-

- - .quiverObject - - - - - -

- - - - -
-
-
-
-135
-
-
# File 'ext/grruby/grruby.c', line 135
-
-static VALUE quiver(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .redrawsegwsObject - - - - - -

- - - - -
-
-
-
-57
-
-
# File 'ext/grruby/grruby.c', line 57
-
-static VALUE redrawsegws(VALUE);
-
-
- -
-

- - .resizeselectionObject - - - - - -

- - - - -
-
-
-
-121
-
-
# File 'ext/grruby/grruby.c', line 121
-
-static VALUE resizeselection(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .restorestateObject - - - - - -

- - - - -
-
-
-
-127
-
-
# File 'ext/grruby/grruby.c', line 127
-
-static VALUE restorestate(VALUE);
-
-
- -
-

- - .savestateObject - - - - - -

- - - - -
-
-
-
-126
-
-
# File 'ext/grruby/grruby.c', line 126
-
-static VALUE savestate(VALUE);
-
-
- -
-

- - .selectcontextObject - - - - - -

- - - - -
-
-
-
-128
-
-
# File 'ext/grruby/grruby.c', line 128
-
-static VALUE selectcontext(VALUE,VALUE);
-
-
- -
-

- - .selntranObject - - - - - -

- - - - -
-
-
-
-51
-
-
# File 'ext/grruby/grruby.c', line 51
-
-static VALUE selntran(VALUE,VALUE);
-
-
- -
-

- - .setarrowsizeObject - - - - - -

- - - - -
-
-
-
-104
-
-
# File 'ext/grruby/grruby.c', line 104
-
-static VALUE setarrowsize(VALUE,VALUE);
-
-
- -
-

- - .setarrowstyleObject - - - - - -

-
- -

rb_define_singleton_method(mGRruby,“drawpath”,drawpath,4);

- - -
-
-
- - -
- - - - -
-
-
-
-103
-
-
# File 'ext/grruby/grruby.c', line 103
-
-static VALUE setarrowstyle(VALUE,VALUE);
-
-
- -
-

- - .setcharexpanObject - - - - - -

- - - - -
-
-
-
-36
-
-
# File 'ext/grruby/grruby.c', line 36
-
-static VALUE setcharexpan(VALUE,VALUE);
-
-
- -
-

- - .setcharheightObject - - - - - -

- - - - -
-
-
-
-39
-
-
# File 'ext/grruby/grruby.c', line 39
-
-static VALUE setcharheight(VALUE,VALUE);
-
-
- -
-

- - .setcharspaceObject - - - - - -

- - - - -
-
-
-
-37
-
-
# File 'ext/grruby/grruby.c', line 37
-
-static VALUE setcharspace(VALUE,VALUE);
-
-
- -
-

- - .setcharupObject - - - - - -

- - - - -
-
-
-
-40
-
-
# File 'ext/grruby/grruby.c', line 40
-
-static VALUE setcharup(VALUE,VALUE,VALUE);
-
-
- -
-

- - .setclipObject - - - - - -

- - - - -
-
-
-
-52
-
-
# File 'ext/grruby/grruby.c', line 52
-
-static VALUE setclip(VALUE,VALUE);
-
-
- -
-

- - .setcolormapObject - - - - - -

- - - - -
-
-
-
-82
-
-
# File 'ext/grruby/grruby.c', line 82
-
-static VALUE setcolormap(VALUE,VALUE);
-
-
- -
-

- - .setcolorrepObject - - - - - -

- - - - -
-
-
-
-46
-
-
# File 'ext/grruby/grruby.c', line 46
-
-static VALUE setcolorrep(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .setfillcolorindObject - - - - - -

- - - - -
-
-
-
-45
-
-
# File 'ext/grruby/grruby.c', line 45
-
-static VALUE setfillcolorind(VALUE,VALUE);
-
-
- -
-

- - .setfillintstyleObject - - - - - -

- - - - -
-
-
-
-43
-
-
# File 'ext/grruby/grruby.c', line 43
-
-static VALUE setfillintstyle(VALUE,VALUE);
-
-
- -
-

- - .setfillstyleObject - - - - - -

- - - - -
-
-
-
-44
-
-
# File 'ext/grruby/grruby.c', line 44
-
-static VALUE setfillstyle(VALUE,VALUE);
-
-
- -
-

- - .setlinecolorindObject - - - - - -

- - - - -
-
-
-
-28
-
-
# File 'ext/grruby/grruby.c', line 28
-
-static VALUE setlinecolorind(VALUE,VALUE);
-
-
- -
-

- - .setlinetypeObject - - - - - -

- - - - -
-
-
-
-24
-
-
# File 'ext/grruby/grruby.c', line 24
-
-static VALUE setlinetype(VALUE,VALUE);
-
-
- -
-

- - .setlinewidthObject - - - - - -

- - - - -
-
-
-
-26
-
-
# File 'ext/grruby/grruby.c', line 26
-
-static VALUE setlinewidth(VALUE,VALUE);
-
-
- -
-

- - .setmarkercolorindObject - - - - - -

- - - - -
-
-
-
-33
-
-
# File 'ext/grruby/grruby.c', line 33
-
-static VALUE setmarkercolorind(VALUE,VALUE);
-
-
- -
-

- - .setmarkersizeObject - - - - - -

- - - - -
-
-
-
-32
-
-
# File 'ext/grruby/grruby.c', line 32
-
-static VALUE setmarkersize(VALUE,VALUE);
-
-
- -
-

- - .setmarkertypeObject - - - - - -

- - - - -
-
-
-
-30
-
-
# File 'ext/grruby/grruby.c', line 30
-
-static VALUE setmarkertype(VALUE,VALUE);
-
-
- -
-

- - .setregenflagsObject - - - - - -

- - - - -
-
-
-
-124
-
-
# File 'ext/grruby/grruby.c', line 124
-
-static VALUE setregenflags(VALUE,VALUE);
-
-
- -
-

- - .setscaleObject - - - - - -

- - - - -
-
-
-
-64
-
-
# File 'ext/grruby/grruby.c', line 64
-
-static VALUE setscale(VALUE,VALUE);
-
-
- -
-

- - .setsegtranObject - - - - - -

- - - - -
-
-
-
-58
-
-
# File 'ext/grruby/grruby.c', line 58
-
-static VALUE setsegtran(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .setshadowObject - - - - - -

- - - - -
-
-
-
-109
-
-
# File 'ext/grruby/grruby.c', line 109
-
-static VALUE setshadow(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .setspaceObject - - - - - -

- - - - -
-
-
-
-62
-
-
# File 'ext/grruby/grruby.c', line 62
-
-static VALUE setspace(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .settextalignObject - - - - - -

- - - - -
-
-
-
-42
-
-
# File 'ext/grruby/grruby.c', line 42
-
-static VALUE settextalign(VALUE,VALUE,VALUE);
-
-
- -
-

- - .settextcolorindObject - - - - - -

- - - - -
-
-
-
-38
-
-
# File 'ext/grruby/grruby.c', line 38
-
-static VALUE settextcolorind(VALUE,VALUE);
-
-
- -
-

- - .settextfontprecObject - - - - - -

- - - - -
-
-
-
-35
-
-
# File 'ext/grruby/grruby.c', line 35
-
-static VALUE settextfontprec(VALUE,VALUE,VALUE);
-
-
- -
-

- - .settextpathObject - - - - - -

- - - - -
-
-
-
-41
-
-
# File 'ext/grruby/grruby.c', line 41
-
-static VALUE settextpath(VALUE,VALUE);
-
-
- -
-

- - .settransparencyObject - - - - - -

- - - - -
-
-
-
-110
-
-
# File 'ext/grruby/grruby.c', line 110
-
-static VALUE settransparency(VALUE,VALUE);
-
-
- -
-

- - .setviewportObject - - - - - -

- - - - -
-
-
-
-49
-
-
# File 'ext/grruby/grruby.c', line 49
-
-static VALUE setviewport(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .setwindowObject - - - - - -

- - - - -
-
-
-
-47
-
-
# File 'ext/grruby/grruby.c', line 47
-
-static VALUE setwindow(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .setwsviewportObject - - - - - -

- - - - -
-
-
-
-54
-
-
# File 'ext/grruby/grruby.c', line 54
-
-static VALUE setwsviewport(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .setwswindowObject - - - - - -

- - - - -
-
-
-
-53
-
-
# File 'ext/grruby/grruby.c', line 53
-
-static VALUE setwswindow(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .splineObject - - - - - -

- - - - -
-
-
-
-22
-
-
# File 'ext/grruby/grruby.c', line 22
-
-static VALUE spline(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .surfaceObject - - - - - -

- - - - -
-
-
-
-78
-
-
# File 'ext/grruby/grruby.c', line 78
-
-static VALUE surface(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .textObject - - - - - -

- - - - -
-
-
-
-17
-
-
# File 'ext/grruby/grruby.c', line 17
-
-static VALUE text(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .textextObject - - - - - -

- - - - -
-
-
-
-66
-
-
# File 'ext/grruby/grruby.c', line 66
-
-static VALUE textext(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .tickObject - - - - - -

- - - - -
-
-
-
-88
-
-
# File 'ext/grruby/grruby.c', line 88
-
-static VALUE tick(VALUE,VALUE,VALUE);
-
-
- -
-

- - .titles3dObject - - - - - -

- - - - -
-
-
-
-77
-
-
# File 'ext/grruby/grruby.c', line 77
-
-static VALUE titles3d(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .tricontourObject - - - - - -

- - - - -
-
-
-
-80
-
-
# File 'ext/grruby/grruby.c', line 80
-
-static VALUE tricontour(VALUE,VALUE,VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .trisurfaceObject - - - - - -

-
- -

rb_define_singleton_method(mGRruby,“reducepoints”,reducepoints,6);

- - -
-
-
- - -
- - - - -
-
-
-
-133
-
-
# File 'ext/grruby/grruby.c', line 133
-
-static VALUE trisurface(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .updategksObject - - - - - -

- - - - -
-
-
-
-61
-
-
# File 'ext/grruby/grruby.c', line 61
-
-static VALUE updategks(VALUE);
-
-
- -
-

- - .updatewsObject - - - - - -

- - - - -
-
-
-
-14
-
-
# File 'ext/grruby/grruby.c', line 14
-
-static VALUE updatews(VALUE);
-
-
- -
-

- - .uselinespecObject - - - - - -

- - - - -
-
-
-
-130
-
-
# File 'ext/grruby/grruby.c', line 130
-
-static VALUE uselinespec(VALUE,VALUE);
-
-
- -
-

- - .validaterangeObject - - - - - -

- - - - -
-
-
-
-89
-
-
# File 'ext/grruby/grruby.c', line 89
-
-static VALUE validaterange(VALUE,VALUE,VALUE);
-
-
- -
-

- - .verrorbarsObject - - - - - -

- - - - -
-
-
-
-72
-
-
# File 'ext/grruby/grruby.c', line 72
-
-static VALUE verrorbars(VALUE,VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .versionObject - - - - - -

-
- -

//rb_define_singleton_method(mGRruby,“interp2”,interp2,12); -rb_define_singleton_method(mGRruby,“meta_args_t”,meta_args_t,1); -rb_define_singleton_method(mGRruby,“meta_args_delete”,meta_args_delete,1); -rb_define_singleton_method(mGRruby,“meta_args_push_arg”,meta_args_push_arg,3); -rb_define_singleton_method(mGRruby,“meta_args_push_arg_buf”,meta_args_push_arg_buf,4); -rb_define_singleton_method(mGRruby,“meta_args_push_kwarg”,meta_args_push_kwarg,4); -rb_define_singleton_method(mGRruby,“meta_args_push_kwarg_buf”,meta_args_push_kwarg_buf,5); -rb_define_singleton_method(mGRruby,“openmeta”,openmeta,2); -rb_define_singleton_method(mGRruby,“sendmeta”,sendmeta,3); -rb_define_singleton_method(mGRruby,“sendmeta_buf”,sendmeta_buf,4); -rb_define_singleton_method(mGRruby,“sendmeta_args”,sendmeta_args,2); -rb_define_singleton_method(mGRruby,“closemeta”,closemeta,1);

- - -
-
-
- - -
- - - - -
-
-
-
-148
-
-
# File 'ext/grruby/grruby.c', line 148
-
-static VALUE version(VALUE);
-
-
- -
-

- - .wc3towcObject - - - - - -

- - - - -
-
-
-
-97
-
-
# File 'ext/grruby/grruby.c', line 97
-
-static VALUE wc3towc(VALUE,VALUE,VALUE,VALUE);
-
-
- -
-

- - .wctondcObject - - - - - -

- - - - -
-
-
-
-96
-
-
# File 'ext/grruby/grruby.c', line 96
-
-static VALUE wctondc(VALUE,VALUE,VALUE);
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/GR3.html b/doc/GR3.html deleted file mode 100644 index 3859d29..0000000 --- a/doc/GR3.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - - - - Module: GR3 - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: GR3 - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
ext/grruby/grruby.c
-
- -
- - - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot.html b/doc/Rubyplot.html deleted file mode 100644 index 57d02ab..0000000 --- a/doc/Rubyplot.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - Module: Rubyplot - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: Rubyplot - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby.rb,
- lib/rubyplot/figure.rb,
lib/grruby/tasks/gr_function_classes.rb,
lib/rubyplot/scripting_backends/gr/plots.rb,
lib/rubyplot/scripting_backends/gr/plots/bar.rb,
lib/rubyplot/scripting_backends/gr/plotspace.rb,
lib/rubyplot/scripting_backends/gr/gr_backend.rb,
lib/rubyplot/scripting_backends/gr/plots/line.rb,
lib/rubyplot/scripting_backends/gr/plots/scatter.rb,
lib/rubyplot/scripting_backends/gr/plots/candlestick.rb,
lib/rubyplot/scripting_backends/gr/plots/stacked_bar.rb,
lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb
-
-
- -
- -

Defined Under Namespace

-

- - - Modules: Color, GRWrapper, Scripting - - - - Classes: Figure, Plotspace - - -

- - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Color.html b/doc/Rubyplot/Color.html deleted file mode 100644 index accb373..0000000 --- a/doc/Rubyplot/Color.html +++ /dev/null @@ -1,1091 +0,0 @@ - - - - - - - Module: Rubyplot::Color - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: Rubyplot::Color - - - -

-
- - - - - - - - - -
-
Included in:
-
Plotspace, Scripting::Plots::BasePlots::LazyBase, Scripting::Plots::BasePlots::RobustBase
-
- - - -
-
Defined in:
-
lib/grruby.rb
-
- -
- - - -

- Constant Summary - collapse -

- -
- -
CONTRASTING_COLORS = - -
-
[
-  '#e6194b',
-  '#3cb44b',
-  '#ffe119',
-  '#0082c8',
-  '#f58231',
-  '#911eb4',
-  '#46f0f0',
-  '#f032e6',
-  '#d2f53c',
-  '#fabebe',
-  '#008080',
-  '#e6beff',
-  '#aa6e28',
-  '#fffac8',
-  '#800000',
-  '#aaffc3',
-  '#808000',
-  '#ffd8b1',
-  '#000080',
-  '#808080'
-].freeze
- -
COLOR_INDEX = - -
-
{
-  cloudy_blue: '#acc2d9',
-  dark_pastel_green: '#56ae57',
-  dust: '#b2996e',
-  electric_lime: '#a8ff04',
-  fresh_green: '#69d84f',
-  light_eggplant: '#894585',
-  nasty_green: '#70b23f',
-  really_light_blue: '#d4ffff',
-  tea: '#65ab7c',
-  warm_purple: '#952e8f',
-  yellowish_tan: '#fcfc81',
-  cement: '#a5a391',
-  dark_grass_green: '#388004',
-  dusty_teal: '#4c9085',
-  grey_teal: '#5e9b8a',
-  macaroni_and_cheese: '#efb435',
-  pinkish_tan: '#d99b82',
-  spruce: '#0a5f38',
-  strong_blue: '#0c06f7',
-  toxic_green: '#61de2a',
-  windows_blue: '#3778bf',
-  blue_blue: '#2242c7',
-  blue_with_a_hint_of_purple: '#533cc6',
-  booger: '#9bb53c',
-  bright_sea_green: '#05ffa6',
-  dark_green_blue: '#1f6357',
-  deep_turquoise: '#017374',
-  green_teal: '#0cb577',
-  strong_pink: '#ff0789',
-  bland: '#afa88b',
-  deep_aqua: '#08787f',
-  lavender_pink: '#dd85d7',
-  light_moss_green: '#a6c875',
-  light_seafoam_green: '#a7ffb5',
-  olive_yellow: '#c2b709',
-  pig_pink: '#e78ea5',
-  deep_lilac: '#966ebd',
-  desert: '#ccad60',
-  dusty_lavender: '#ac86a8',
-  purpley_grey: '#947e94',
-  purply: '#983fb2',
-  candy_pink: '#ff63e9',
-  light_pastel_green: '#b2fba5',
-  boring_green: '#63b365',
-  kiwi_green: '#8ee53f',
-  light_grey_green: '#b7e1a1',
-  orange_pink: '#ff6f52',
-  tea_green: '#bdf8a3',
-  very_light_brown: '#d3b683',
-  egg_shell: '#fffcc4',
-  eggplant_purple: '#430541',
-  powder_pink: '#ffb2d0',
-  reddish_grey: '#997570',
-  baby_shit_brown: '#ad900d',
-  liliac: '#c48efd',
-  stormy_blue: '#507b9c',
-  ugly_brown: '#7d7103',
-  custard: '#fffd78',
-  darkish_pink: '#da467d',
-  deep_brown: '#410200',
-  greenish_beige: '#c9d179',
-  manilla: '#fffa86',
-  off_blue: '#5684ae',
-  battleship_grey: '#6b7c85',
-  browny_green: '#6f6c0a',
-  bruise: '#7e4071',
-  kelley_green: '#009337',
-  sickly_yellow: '#d0e429',
-  sunny_yellow: '#fff917',
-  azul: '#1d5dec',
-  darkgreen: '#054907',
-  lichen: '#8fb67b',
-  light_light_green: '#c8ffb0',
-  pale_gold: '#fdde6c',
-  sun_yellow: '#ffdf22',
-  tan_green: '#a9be70',
-  burple: '#6832e3',
-  butterscotch: '#fdb147',
-  toupe: '#c7ac7d',
-  dark_cream: '#fff39a',
-  indian_red: '#850e04',
-  light_lavendar: '#efc0fe',
-  poison_green: '#40fd14',
-  baby_puke_green: '#b6c406',
-  bright_yellow_green: '#9dff00',
-  charcoal_grey: '#3c4142',
-  squash: '#f2ab15',
-  cinnamon: '#ac4f06',
-  light_pea_green: '#c4fe82',
-  radioactive_green: '#2cfa1f',
-  raw_sienna: '#9a6200',
-  baby_purple: '#ca9bf7',
-  cocoa: '#875f42',
-  light_royal_blue: '#3a2efe',
-  orangeish: '#fd8d49',
-  rust_brown: '#8b3103',
-  sand_brown: '#cba560',
-  swamp: '#698339',
-  tealish_green: '#0cdc73',
-  burnt_siena: '#b75203',
-  camo: '#7f8f4e',
-  dusk_blue: '#26538d',
-  fern: '#63a950',
-  old_rose: '#c87f89',
-  pale_light_green: '#b1fc99',
-  peachy_pink: '#ff9a8a',
-  rosy_pink: '#f6688e',
-  light_bluish_green: '#76fda8',
-  light_bright_green: '#53fe5c',
-  light_neon_green: '#4efd54',
-  light_seafoam: '#a0febf',
-  tiffany_blue: '#7bf2da',
-  washed_out_green: '#bcf5a6',
-  browny_orange: '#ca6b02',
-  nice_blue: '#107ab0',
-  sapphire: '#2138ab',
-  greyish_teal: '#719f91',
-  orangey_yellow: '#fdb915',
-  parchment: '#fefcaf',
-  straw: '#fcf679',
-  very_dark_brown: '#1d0200',
-  terracota: '#cb6843',
-  ugly_blue: '#31668a',
-  clear_blue: '#247afd',
-  creme: '#ffffb6',
-  foam_green: '#90fda9',
-  light_gold: '#fddc5c',
-  seafoam_blue: '#78d1b6',
-  topaz: '#13bbaf',
-  violet_pink: '#fb5ffc',
-  wintergreen: '#20f986',
-  yellow_tan: '#ffe36e',
-  dark_fuchsia: '#9d0759',
-  indigo_blue: '#3a18b1',
-  light_yellowish_green: '#c2ff89',
-  pale_magenta: '#d767ad',
-  rich_purple: '#720058',
-  sunflower_yellow: '#ffda03',
-  leather: '#ac7434',
-  racing_green: '#014600',
-  vivid_purple: '#9900fa',
-  dark_royal_blue: '#02066f',
-  hazel: '#8e7618',
-  muted_pink: '#d1768f',
-  booger_green: '#96b403',
-  canary: '#fdff63',
-  cool_grey: '#95a3a6',
-  dark_taupe: '#7f684e',
-  darkish_purple: '#751973',
-  true_green: '#089404',
-  coral_pink: '#ff6163',
-  dark_sage: '#598556',
-  dark_slate_blue: '#214761',
-  flat_blue: '#3c73a8',
-  mushroom: '#ba9e88',
-  rich_blue: '#021bf9',
-  dirty_purple: '#734a65',
-  greenblue: '#23c48b',
-  icky_green: '#8fae22',
-  light_khaki: '#e6f2a2',
-  warm_blue: '#4b57db',
-  dark_hot_pink: '#d90166',
-  deep_sea_blue: '#015482',
-  carmine: '#9d0216',
-  dark_yellow_green: '#728f02',
-  pale_peach: '#ffe5ad',
-  plum_purple: '#4e0550',
-  golden_rod: '#f9bc08',
-  neon_red: '#ff073a',
-  old_pink: '#c77986',
-  very_pale_blue: '#d6fffe',
-  blood_orange: '#fe4b03',
-  grapefruit: '#fd5956',
-  sand_yellow: '#fce166',
-  clay_brown: '#b2713d',
-  dark_blue_grey: '#1f3b4d',
-  flat_green: '#699d4c',
-  light_green_blue: '#56fca2',
-  warm_pink: '#fb5581',
-  dodger_blue: '#3e82fc',
-  gross_green: '#a0bf16',
-  ice: '#d6fffa',
-  metallic_blue: '#4f738e',
-  pale_salmon: '#ffb19a',
-  sap_green: '#5c8b15',
-  algae: '#54ac68',
-  bluey_grey: '#89a0b0',
-  greeny_grey: '#7ea07a',
-  highlighter_green: '#1bfc06',
-  light_light_blue: '#cafffb',
-  light_mint: '#b6ffbb',
-  raw_umber: '#a75e09',
-  vivid_blue: '#152eff',
-  deep_lavender: '#8d5eb7',
-  dull_teal: '#5f9e8f',
-  light_greenish_blue: '#63f7b4',
-  mud_green: '#606602',
-  pinky: '#fc86aa',
-  red_wine: '#8c0034',
-  shit_green: '#758000',
-  tan_brown: '#ab7e4c',
-  darkblue: '#030764',
-  rosa: '#fe86a4',
-  lipstick: '#d5174e',
-  pale_mauve: '#fed0fc',
-  claret: '#680018',
-  dandelion: '#fedf08',
-  orangered: '#fe420f',
-  poop_green: '#6f7c00',
-  ruby: '#ca0147',
-  dark: '#1b2431',
-  greenish_turquoise: '#00fbb0',
-  pastel_red: '#db5856',
-  piss_yellow: '#ddd618',
-  bright_cyan: '#41fdfe',
-  dark_coral: '#cf524e',
-  algae_green: '#21c36f',
-  darkish_red: '#a90308',
-  reddy_brown: '#6e1005',
-  blush_pink: '#fe828c',
-  camouflage_green: '#4b6113',
-  lawn_green: '#4da409',
-  putty: '#beae8a',
-  vibrant_blue: '#0339f8',
-  dark_sand: '#a88f59',
-  saffron: '#feb209',
-  twilight: '#4e518b',
-  warm_brown: '#964e02',
-  bluegrey: '#85a3b2',
-  bubble_gum_pink: '#ff69af',
-  duck_egg_blue: '#c3fbf4',
-  greenish_cyan: '#2afeb7',
-  petrol: '#005f6a',
-  royal: '#0c1793',
-  butter: '#ffff81',
-  dusty_orange: '#f0833a',
-  off_yellow: '#f1f33f',
-  pale_olive_green: '#b1d27b',
-  orangish: '#fc824a',
-  leaf: '#71aa34',
-  light_blue_grey: '#b7c9e2',
-  dried_blood: '#4b0101',
-  lightish_purple: '#a552e6',
-  rusty_red: '#af2f0d',
-  lavender_blue: '#8b88f8',
-  light_grass_green: '#9af764',
-  light_mint_green: '#a6fbb2',
-  sunflower: '#ffc512',
-  velvet: '#750851',
-  brick_orange: '#c14a09',
-  lightish_red: '#fe2f4a',
-  pure_blue: '#0203e2',
-  twilight_blue: '#0a437a',
-  violet_red: '#a50055',
-  yellowy_brown: '#ae8b0c',
-  carnation: '#fd798f',
-  muddy_yellow: '#bfac05',
-  dark_seafoam_green: '#3eaf76',
-  deep_rose: '#c74767',
-  dusty_red: '#b9484e',
-  lemon_lime: '#bffe28',
-  brown_yellow: '#b29705',
-  purple_brown: '#673a3f',
-  wisteria: '#a87dc2',
-  banana_yellow: '#fafe4b',
-  lipstick_red: '#c0022f',
-  water_blue: '#0e87cc',
-  brown_grey: '#8d8468',
-  vibrant_purple: '#ad03de',
-  baby_green: '#8cff9e',
-  barf_green: '#94ac02',
-  eggshell_blue: '#c4fff7',
-  sandy_yellow: '#fdee73',
-  cool_green: '#33b864',
-  pale: '#fff9d0',
-  hot_magenta: '#f504c9',
-  greyblue: '#77a1b5',
-  purpley: '#8756e4',
-  baby_shit_green: '#889717',
-  brownish_pink: '#c27e79',
-  dark_aquamarine: '#017371',
-  diarrhea: '#9f8303',
-  light_mustard: '#f7d560',
-  pale_sky_blue: '#bdf6fe',
-  turtle_green: '#75b84f',
-  bright_olive: '#9cbb04',
-  dark_grey_blue: '#29465b',
-  greeny_brown: '#696006',
-  lemon_green: '#adf802',
-  light_periwinkle: '#c1c6fc',
-  seaweed_green: '#35ad6b',
-  sunshine_yellow: '#fffd37',
-  ugly_purple: '#a442a0',
-  medium_pink: '#f36196',
-  puke_brown: '#947706',
-  very_light_pink: '#fff4f2',
-  viridian: '#1e9167',
-  bile: '#b5c306',
-  faded_yellow: '#feff7f',
-  very_pale_green: '#cffdbc',
-  vibrant_green: '#0add08',
-  bright_lime: '#87fd05',
-  spearmint: '#1ef876',
-  light_aquamarine: '#7bfdc7',
-  light_sage: '#bcecac',
-  yellowgreen: '#bbf90f',
-  baby_poo: '#ab9004',
-  dark_seafoam: '#1fb57a',
-  deep_teal: '#00555a',
-  heather: '#a484ac',
-  rust_orange: '#c45508',
-  dirty_blue: '#3f829d',
-  fern_green: '#548d44',
-  bright_lilac: '#c95efb',
-  weird_green: '#3ae57f',
-  peacock_blue: '#016795',
-  avocado_green: '#87a922',
-  faded_orange: '#f0944d',
-  grape_purple: '#5d1451',
-  hot_green: '#25ff29',
-  lime_yellow: '#d0fe1d',
-  mango: '#ffa62b',
-  shamrock: '#01b44c',
-  bubblegum: '#ff6cb5',
-  purplish_brown: '#6b4247',
-  vomit_yellow: '#c7c10c',
-  pale_cyan: '#b7fffa',
-  key_lime: '#aeff6e',
-  tomato_red: '#ec2d01',
-  lightgreen: '#76ff7b',
-  merlot: '#730039',
-  night_blue: '#040348',
-  purpleish_pink: '#df4ec8',
-  apple: '#6ecb3c',
-  baby_poop_green: '#8f9805',
-  green_apple: '#5edc1f',
-  heliotrope: '#d94ff5',
-  almost_black: '#070d0d',
-  cool_blue: '#4984b8',
-  leafy_green: '#51b73b',
-  mustard_brown: '#ac7e04',
-  dusk: '#4e5481',
-  dull_brown: '#876e4b',
-  frog_green: '#58bc08',
-  vivid_green: '#2fef10',
-  bright_light_green: '#2dfe54',
-  fluro_green: '#0aff02',
-  kiwi: '#9cef43',
-  seaweed: '#18d17b',
-  navy_green: '#35530a',
-  ultramarine_blue: '#1805db',
-  iris: '#6258c4',
-  pastel_orange: '#ff964f',
-  yellowish_orange: '#ffab0f',
-  perrywinkle: '#8f8ce7',
-  tealish: '#24bca8',
-  dark_plum: '#3f012c',
-  pear: '#cbf85f',
-  pinkish_orange: '#ff724c',
-  midnight_purple: '#280137',
-  light_urple: '#b36ff6',
-  dark_mint: '#48c072',
-  greenish_tan: '#bccb7a',
-  light_burgundy: '#a8415b',
-  turquoise_blue: '#06b1c4',
-  ugly_pink: '#cd7584',
-  sandy: '#f1da7a',
-  electric_pink: '#ff0490',
-  muted_purple: '#805b87',
-  mid_green: '#50a747',
-  greyish: '#a8a495',
-  neon_yellow: '#cfff04',
-  banana: '#ffff7e',
-  carnation_pink: '#ff7fa7',
-  tomato: '#ef4026',
-  sea: '#3c9992',
-  muddy_brown: '#886806',
-  turquoise_green: '#04f489',
-  buff: '#fef69e',
-  fawn: '#cfaf7b',
-  muted_blue: '#3b719f',
-  pale_rose: '#fdc1c5',
-  dark_mint_green: '#20c073',
-  amethyst: '#9b5fc0',
-  chestnut: '#742802',
-  sick_green: '#9db92c',
-  pea: '#a4bf20',
-  rusty_orange: '#cd5909',
-  stone: '#ada587',
-  rose_red: '#be013c',
-  pale_aqua: '#b8ffeb',
-  deep_orange: '#dc4d01',
-  earth: '#a2653e',
-  mossy_green: '#638b27',
-  grassy_green: '#419c03',
-  pale_lime_green: '#b1ff65',
-  light_grey_blue: '#9dbcd4',
-  pale_grey: '#fdfdfe',
-  asparagus: '#77ab56',
-  blueberry: '#464196',
-  purple_red: '#990147',
-  pale_lime: '#befd73',
-  greenish_teal: '#32bf84',
-  caramel: '#af6f09',
-  deep_magenta: '#a0025c',
-  light_peach: '#ffd8b1',
-  milk_chocolate: '#7f4e1e',
-  ocher: '#bf9b0c',
-  off_green: '#6ba353',
-  purply_pink: '#f075e6',
-  lightblue: '#7bc8f6',
-  dusky_blue: '#475f94',
-  golden: '#f5bf03',
-  light_beige: '#fffeb6',
-  butter_yellow: '#fffd74',
-  dusky_purple: '#895b7b',
-  french_blue: '#436bad',
-  ugly_yellow: '#d0c101',
-  greeny_yellow: '#c6f808',
-  orangish_red: '#f43605',
-  shamrock_green: '#02c14d',
-  orangish_brown: '#b25f03',
-  tree_green: '#2a7e19',
-  deep_violet: '#490648',
-  gunmetal: '#536267',
-  cherry: '#cf0234',
-  sandy_brown: '#c4a661',
-  warm_grey: '#978a84',
-  dark_indigo: '#1f0954',
-  midnight: '#03012d',
-  bluey_green: '#2bb179',
-  grey_pink: '#c3909b',
-  soft_purple: '#a66fb5',
-  blood: '#770001',
-  brown_red: '#922b05',
-  medium_grey: '#7d7f7c',
-  berry: '#990f4b',
-  poo: '#8f7303',
-  purpley_pink: '#c83cb9',
-  light_salmon: '#fea993',
-  snot: '#acbb0d',
-  easter_purple: '#c071fe',
-  light_yellow_green: '#ccfd7f',
-  dark_navy_blue: '#00022e',
-  drab: '#828344',
-  light_rose: '#ffc5cb',
-  rouge: '#ab1239',
-  purplish_red: '#b0054b',
-  slime_green: '#99cc04',
-  baby_poop: '#937c00',
-  irish_green: '#019529',
-  dark_navy: '#000435',
-  greeny_blue: '#42b395',
-  light_plum: '#9d5783',
-  pinkish_grey: '#c8aca9',
-  dirty_orange: '#c87606',
-  rust_red: '#aa2704',
-  pale_lilac: '#e4cbff',
-  orangey_red: '#fa4224',
-  primary_blue: '#0804f9',
-  kermit_green: '#5cb200',
-  brownish_purple: '#76424e',
-  murky_green: '#6c7a0e',
-  wheat: '#fbdd7e',
-  very_dark_purple: '#2a0134',
-  bottle_green: '#044a05',
-  watermelon: '#fd4659',
-  deep_sky_blue: '#0d75f8',
-  fire_engine_red: '#fe0002',
-  yellow_ochre: '#cb9d06',
-  pumpkin_orange: '#fb7d07',
-  pale_olive: '#b9cc81',
-  light_lilac: '#edc8ff',
-  lightish_green: '#61e160',
-  carolina_blue: '#8ab8fe',
-  mulberry: '#920a4e',
-  shocking_pink: '#fe02a2',
-  auburn: '#9a3001',
-  bright_lime_green: '#65fe08',
-  celadon: '#befdb7',
-  pinkish_brown: '#b17261',
-  poo_brown: '#885f01',
-  bright_sky_blue: '#02ccfe',
-  celery: '#c1fd95',
-  dirt_brown: '#836539',
-  strawberry: '#fb2943',
-  dark_lime: '#84b701',
-  copper: '#b66325',
-  medium_brown: '#7f5112',
-  muted_green: '#5fa052',
-  robins_egg: '#6dedfd',
-  bright_aqua: '#0bf9ea',
-  bright_lavender: '#c760ff',
-  ivory: '#ffffcb',
-  very_light_purple: '#f6cefc',
-  light_navy: '#155084',
-  pink_red: '#f5054f',
-  olive_brown: '#645403',
-  poop_brown: '#7a5901',
-  mustard_green: '#a8b504',
-  ocean_green: '#3d9973',
-  very_dark_blue: '#000133',
-  dusty_green: '#76a973',
-  light_navy_blue: '#2e5a88',
-  minty_green: '#0bf77d',
-  adobe: '#bd6c48',
-  barney: '#ac1db8',
-  jade_green: '#2baf6a',
-  bright_light_blue: '#26f7fd',
-  light_lime: '#aefd6c',
-  dark_khaki: '#9b8f55',
-  orange_yellow: '#ffad01',
-  ocre: '#c69c04',
-  maize: '#f4d054',
-  faded_pink: '#de9dac',
-  british_racing_green: '#05480d',
-  sandstone: '#c9ae74',
-  mud_brown: '#60460f',
-  light_sea_green: '#98f6b0',
-  robin_egg_blue: '#8af1fe',
-  aqua_marine: '#2ee8bb',
-  dark_sea_green: '#11875d',
-  soft_pink: '#fdb0c0',
-  orangey_brown: '#b16002',
-  cherry_red: '#f7022a',
-  burnt_yellow: '#d5ab09',
-  brownish_grey: '#86775f',
-  camel: '#c69f59',
-  purplish_grey: '#7a687f',
-  marine: '#042e60',
-  greyish_pink: '#c88d94',
-  pale_turquoise: '#a5fbd5',
-  pastel_yellow: '#fffe71',
-  bluey_purple: '#6241c7',
-  canary_yellow: '#fffe40',
-  faded_red: '#d3494e',
-  sepia: '#985e2b',
-  coffee: '#a6814c',
-  bright_magenta: '#ff08e8',
-  mocha: '#9d7651',
-  ecru: '#feffca',
-  purpleish: '#98568d',
-  cranberry: '#9e003a',
-  darkish_green: '#287c37',
-  brown_orange: '#b96902',
-  dusky_rose: '#ba6873',
-  melon: '#ff7855',
-  sickly_green: '#94b21c',
-  silver: '#c5c9c7',
-  purply_blue: '#661aee',
-  purpleish_blue: '#6140ef',
-  hospital_green: '#9be5aa',
-  shit_brown: '#7b5804',
-  mid_blue: '#276ab3',
-  amber: '#feb308',
-  easter_green: '#8cfd7e',
-  soft_blue: '#6488ea',
-  cerulean_blue: '#056eee',
-  golden_brown: '#b27a01',
-  bright_turquoise: '#0ffef9',
-  red_pink: '#fa2a55',
-  red_purple: '#820747',
-  greyish_brown: '#7a6a4f',
-  vermillion: '#f4320c',
-  russet: '#a13905',
-  steel_grey: '#6f828a',
-  lighter_purple: '#a55af4',
-  bright_violet: '#ad0afd',
-  prussian_blue: '#004577',
-  slate_green: '#658d6d',
-  dirty_pink: '#ca7b80',
-  dark_blue_green: '#005249',
-  pine: '#2b5d34',
-  yellowy_green: '#bff128',
-  dark_gold: '#b59410',
-  bluish: '#2976bb',
-  darkish_blue: '#014182',
-  dull_red: '#bb3f3f',
-  pinky_red: '#fc2647',
-  bronze: '#a87900',
-  pale_teal: '#82cbb2',
-  military_green: '#667c3e',
-  barbie_pink: '#fe46a5',
-  bubblegum_pink: '#fe83cc',
-  pea_soup_green: '#94a617',
-  dark_mustard: '#a88905',
-  shit: '#7f5f00',
-  medium_purple: '#9e43a2',
-  very_dark_green: '#062e03',
-  dirt: '#8a6e45',
-  dusky_pink: '#cc7a8b',
-  red_violet: '#9e0168',
-  lemon_yellow: '#fdff38',
-  pistachio: '#c0fa8b',
-  dull_yellow: '#eedc5b',
-  dark_lime_green: '#7ebd01',
-  denim_blue: '#3b5b92',
-  teal_blue: '#01889f',
-  lightish_blue: '#3d7afd',
-  purpley_blue: '#5f34e7',
-  light_indigo: '#6d5acf',
-  swamp_green: '#748500',
-  brown_green: '#706c11',
-  dark_maroon: '#3c0008',
-  hot_purple: '#cb00f5',
-  dark_forest_green: '#002d04',
-  faded_blue: '#658cbb',
-  drab_green: '#749551',
-  light_lime_green: '#b9ff66',
-  snot_green: '#9dc100',
-  yellowish: '#faee66',
-  light_blue_green: '#7efbb3',
-  bordeaux: '#7b002c',
-  light_mauve: '#c292a1',
-  ocean: '#017b92',
-  marigold: '#fcc006',
-  muddy_green: '#657432',
-  dull_orange: '#d8863b',
-  steel: '#738595',
-  electric_purple: '#aa23ff',
-  fluorescent_green: '#08ff08',
-  yellowish_brown: '#9b7a01',
-  blush: '#f29e8e',
-  soft_green: '#6fc276',
-  bright_orange: '#ff5b00',
-  lemon: '#fdff52',
-  purple_grey: '#866f85',
-  acid_green: '#8ffe09',
-  pale_lavender: '#eecffe',
-  violet_blue: '#510ac9',
-  light_forest_green: '#4f9153',
-  burnt_red: '#9f2305',
-  khaki_green: '#728639',
-  cerise: '#de0c62',
-  faded_purple: '#916e99',
-  apricot: '#ffb16d',
-  dark_olive_green: '#3c4d03',
-  grey_brown: '#7f7053',
-  green_grey: '#77926f',
-  true_blue: '#010fcc',
-  pale_violet: '#ceaefa',
-  periwinkle_blue: '#8f99fb',
-  light_sky_blue: '#c6fcff',
-  blurple: '#5539cc',
-  green_brown: '#544e03',
-  bluegreen: '#017a79',
-  bright_teal: '#01f9c6',
-  brownish_yellow: '#c9b003',
-  pea_soup: '#929901',
-  forest: '#0b5509',
-  barney_purple: '#a00498',
-  ultramarine: '#2000b1',
-  purplish: '#94568c',
-  puke_yellow: '#c2be0e',
-  bluish_grey: '#748b97',
-  dark_periwinkle: '#665fd1',
-  dark_lilac: '#9c6da5',
-  reddish: '#c44240',
-  light_maroon: '#a24857',
-  dusty_purple: '#825f87',
-  terra_cotta: '#c9643b',
-  avocado: '#90b134',
-  marine_blue: '#01386a',
-  teal_green: '#25a36f',
-  slate_grey: '#59656d',
-  lighter_green: '#75fd63',
-  electric_green: '#21fc0d',
-  dusty_blue: '#5a86ad',
-  golden_yellow: '#fec615',
-  bright_yellow: '#fffd01',
-  light_lavender: '#dfc5fe',
-  umber: '#b26400',
-  poop: '#7f5e00',
-  dark_peach: '#de7e5d',
-  jungle_green: '#048243',
-  eggshell: '#ffffd4',
-  denim: '#3b638c',
-  yellow_brown: '#b79400',
-  dull_purple: '#84597e',
-  chocolate_brown: '#411900',
-  wine_red: '#7b0323',
-  neon_blue: '#04d9ff',
-  dirty_green: '#667e2c',
-  light_tan: '#fbeeac',
-  ice_blue: '#d7fffe',
-  cadet_blue: '#4e7496',
-  dark_mauve: '#874c62',
-  very_light_blue: '#d5ffff',
-  grey_purple: '#826d8c',
-  pastel_pink: '#ffbacd',
-  very_light_green: '#d1ffbd',
-  dark_sky_blue: '#448ee4',
-  evergreen: '#05472a',
-  dull_pink: '#d5869d',
-  aubergine: '#3d0734',
-  mahogany: '#4a0100',
-  reddish_orange: '#f8481c',
-  deep_green: '#02590f',
-  vomit_green: '#89a203',
-  purple_pink: '#e03fd8',
-  dusty_pink: '#d58a94',
-  faded_green: '#7bb274',
-  camo_green: '#526525',
-  pinky_purple: '#c94cbe',
-  pink_purple: '#db4bda',
-  brownish_red: '#9e3623',
-  dark_rose: '#b5485d',
-  mud: '#735c12',
-  brownish: '#9c6d57',
-  emerald_green: '#028f1e',
-  pale_brown: '#b1916e',
-  dull_blue: '#49759c',
-  burnt_umber: '#a0450e',
-  medium_green: '#39ad48',
-  clay: '#b66a50',
-  light_aqua: '#8cffdb',
-  light_olive_green: '#a4be5c',
-  brownish_orange: '#cb7723',
-  dark_aqua: '#05696b',
-  purplish_pink: '#ce5dae',
-  dark_salmon: '#c85a53',
-  greenish_grey: '#96ae8d',
-  jade: '#1fa774',
-  ugly_green: '#7a9703',
-  dark_beige: '#ac9362',
-  emerald: '#01a049',
-  pale_red: '#d9544d',
-  light_magenta: '#fa5ff7',
-  sky: '#82cafc',
-  light_cyan: '#acfffc',
-  yellow_orange: '#fcb001',
-  reddish_purple: '#910951',
-  reddish_pink: '#fe2c54',
-  orchid: '#c875c4',
-  dirty_yellow: '#cdc50a',
-  orange_red: '#fd411e',
-  deep_red: '#9a0200',
-  orange_brown: '#be6400',
-  cobalt_blue: '#030aa7',
-  neon_pink: '#fe019a',
-  rose_pink: '#f7879a',
-  greyish_purple: '#887191',
-  raspberry: '#b00149',
-  aqua_green: '#12e193',
-  salmon_pink: '#fe7b7c',
-  tangerine: '#ff9408',
-  brownish_green: '#6a6e09',
-  red_brown: '#8b2e16',
-  greenish_brown: '#696112',
-  pumpkin: '#e17701',
-  pine_green: '#0a481e',
-  charcoal: '#343837',
-  baby_pink: '#ffb7ce',
-  cornflower: '#6a79f7',
-  blue_violet: '#5d06e9',
-  chocolate: '#3d1c02',
-  greyish_green: '#82a67d',
-  scarlet: '#be0119',
-  green_yellow: '#c9ff27',
-  dark_olive: '#373e02',
-  sienna: '#a9561e',
-  pastel_purple: '#caa0ff',
-  terracotta: '#ca6641',
-  aqua_blue: '#02d8e9',
-  sage_green: '#88b378',
-  blood_red: '#980002',
-  deep_pink: '#cb0162',
-  grass: '#5cac2d',
-  moss: '#769958',
-  pastel_blue: '#a2bffe',
-  bluish_green: '#10a674',
-  green_blue: '#06b48b',
-  dark_tan: '#af884a',
-  greenish_blue: '#0b8b87',
-  pale_orange: '#ffa756',
-  vomit: '#a2a415',
-  forrest_green: '#154406',
-  dark_lavender: '#856798',
-  dark_violet: '#34013f',
-  purple_blue: '#632de9',
-  dark_cyan: '#0a888a',
-  olive_drab: '#6f7632',
-  pinkish: '#d46a7e',
-  cobalt: '#1e488f',
-  neon_purple: '#bc13fe',
-  light_turquoise: '#7ef4cc',
-  apple_green: '#76cd26',
-  dull_green: '#74a662',
-  wine: '#80013f',
-  powder_blue: '#b1d1fc',
-  off_white: '#ffffe4',
-  electric_blue: '#0652ff',
-  dark_turquoise: '#045c5a',
-  blue_purple: '#5729ce',
-  azure: '#069af3',
-  bright_red: '#ff000d',
-  pinkish_red: '#f10c45',
-  cornflower_blue: '#5170d7',
-  light_olive: '#acbf69',
-  grape: '#6c3461',
-  greyish_blue: '#5e819d',
-  purplish_blue: '#601ef9',
-  yellowish_green: '#b0dd16',
-  greenish_yellow: '#cdfd02',
-  medium_blue: '#2c6fbb',
-  dusty_rose: '#c0737a',
-  light_violet: '#d6b4fc',
-  midnight_blue: '#020035',
-  bluish_purple: '#703be7',
-  red_orange: '#fd3c06',
-  dark_magenta: '#960056',
-  greenish: '#40a368',
-  ocean_blue: '#03719c',
-  coral: '#fc5a50',
-  cream: '#ffffc2',
-  reddish_brown: '#7f2b0a',
-  burnt_sienna: '#b04e0f',
-  brick: '#a03623',
-  sage: '#87ae73',
-  grey_green: '#789b73',
-  white: '#ffffff',
-  robins_egg_blue: '#98eff9',
-  moss_green: '#658b38',
-  steel_blue: '#5a7d9a',
-  eggplant: '#380835',
-  light_yellow: '#fffe7a',
-  leaf_green: '#5ca904',
-  light_grey: '#d8dcd6',
-  puke: '#a5a502',
-  pinkish_purple: '#d648d7',
-  sea_blue: '#047495',
-  pale_purple: '#b790d4',
-  slate_blue: '#5b7c99',
-  blue_grey: '#607c8e',
-  hunter_green: '#0b4008',
-  fuchsia: '#ed0dd9',
-  crimson: '#8c000f',
-  pale_yellow: '#ffff84',
-  ochre: '#bf9005',
-  mustard_yellow: '#d2bd0a',
-  light_red: '#ff474c',
-  cerulean: '#0485d1',
-  pale_pink: '#ffcfdc',
-  deep_blue: '#040273',
-  rust: '#a83c09',
-  light_teal: '#90e4c1',
-  slate: '#516572',
-  goldenrod: '#fac205',
-  dark_yellow: '#d5b60a',
-  dark_grey: '#363737',
-  army_green: '#4b5d16',
-  grey_blue: '#6b8ba4',
-  seafoam: '#80f9ad',
-  puce: '#a57e52',
-  spring_green: '#a9f971',
-  dark_orange: '#c65102',
-  sand: '#e2ca76',
-  pastel_green: '#b0ff9d',
-  mint: '#9ffeb0',
-  light_orange: '#fdaa48',
-  bright_pink: '#fe01b1',
-  chartreuse: '#c1f80a',
-  deep_purple: '#36013f',
-  dark_brown: '#341c02',
-  taupe: '#b9a281',
-  pea_green: '#8eab12',
-  puke_green: '#9aae07',
-  kelly_green: '#02ab2e',
-  seafoam_green: '#7af9ab',
-  blue_green: '#137e6d',
-  khaki: '#aaa662',
-  burgundy: '#610023',
-  dark_teal: '#014d4e',
-  brick_red: '#8f1402',
-  royal_purple: '#4b006e',
-  plum: '#580f41',
-  mint_green: '#8fff9f',
-  gold: '#dbb40c',
-  baby_blue: '#a2cffe',
-  yellow_green: '#c0fb2d',
-  bright_purple: '#be03fd',
-  dark_red: '#840000',
-  pale_blue: '#d0fefe',
-  grass_green: '#3f9b0b',
-  navy: '#01153e',
-  aquamarine: '#04d8b2',
-  burnt_orange: '#c04e01',
-  neon_green: '#0cff0c',
-  bright_blue: '#0165fc',
-  rose: '#cf6275',
-  light_pink: '#ffd1df',
-  mustard: '#ceb301',
-  indigo: '#380282',
-  lime: '#aaff32',
-  sea_green: '#53fca1',
-  periwinkle: '#8e82fe',
-  dark_pink: '#cb416b',
-  olive_green: '#677a04',
-  peach: '#ffb07c',
-  pale_green: '#c7fdb5',
-  light_brown: '#ad8150',
-  hot_pink: '#ff028d',
-  black: '#000000',
-  lilac: '#cea2fd',
-  navy_blue: '#001146',
-  royal_blue: '#0504aa',
-  beige: '#e6daa6',
-  salmon: '#ff796c',
-  olive: '#6e750e',
-  maroon: '#650021',
-  bright_green: '#01ff07',
-  dark_purple: '#35063e',
-  mauve: '#ae7181',
-  forest_green: '#06470c',
-  aqua: '#13eac9',
-  cyan: '#00ffff',
-  tan: '#d1b26f',
-  dark_blue: '#00035b',
-  lavender: '#c79fef',
-  turquoise: '#06c2ac',
-  dark_green: '#033500',
-  violet: '#9a0eea',
-  light_purple: '#bf77f6',
-  lime_green: '#89fe05',
-  grey: '#929591',
-  sky_blue: '#75bbfd',
-  yellow: '#ffff14',
-  magenta: '#c20078',
-  light_green: '#96f97b',
-  orange: '#f97306',
-  teal: '#029386',
-  light_blue: '#95d0fc',
-  red: '#e50000',
-  brown: '#653700',
-  pink: '#ff81c0',
-  blue: '#0343df',
-  green: '#15b01a',
-  purple: '#7e1e9c'
-}.freeze
- -
- - - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Figure.html b/doc/Rubyplot/Figure.html deleted file mode 100644 index 3eb1a15..0000000 --- a/doc/Rubyplot/Figure.html +++ /dev/null @@ -1,2097 +0,0 @@ - - - - - - - Class: Rubyplot::Figure - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Figure - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - -
-
Includes:
-
GRWrapper::Tasks, Scripting::Plots
-
- - - - - - -
-
Defined in:
-
lib/rubyplot/figure.rb,
- lib/rubyplot/scripting_backends/gr/gr_backend.rb
-
-
- -
- - - - -

Constant Summary

- -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - -

Instance Attribute Summary collapse

- - - - - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

- - - - - - -
-

Constructor Details

- -
-

- - #initialize(backend: :default) ⇒ Figure - - - - - -

-
- -

Returns a new instance of Figure

- - -
-
-
- - -
- - - - -
-
-
-
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-
-
# File 'lib/rubyplot/figure.rb', line 11
-
-def initialize(backend: :default)
-  @backend = backend
-  @tasks = []
-  @x_title = ''
-  @y_title = ''
-  @x_range = [0, 0]
-  @y_range = [0, 0]
-  @origin = [:default, :default]
-  @x_tick_count = :default
-  @y_tick_count = :default
-  @title = nil
-  @title_shift = 0
-  @text_font = :default
-  @grid = true
-  @bounding_box = true
-  @x_axis_padding = :default
-  @y_axis_padding = :default
-  if @backend == :default || @backend == :GR
-    require(__dir__.to_s << '/scripting_backends/gr/gr_backend')
-  end
-end
-
-
- -
- -
-

Instance Attribute Details

- - - -
-

- - #backendObject - - - - - -

-
- -

Returns the value of attribute backend

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def backend
-  @backend
-end
-
-
- - - -
-

- - #bounding_boxObject - - - - - -

-
- -

Returns the value of attribute bounding_box

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def bounding_box
-  @bounding_box
-end
-
-
- - - -
-

- - #gridObject - - - - - -

-
- -

Returns the value of attribute grid

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def grid
-  @grid
-end
-
-
- - - -
-

- - #originObject - - - - - -

-
- -

Returns the value of attribute origin

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def origin
-  @origin
-end
-
-
- - - -
-

- - #tasksObject (readonly) - - - - - -

-
- -

Returns the value of attribute tasks

- - -
-
-
- - -
- - - - -
-
-
-
-9
-10
-11
-
-
# File 'lib/rubyplot/figure.rb', line 9
-
-def tasks
-  @tasks
-end
-
-
- - - -
-

- - #text_fontObject - - - - - -

-
- -

Returns the value of attribute text_font

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def text_font
-  @text_font
-end
-
-
- - - -
-

- - #titleObject - - - - - -

-
- -

Returns the value of attribute title

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def title
-  @title
-end
-
-
- - - -
-

- - #title_shiftObject - - - - - -

-
- -

Returns the value of attribute title_shift

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def title_shift
-  @title_shift
-end
-
-
- - - -
-

- - #x_axis_paddingObject - - - - - -

-
- -

Returns the value of attribute x_axis_padding

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def x_axis_padding
-  @x_axis_padding
-end
-
-
- - - -
-

- - #x_rangeObject - - - - - -

-
- -

Returns the value of attribute x_range

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def x_range
-  @x_range
-end
-
-
- - - -
-

- - #x_tick_countObject - - - - - -

-
- -

Returns the value of attribute x_tick_count

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def x_tick_count
-  @x_tick_count
-end
-
-
- - - -
-

- - #x_titleObject - - - - - -

-
- -

Returns the value of attribute x_title

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def x_title
-  @x_title
-end
-
-
- - - -
-

- - #y_axis_paddingObject - - - - - -

-
- -

Returns the value of attribute y_axis_padding

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def y_axis_padding
-  @y_axis_padding
-end
-
-
- - - -
-

- - #y_rangeObject - - - - - -

-
- -

Returns the value of attribute y_range

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def y_range
-  @y_range
-end
-
-
- - - -
-

- - #y_tick_countObject - - - - - -

-
- -

Returns the value of attribute y_tick_count

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def y_tick_count
-  @y_tick_count
-end
-
-
- - - -
-

- - #y_titleObject - - - - - -

-
- -

Returns the value of attribute y_title

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/figure.rb', line 5
-
-def y_title
-  @y_title
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #bar!(data, bar_color: :default, bar_width: :default, bar_gap: :default, bar_edge: :default, bar_edge_color: :default, bar_edge_width: :default) ⇒ Object - - - - - -

- - - - -
-
-
-
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-62
-63
-
-
# File 'lib/rubyplot/scripting_backends/gr/gr_backend.rb', line 43
-
-def bar!(data, bar_color: :default, bar_width: :default,
-               bar_gap: :default, bar_edge: :default, bar_edge_color: :default,
-               bar_edge_width: :default)
-
-  @x_range[0] = 0 if @x_range[0].nil?
-  @x_range[1] = data.length if @x_range[0].nil?
-  bar_gap = 0 if bar_gap == :default
-  bar_width = 1 if bar_width == :default
-  bar_edge_width = 0.03 if bar_edge_width == :default
-  x_length = data.length * (bar_width + bar_gap) + bar_width + bar_edge_width
-  @x_range[1] = x_length if x_length > @x_range[1]
-
-  @y_range[0] = data.min if @y_range[0].nil?
-  @y_range[1] = data.max if @y_range[1].nil?
-  @y_range[0] = data.min if data.min < @y_range[0]
-  @y_range[1] = data.max if data.max > @y_range[1]
-  @tasks.push(Bar.new(data, bar_color: bar_color, bar_width: bar_width,
-                            bar_gap: bar_gap, bar_edge: bar_edge,
-                            bar_edge_color: bar_edge_color,
-                            bar_edge_width: bar_edge_width))
-end
-
-
- -
-

- - #candlestick!(open_, high, low, close_, up_color: :default, down_color: :default, bar_width: :default, bar_gap: :default, up_line_color: :default, down_line_color: :default) ⇒ Object - - - - - -

- - - - -
-
-
-
-109
-110
-111
-112
-113
-114
-115
-116
-117
-118
-119
-120
-121
-122
-123
-124
-
-
# File 'lib/rubyplot/scripting_backends/gr/gr_backend.rb', line 109
-
-def candlestick!(open_, high, low, close_, up_color: :default,
-                  down_color: :default, bar_width: :default,
-                  bar_gap: :default, up_line_color: :default,
-                  down_line_color: :default)
-  bar_gap = 0 if bar_gap == :default
-  bar_width = 1 if bar_width == :default
-  @x_range[0] = 0 if @x_range[0].nil?
-  x_length = high.length * (bar_width + bar_gap)
-  @x_range[1] = x_length if @x_range[1].nil? || x_length > @x_range[1]
-  @y_range[0] = low.min if @y_range[0].nil? || low.min < @y_range[0]
-  @y_range[1] = high.max if @y_range[1].nil? || high.max > @y_range[1]
-  @tasks.push(Candlestick.new(open_, high, low, close_,bar_gap, bar_width,
-                              up_color: up_color, down_color: down_color,
-                              up_line_color: up_line_color,
-                              down_line_color: down_line_color))
-end
-
-
- -
-

- - #clear!Object - - - - - -

- - - - -
-
-
-
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-
-
# File 'lib/rubyplot/figure.rb', line 32
-
-def clear!
-  @tasks = []
-  @x_range = [0, 0]
-  @y_range = [0, 0]
-  @origin = [0, 0]
-  @x_tick_count = :default
-  @y_tick_count = :default
-  @title = nil
-  @title_shift = 0
-  @text_font = :default
-  @grid = true
-  @bounding_box = true
-  @x_axis_padding = :default
-  @y_axis_padding = :default
-end
-
-
- -
-

- - #line!(x_coordinates, y_coordinates, line_width: :default, line_color: :default, line_type: :default, marker_size: :default, marker_color: :default, marker_type: :default) ⇒ Object - - - - - -

- - - - -
-
-
-
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-
-
# File 'lib/rubyplot/scripting_backends/gr/gr_backend.rb', line 22
-
-def line!(x_coordinates, y_coordinates, line_width: :default,
-          line_color: :default, line_type: :default,
-          marker_size: :default, marker_color: :default,
-          marker_type: :default)
-  @x_range[0] = x_coordinates.min if @x_range[0].nil?
-  @x_range[1] = x_coordinates.max if @x_range[1].nil?
-  @x_range[0] = x_coordinates.min if x_coordinates.min < @x_range[0]
-  @x_range[1] = x_coordinates.max if x_coordinates.max > @x_range[1]
-
-  @y_range[0] = y_coordinates.min if @y_range[0].nil?
-  @y_range[1] = y_coordinates.max if @y_range[1].nil?
-  @y_range[0] = y_coordinates.min if y_coordinates.min < @y_range[0]
-  @y_range[1] = y_coordinates.max if y_coordinates.max > @y_range[1]
-
-  @tasks.push(Line.new(x_coordinates, y_coordinates,
-                       line_width: line_width, line_color: line_color,
-                       line_type: line_type, marker_size: marker_size,
-                       marker_color: marker_color,
-                       marker_type: marker_type))
-end
-
-
- -
-

- - #save(file_name) ⇒ Object - - - - - -

- - - - -
-
-
-
-130
-131
-132
-
-
# File 'lib/rubyplot/scripting_backends/gr/gr_backend.rb', line 130
-
-def save(file_name)
-  Rubyplot::Plotspace.new(self).save!(file_name)
-end
-
-
- -
-

- - #scatter!(x_coordinates, y_coordinates, marker_size: :default, marker_color: :default, marker_type: :default) ⇒ Object - - - - - -

- - - - -
-
-
-
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-
-
# File 'lib/rubyplot/scripting_backends/gr/gr_backend.rb', line 3
-
-def scatter!(x_coordinates, y_coordinates, marker_size: :default,
-             marker_color: :default, marker_type: :default)
-            # give opions for colors as rgb
-  @x_range[0] = x_coordinates.min if @x_range[0].nil?
-  @x_range[1] = x_coordinates.max if @x_range[1].nil?
-  @x_range[0] = x_coordinates.min if x_coordinates.min < @x_range[0]
-  @x_range[1] = x_coordinates.max if x_coordinates.max > @x_range[1]
-
-  @y_range[0] = y_coordinates.min if @y_range[0].nil?
-  @y_range[1] = y_coordinates.max if @y_range[1].nil?
-  @y_range[0] = y_coordinates.min if y_coordinates.min < @y_range[0]
-  @y_range[1] = y_coordinates.max if y_coordinates.max > @y_range[1]
-
-
-  @tasks.push(Scatter.new(x_coordinates, y_coordinates,
-              marker_size: marker_size, marker_color: marker_color,
-              marker_type: marker_type))
-end
-
-
- -
-

- - #stacked_bar!(data, bar_colors: :default, bar_width: :default, bar_gap: :default, bar_edge: :default, bar_edge_color: :default, bar_edge_width: :default) ⇒ Object - - - - - -

- - - - -
-
-
-
-88
-89
-90
-91
-92
-93
-94
-95
-96
-97
-98
-99
-100
-101
-102
-103
-104
-105
-106
-107
-
-
# File 'lib/rubyplot/scripting_backends/gr/gr_backend.rb', line 88
-
-def stacked_bar!(data, bar_colors: :default, bar_width: :default,
-               bar_gap: :default, bar_edge: :default, bar_edge_color: :default,
-               bar_edge_width: :default)
-  # Return error if negative data
-  @x_range[0] = 0 if @x_range[0].nil?
-  @x_range[1] = data[0].length if @x_range[1].nil?
-  bar_gap = 0 if bar_gap == :default
-  bar_width = 1 if bar_width == :default
-  bar_edge_width = 0.03 if bar_edge_width == :default
-  x_length = data[0].length * (bar_width + bar_gap) + bar_width + bar_edge_width
-  @x_range[1] = x_length if x_length > @x_range[1]
-  summed_heights = data.transpose.map { |x| x.reduce(:+) }
-  @y_range[0] = 0 if @y_range[0].nil?
-  @y_range[1] = summed_heights.max if @y_range[1].nil?
-  @y_range[1] = summed_heights.max if summed_heights.max > @y_range[1]
-  @tasks.push(StackedBar.new(data,bar_colors: bar_colors, bar_width: bar_width,
-                            bar_gap: bar_gap, bar_edge: bar_edge,
-                            bar_edge_color: bar_edge_color,
-                            bar_edge_width: bar_edge_width))
-end
-
-
- -
-

- - #stacked_bar_z!(data, bar_colors: :default, bar_width: :default, bar_gap: :default, bar_edge: :default, bar_edge_color: :default, bar_edge_width: :default) ⇒ Object - - - - - -

- - - - -
-
-
-
-65
-66
-67
-68
-69
-70
-71
-72
-73
-74
-75
-76
-77
-78
-79
-80
-81
-82
-83
-84
-85
-86
-
-
# File 'lib/rubyplot/scripting_backends/gr/gr_backend.rb', line 65
-
-def stacked_bar_z!(data, bar_colors: :default, bar_width: :default,
-               bar_gap: :default, bar_edge: :default, bar_edge_color: :default,
-               bar_edge_width: :default)
-
-  @x_range[0] = 0 if @x_range[0].nil?
-  @x_range[1] = data[0].length if @x_range[1].nil?
-  bar_gap = 0 if bar_gap == :default
-  bar_width = 1 if bar_width == :default
-  bar_edge_width = 0.03 if bar_edge_width == :default
-  x_length = data[0].length * (bar_width + bar_gap) + bar_width + bar_edge_width
-  @x_range[1] = x_length if x_length > @x_range[1]
-  @y_range[0] = data[0].min if @y_range[0].nil?
-  @y_range[1] = data[0].max if @y_range[1].nil?
-  data.each do |i|
-    @y_range[0] = i.min if i.min < @y_range[0]
-    @y_range[1] = i.max if i.max > @y_range[1]
-  end
-  @tasks.push(StackedBarZ.new(data,bar_colors: bar_colors, bar_width: bar_width,
-                            bar_gap: bar_gap, bar_edge: bar_edge,
-                            bar_edge_color: bar_edge_color,
-                            bar_edge_width: bar_edge_width))
-end
-
-
- -
-

- - #viewObject - - - - - -

- - - - -
-
-
-
-126
-127
-128
-
-
# File 'lib/rubyplot/scripting_backends/gr/gr_backend.rb', line 126
-
-def view
-  Rubyplot::Plotspace.new(self).view!
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper.html b/doc/Rubyplot/GRWrapper.html deleted file mode 100644 index 45ba018..0000000 --- a/doc/Rubyplot/GRWrapper.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - - - Module: Rubyplot::GRWrapper - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: Rubyplot::GRWrapper - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- -

Defined Under Namespace

-

- - - Modules: Tasks - - - - -

- - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks.html b/doc/Rubyplot/GRWrapper/Tasks.html deleted file mode 100644 index c8f2624..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - - - Module: Rubyplot::GRWrapper::Tasks - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: Rubyplot::GRWrapper::Tasks - - - -

-
- - - - - - - - - -
-
Included in:
-
Figure, Plotspace, Scripting::Plots::BasePlots::LazyBase, Scripting::Plots::BasePlots::RobustBase
-
- - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- -

Defined Under Namespace

-

- - - - - Classes: Axes, AxesTitles, BeginPrint, ClearWorkspace, DrawArc, EndPrint, FillArc, FillRectangle, Grid, Polyline, Polymarker, SetCharHeight, SetFillColorIndex, SetFillInteriorStyle, SetLineColorIndex, SetLineType, SetLineWidth, SetMarkerColorIndex, SetMarkerSize, SetMarkerType, SetTextAlign, SetTextFontPrecision, SetViewPort, SetWindow, Text, UpdateWorkspace - - -

- - -

- Constant Summary - collapse -

- -
- -
GR_FONTS = - -
-
{
-  times_roman: 101,
-  times_italic: 102,
-  times_bold: 103,
-  times_bold_italic: 104,
-  helvetica: 105,
-  helvetica_oblique: 106,
-  helvetica_bold: 107,
-  helvetica_bold_oblique: 108,
-  courier: 109,
-  courier_oblique: 110,
-  courier_bold: 111,
-  courier_bold_oblique: 112,
-  symbol: 113,
-  bookman_light: 114,
-  bookman_light_italic: 115,
-  bookman_demi: 116,
-  bookman_demi_italic: 117,
-  newcenturyschlbk_roman: 118,
-  newcenturyschlbk_italic: 119,
-  newcenturyschlbk_bold: 120,
-  newcenturyschlbk_bold_italic: 121,
-  avantgarde_book: 122,
-  avantgarde_book_oblique: 123,
-  avantgarde_demi: 124,
-  avantgarde_demi_oblique: 125,
-  palatino_roman: 126,
-  palatino_italic: 127,
-  palatino_bold: 128,
-  palatino_bold_italic: 129,
-  zapfchancery_medium_italic: 130,
-  zapfdingbats: 131
-}.freeze
- -
GR_FONT_PRECISION = - -
-
{
-  text_precision_string: 0,
-  text_precision_char: 1,
-  text_precision_stroke: 2
-}.freeze
- -
GR_MARKER_SHAPES = -
-
- -

Marker types

- - -
-
-
- - -
-
-
{
-  dot: 1,
-  plus: 2,
-  asterisk: 3,
-  circle: 4,
-  diagonal_cross: 5,
-  solid_circle: -1,
-  triangle_up: -2,
-  solid_tri_up: -3,
-  triangle_down: -4,
-  solid_tri_down: -5,
-  square: -6,
-  solid_square: -7,
-  bowtie: -8,
-  solid_bowtie: -9,
-  hglass: -10,
-  solid_hglass: -11,
-  diamond: -12,
-  solid_diamond: -13,
-  star: -14,
-  solid_star: -15,
-  tri_up_down: -16,
-  solid_tri_right: -17,
-  solid_tri_left: -18,
-  hollow_plus: -19,
-  solid_plus: -20,
-  pentagon: -21,
-  hexagon: -22,
-  heptagon: -23,
-  octagon: -24,
-  star_4: -25,
-  star_5: -26,
-  star_6: -27,
-  star_7: -28,
-  star_8: -29,
-  vline: -30,
-  hline: -31,
-  omark: -32
-}.freeze
- -
GR_LINE_TYPES = - -
-
{
-  solid: 1,
-  dashed: 2,
-  dotted: 3,
-  dashed_dotted: 4,
-  dash_2_dot: -1,
-  dash_3_dot: -2,
-  long_dash: -3,
-  long_short_dash: -4,
-  spaced_dash: -5,
-  spaced_dot: -6,
-  double_dot: -7,
-  triple_dot: -8
-}.freeze
- -
GR_FILL_INTERIOR_STYLES = - -
-
{
-  hollow: 0,
-  solid: 1,
-  pattern: 2,
-  hatch: 3
-}.freeze
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - - - -
-

Instance Method Details

- - -
-

- - #inqcolorfromrgb(rgbstring) ⇒ Object - - - - - -

- - - - -
-
-
-
-4
-5
-6
-7
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 4
-
-def inqcolorfromrgb(rgbstring)
-  rgb = rgbstring.match /#(..)(..)(..)/
-  GR.inqcolorfromrgb((rgb[1].hex.to_f/255.0), (rgb[2].hex.to_f/255.0), (rgb[3].hex.to_f/255.0))
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/Axes.html b/doc/Rubyplot/GRWrapper/Tasks/Axes.html deleted file mode 100644 index 6e5edfc..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/Axes.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::Axes - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::Axes - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_major_tick, y_major_tick, x_origin, y_origin, major_x, major_y, tick_size) ⇒ Axes - - - - - -

-
- -

Returns a new instance of Axes

- - -
-
-
- - -
- - - - -
-
-
-
-224
-225
-226
-227
-228
-229
-230
-231
-232
-233
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 224
-
-def initialize(x_major_tick, y_major_tick, x_origin, y_origin, major_x,
-               major_y, tick_size)
-  @x_major_tick = x_major_tick
-  @y_major_tick = y_major_tick
-  @x_origin = x_origin
-  @y_origin = y_origin
-  @major_x = major_x
-  @major_y = major_y
-  @tick_size = tick_size
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-235
-236
-237
-238
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 235
-
-def call
-  GR.axes(@x_major_tick, @y_major_tick, @x_origin, @y_origin, @major_x,
-          @major_y, @tick_size)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/AxesTitles.html b/doc/Rubyplot/GRWrapper/Tasks/AxesTitles.html deleted file mode 100644 index 5488a72..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/AxesTitles.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::AxesTitles - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::AxesTitles - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_title, y_title, z_title) ⇒ AxesTitles - - - - - -

-
- -

Returns a new instance of AxesTitles

- - -
-
-
- - -
- - - - -
-
-
-
-212
-213
-214
-215
-216
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 212
-
-def initialize(x_title, y_title, z_title)
-  @x_title = x_title.to_s
-  @y_title = y_title.to_s
-  @z_title = z_title.to_s
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-218
-219
-220
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 218
-
-def call
-  GR.titles3d(@x_title, @y_title, @z_title)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/BeginPrint.html b/doc/Rubyplot/GRWrapper/Tasks/BeginPrint.html deleted file mode 100644 index 84669a9..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/BeginPrint.html +++ /dev/null @@ -1,343 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::BeginPrint - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::BeginPrint - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - -

Instance Attribute Summary collapse

- - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(file_name) ⇒ BeginPrint - - - - - -

-
- -

Returns a new instance of BeginPrint

- - -
-
-
- - -
- - - - -
-
-
-
-13
-14
-15
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 13
-
-def initialize(file_name)
-  @file_name = file_name
-end
-
-
- -
- -
-

Instance Attribute Details

- - - -
-

- - #file_nameObject (readonly) - - - - - -

-
- -

Returns the value of attribute file_name

- - -
-
-
- - -
- - - - -
-
-
-
-11
-12
-13
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 11
-
-def file_name
-  @file_name
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-17
-18
-19
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 17
-
-def call
-  GR.beginprint(@file_name)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/ClearWorkspace.html b/doc/Rubyplot/GRWrapper/Tasks/ClearWorkspace.html deleted file mode 100644 index a598b61..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/ClearWorkspace.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::ClearWorkspace - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::ClearWorkspace - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - - - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-35
-36
-37
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 35
-
-def call
-  GR.clearws
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/DrawArc.html b/doc/Rubyplot/GRWrapper/Tasks/DrawArc.html deleted file mode 100644 index a9248e6..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/DrawArc.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::DrawArc - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::DrawArc - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_min, x_max, y_min, y_max, starting_angle, ending_angle) ⇒ DrawArc - - - - - -

-
- -

Returns a new instance of DrawArc

- - -
-
-
- - -
- - - - -
-
-
-
-271
-272
-273
-274
-275
-276
-277
-278
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 271
-
-def initialize(x_min, x_max, y_min, y_max, starting_angle, ending_angle)
-  @x_min = x_min
-  @x_max = x_max
-  @y_min = y_min
-  @y_max = y_max
-  @starting_angle = starting_angle
-  @ending_angle = ending_angle
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-280
-281
-282
-283
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 280
-
-def call
-  GR.drawarc(@x_min, @x_max, @y_min, @y_max, @starting_angle,
-             @ending_angle)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/EndPrint.html b/doc/Rubyplot/GRWrapper/Tasks/EndPrint.html deleted file mode 100644 index 2ad1e8a..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/EndPrint.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::EndPrint - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::EndPrint - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - - - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-23
-24
-25
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 23
-
-def call
-  GR.endprint
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/FillArc.html b/doc/Rubyplot/GRWrapper/Tasks/FillArc.html deleted file mode 100644 index bbbc4de..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/FillArc.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::FillArc - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::FillArc - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_min, x_max, y_min, y_max, starting_angle, ending_angle) ⇒ FillArc - - - - - -

-
- -

Returns a new instance of FillArc

- - -
-
-
- - -
- - - - -
-
-
-
-287
-288
-289
-290
-291
-292
-293
-294
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 287
-
-def initialize(x_min, x_max, y_min, y_max, starting_angle, ending_angle)
-  @x_min = x_min
-  @x_max = x_max
-  @y_min = y_min
-  @y_max = y_max
-  @starting_angle = starting_angle
-  @ending_angle = ending_angle
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-296
-297
-298
-299
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 296
-
-def call
-  GR.fillarc(@x_min, @x_max, @y_min, @y_max, @starting_angle,
-             @ending_angle)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/FillRectangle.html b/doc/Rubyplot/GRWrapper/Tasks/FillRectangle.html deleted file mode 100644 index 36b7bce..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/FillRectangle.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::FillRectangle - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::FillRectangle - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_min, x_max, y_min, y_max) ⇒ FillRectangle - - - - - -

-
- -

Returns a new instance of FillRectangle

- - -
-
-
- - -
- - - - -
-
-
-
-61
-62
-63
-64
-65
-66
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 61
-
-def initialize(x_min, x_max, y_min, y_max)
-  @x_min = x_min
-  @x_max = x_max
-  @y_min = y_min
-  @y_max = y_max
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-68
-69
-70
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 68
-
-def call
-  GR.fillrect(@x_min, @x_max, @y_min, @y_max)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/Grid.html b/doc/Rubyplot/GRWrapper/Tasks/Grid.html deleted file mode 100644 index 15f58a2..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/Grid.html +++ /dev/null @@ -1,275 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::Grid - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::Grid - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_major_tick, y_major_tick, x_origin, y_origin, major_x, major_y) ⇒ Grid - - - - - -

-
- -

Returns a new instance of Grid

- - -
-
-
- - -
- - - - -
-
-
-
-242
-243
-244
-245
-246
-247
-248
-249
-250
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 242
-
-def initialize(x_major_tick, y_major_tick, x_origin, y_origin, major_x,
-               major_y)
-  @x_major_tick = x_major_tick
-  @y_major_tick = y_major_tick
-  @x_origin = x_origin
-  @y_origin = y_origin
-  @major_x = major_x
-  @major_y = major_y
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-252
-253
-254
-255
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 252
-
-def call
-  GR.grid(@x_major_tick, @y_major_tick, @x_origin, @y_origin, @major_x,
-          @major_y)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/Polyline.html b/doc/Rubyplot/GRWrapper/Tasks/Polyline.html deleted file mode 100644 index 1d0e349..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/Polyline.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::Polyline - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::Polyline - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_coordinates, y_coordinates) ⇒ Polyline - - - - - -

-
- -

Returns a new instance of Polyline

- - -
-
-
- - -
- - - - -
-
-
-
-51
-52
-53
-54
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 51
-
-def initialize(x_coordinates, y_coordinates)
-  @x_coordinates = x_coordinates
-  @y_coordinates = y_coordinates
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-55
-56
-57
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 55
-
-def call
-  GR.polyline(@x_coordinates, @y_coordinates)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/Polymarker.html b/doc/Rubyplot/GRWrapper/Tasks/Polymarker.html deleted file mode 100644 index 596eead..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/Polymarker.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::Polymarker - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::Polymarker - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_coordinates, y_coordinates) ⇒ Polymarker - - - - - -

-
- -

Returns a new instance of Polymarker

- - -
-
-
- - -
- - - - -
-
-
-
-41
-42
-43
-44
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 41
-
-def initialize(x_coordinates, y_coordinates)
-  @x_coordinates = x_coordinates
-  @y_coordinates = y_coordinates
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-45
-46
-47
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 45
-
-def call
-  GR.polymarker(@x_coordinates, @y_coordinates)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetCharHeight.html b/doc/Rubyplot/GRWrapper/Tasks/SetCharHeight.html deleted file mode 100644 index 8596d57..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetCharHeight.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetCharHeight - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetCharHeight - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(height) ⇒ SetCharHeight - - - - - -

-
- -

Returns a new instance of SetCharHeight

- - -
-
-
- - -
- - - - -
-
-
-
-202
-203
-204
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 202
-
-def initialize(height)
-  @height = height
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-206
-207
-208
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 206
-
-def call
-  GR.setcharheight(@height)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetFillColorIndex.html b/doc/Rubyplot/GRWrapper/Tasks/SetFillColorIndex.html deleted file mode 100644 index 96597fb..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetFillColorIndex.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetFillColorIndex - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetFillColorIndex - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(color_int) ⇒ SetFillColorIndex - - - - - -

-
- -

Returns a new instance of SetFillColorIndex

- - -
-
-
- - -
- - - - -
-
-
-
-74
-75
-76
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 74
-
-def initialize(color_int)
-  @color_int = color_int
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-78
-79
-80
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 78
-
-def call
-  GR.setfillcolorind(@color_int)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetFillInteriorStyle.html b/doc/Rubyplot/GRWrapper/Tasks/SetFillInteriorStyle.html deleted file mode 100644 index 98e5d00..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetFillInteriorStyle.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetFillInteriorStyle - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetFillInteriorStyle - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(style) ⇒ SetFillInteriorStyle - - - - - -

-
- -

Returns a new instance of SetFillInteriorStyle

- - -
-
-
- - -
- - - - -
-
-
-
-84
-85
-86
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 84
-
-def initialize(style)
-  @style = style
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-88
-89
-90
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 88
-
-def call
-  GR.setfillintstyle(@style)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetLineColorIndex.html b/doc/Rubyplot/GRWrapper/Tasks/SetLineColorIndex.html deleted file mode 100644 index e823cf7..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetLineColorIndex.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetLineColorIndex - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetLineColorIndex - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(index) ⇒ SetLineColorIndex - - - - - -

-
- -

Returns a new instance of SetLineColorIndex

- - -
-
-
- - -
- - - - -
-
-
-
-140
-141
-142
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 140
-
-def initialize(index)
-  @index = index
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-144
-145
-146
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 144
-
-def call
-  GR.setlinecolorind(@index)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetLineType.html b/doc/Rubyplot/GRWrapper/Tasks/SetLineType.html deleted file mode 100644 index 401f784..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetLineType.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetLineType - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetLineType - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(type) ⇒ SetLineType - - - - - -

-
- -

Returns a new instance of SetLineType

- - -
-
-
- - -
- - - - -
-
-
-
-130
-131
-132
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 130
-
-def initialize(type)
-  @type = type
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-134
-135
-136
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 134
-
-def call
-  GR.setlinetype(@type)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetLineWidth.html b/doc/Rubyplot/GRWrapper/Tasks/SetLineWidth.html deleted file mode 100644 index 03e4c72..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetLineWidth.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetLineWidth - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetLineWidth - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(width) ⇒ SetLineWidth - - - - - -

-
- -

Returns a new instance of SetLineWidth

- - -
-
-
- - -
- - - - -
-
-
-
-120
-121
-122
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 120
-
-def initialize(width)
-  @width = width
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-124
-125
-126
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 124
-
-def call
-  GR.setlinewidth(@width)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetMarkerColorIndex.html b/doc/Rubyplot/GRWrapper/Tasks/SetMarkerColorIndex.html deleted file mode 100644 index 90dce76..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetMarkerColorIndex.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetMarkerColorIndex - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetMarkerColorIndex - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(index) ⇒ SetMarkerColorIndex - - - - - -

-
- -

Returns a new instance of SetMarkerColorIndex

- - -
-
-
- - -
- - - - -
-
-
-
-170
-171
-172
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 170
-
-def initialize(index)
-  @index = index
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-174
-175
-176
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 174
-
-def call
-  GR.setmarkercolorind(@index)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetMarkerSize.html b/doc/Rubyplot/GRWrapper/Tasks/SetMarkerSize.html deleted file mode 100644 index ca216d2..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetMarkerSize.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetMarkerSize - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetMarkerSize - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(size) ⇒ SetMarkerSize - - - - - -

-
- -

Returns a new instance of SetMarkerSize

- - -
-
-
- - -
- - - - -
-
-
-
-150
-151
-152
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 150
-
-def initialize(size)
-  @size = size
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-154
-155
-156
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 154
-
-def call
-  GR.setmarkersize(@size)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetMarkerType.html b/doc/Rubyplot/GRWrapper/Tasks/SetMarkerType.html deleted file mode 100644 index 38a83dc..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetMarkerType.html +++ /dev/null @@ -1,261 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetMarkerType - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetMarkerType - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(type) ⇒ SetMarkerType - - - - - -

-
- -

Returns a new instance of SetMarkerType

- - -
-
-
- - -
- - - - -
-
-
-
-160
-161
-162
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 160
-
-def initialize(type)
-  @type = type
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-164
-165
-166
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 164
-
-def call
-  GR.setmarkertype(@type)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetTextAlign.html b/doc/Rubyplot/GRWrapper/Tasks/SetTextAlign.html deleted file mode 100644 index 91f822e..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetTextAlign.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetTextAlign - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetTextAlign - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(horizontal, vertical) ⇒ SetTextAlign - - - - - -

-
- -

Returns a new instance of SetTextAlign

- - -
-
-
- - -
- - - - -
-
-
-
-180
-181
-182
-183
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 180
-
-def initialize(horizontal, vertical)
-  @horizontal = horizontal
-  @vertical = vertical
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-185
-186
-187
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 185
-
-def call
-  GR.settextalign(@horizontal, @vertical)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetTextFontPrecision.html b/doc/Rubyplot/GRWrapper/Tasks/SetTextFontPrecision.html deleted file mode 100644 index 6c0f7cf..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetTextFontPrecision.html +++ /dev/null @@ -1,263 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetTextFontPrecision - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetTextFontPrecision - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(font, precision) ⇒ SetTextFontPrecision - - - - - -

-
- -

Returns a new instance of SetTextFontPrecision

- - -
-
-
- - -
- - - - -
-
-
-
-191
-192
-193
-194
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 191
-
-def initialize(font, precision)
-  @font = font
-  @precision = precision
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-196
-197
-198
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 196
-
-def call
-  GR.settextfontprec(@font, @precision)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetViewPort.html b/doc/Rubyplot/GRWrapper/Tasks/SetViewPort.html deleted file mode 100644 index 79bd9a8..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetViewPort.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetViewPort - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetViewPort - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_min, x_max, y_min, y_max) ⇒ SetViewPort - - - - - -

-
- -

Returns a new instance of SetViewPort

- - -
-
-
- - -
- - - - -
-
-
-
-94
-95
-96
-97
-98
-99
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 94
-
-def initialize(x_min, x_max, y_min, y_max)
-  @x_min = x_min
-  @x_max = x_max
-  @y_min = y_min
-  @y_max = y_max
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-101
-102
-103
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 101
-
-def call
-  GR.setviewport(@x_min, @x_max, @y_min, @y_max)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/SetWindow.html b/doc/Rubyplot/GRWrapper/Tasks/SetWindow.html deleted file mode 100644 index d5aa1ef..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/SetWindow.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::SetWindow - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::SetWindow - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_min, x_max, y_min, y_max) ⇒ SetWindow - - - - - -

-
- -

Returns a new instance of SetWindow

- - -
-
-
- - -
- - - - -
-
-
-
-107
-108
-109
-110
-111
-112
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 107
-
-def initialize(x_min, x_max, y_min, y_max)
-  @x_min = x_min
-  @x_max = x_max
-  @y_min = y_min
-  @y_max = y_max
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-114
-115
-116
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 114
-
-def call
-  GR.setwindow(@x_min, @x_max, @y_min, @y_max)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/Text.html b/doc/Rubyplot/GRWrapper/Tasks/Text.html deleted file mode 100644 index be98d9e..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/Text.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::Text - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::Text - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - -
-

Constructor Details

- -
-

- - #initialize(x_loc, y_loc, text_string) ⇒ Text - - - - - -

-
- -

Returns a new instance of Text

- - -
-
-
- - -
- - - - -
-
-
-
-259
-260
-261
-262
-263
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 259
-
-def initialize(x_loc, y_loc, text_string)
-  @x_loc = x_loc
-  @y_loc = y_loc
-  @text_string = text_string
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-265
-266
-267
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 265
-
-def call
-  GR.text(@x_loc, @y_loc, @text_string)
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/GRWrapper/Tasks/UpdateWorkspace.html b/doc/Rubyplot/GRWrapper/Tasks/UpdateWorkspace.html deleted file mode 100644 index 2abbe3a..0000000 --- a/doc/Rubyplot/GRWrapper/Tasks/UpdateWorkspace.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - Class: Rubyplot::GRWrapper::Tasks::UpdateWorkspace - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::GRWrapper::Tasks::UpdateWorkspace - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/grruby/tasks/gr_function_classes.rb
-
- -
- - - - - - - - - -

- Instance Method Summary - collapse -

- - - - - - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-29
-30
-31
-
-
# File 'lib/grruby/tasks/gr_function_classes.rb', line 29
-
-def call
-  GR.updatews
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Plotspace.html b/doc/Rubyplot/Plotspace.html deleted file mode 100644 index f96a3d9..0000000 --- a/doc/Rubyplot/Plotspace.html +++ /dev/null @@ -1,516 +0,0 @@ - - - - - - - Class: Rubyplot::Plotspace - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Plotspace - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - -
-
Includes:
-
Color, GRWrapper::Tasks
-
- - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plotspace.rb
-
- -
- - - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - - - - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initialize(state) ⇒ Plotspace - - - - - -

-
- -

Returns a new instance of Plotspace

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-
-
# File 'lib/rubyplot/scripting_backends/gr/plotspace.rb', line 5
-
-def initialize(state)
-  @state = state
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #save!(file_name) ⇒ Object - - - - - -

- - - - -
-
-
-
-63
-64
-65
-66
-67
-68
-69
-70
-71
-
-
# File 'lib/rubyplot/scripting_backends/gr/plotspace.rb', line 63
-
-def save!(file_name)
-  BeginPrint.new(file_name).call
-  set_axis!
-  @state.tasks.each do |task|
-    task.call() if task.plot_type == :robust
-    task.call(@state) if task.plot_type == :lazy
-  end
-  EndPrint.new.call
-end
-
-
- -
-

- - #set_axis!Object - - - - - -

-
- -

for internal use before drawing

- - -
-
-
- - -
- - - - -
-
-
-
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-
-
# File 'lib/rubyplot/scripting_backends/gr/plotspace.rb', line 9
-
-def set_axis! # for internal use before drawing
-  #Automate tick sizes so that it is not too conjested
-  @state.title_shift = 0.1 unless @state.title.nil?
-
-  @state.x_axis_padding = Math.log((@state.x_range[1] - @state.x_range[0]), 10).round
-  @state.y_axis_padding =  Math.log((@state.y_range[1] - @state.y_range[0]), 10).round
-
-  if @state.origin[0] == :default
-    @state.origin[0] = @state.x_range[0] - @state.x_axis_padding
-  end
-
-  if @state.origin[1] == :default
-    @state.origin[1] = @state.y_range[0] - @state.y_axis_padding
-  end
-
-  SetViewPort.new(0.1, 0.99, 0.1, 0.99 - @state.title_shift).call
-  SetWindow.new(@state.x_range[0] - @state.x_axis_padding, @state.x_range[1] + @state.x_axis_padding,
-                @state.y_range[0] - @state.y_axis_padding, @state.y_range[1] + @state.y_axis_padding).call
-  # Make sure that window is set bigger than range figure out how to manage it
-  SetTextAlign.new(2, 0).call
-  @state.text_font = :times_roman if @state.text_font == :default
-  SetTextFontPrecision.new(GR_FONTS[@state.text_font],
-                           GR_FONT_PRECISION[:text_precision_string]).call
-  SetCharHeight.new(0.012).call
-  @state.y_tick_count = 10 if @state.y_tick_count == :default
-  @state.x_tick_count = 10 if @state.x_tick_count == :default # 10 ticks by default
-  SetLineColorIndex.new(inqcolorfromrgb(COLOR_INDEX[:black])).call
-  SetLineWidth.new(1).call
-  SetLineType.new(GR_LINE_TYPES[:solid]).call
-  Grid.new((@state.x_range[1] - @state.x_range[0]).to_f / @state.x_tick_count,
-           (@state.y_range[1] - @state.y_range[0]).to_f / @state.y_tick_count,
-           0, 0, 1, 1).call
-  Axes.new((@state.x_range[1] - @state.x_range[0]).to_f / @state.x_tick_count,
-           (@state.y_range[1] - @state.y_range[0]).to_f / @state.y_tick_count,
-           @state.origin[0], @state.origin[1], 1, 1, 0.01).call
-  AxesTitles.new(@state.x_title, @state.y_title,'').call
-  if @state.title_shift != 0
-    SetCharHeight.new(0.05).call
-    Text.new(0.5, 0.9, @state.title).call
-  end
-end
-
-
- -
-

- - #view!Object - - - - - -

- - - - -
-
-
-
-51
-52
-53
-54
-55
-56
-57
-58
-59
-60
-61
-
-
# File 'lib/rubyplot/scripting_backends/gr/plotspace.rb', line 51
-
-def view!
-  set_axis!
-  @state.tasks.each do |task|
-    task.call() if task.plot_type == :robust
-    task.call(@state) if task.plot_type == :lazy
-  end
-  UpdateWorkspace.new.call
-  puts("\nPress any button to continue")
-  gets
-  ClearWorkspace.new.call
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting.html b/doc/Rubyplot/Scripting.html deleted file mode 100644 index 2921ddf..0000000 --- a/doc/Rubyplot/Scripting.html +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - Module: Rubyplot::Scripting - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: Rubyplot::Scripting - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots.rb,
- lib/rubyplot/scripting_backends/gr/plots/bar.rb,
lib/rubyplot/scripting_backends/gr/plots/line.rb,
lib/rubyplot/scripting_backends/gr/plots/scatter.rb,
lib/rubyplot/scripting_backends/gr/plots/candlestick.rb,
lib/rubyplot/scripting_backends/gr/plots/stacked_bar.rb,
lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb
-
-
- -
- -

Defined Under Namespace

-

- - - Modules: Plots - - - - -

- - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots.html b/doc/Rubyplot/Scripting/Plots.html deleted file mode 100644 index 8e4fb62..0000000 --- a/doc/Rubyplot/Scripting/Plots.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - - Module: Rubyplot::Scripting::Plots - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: Rubyplot::Scripting::Plots - - - -

-
- - - - - - - - - -
-
Included in:
-
Figure
-
- - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots.rb,
- lib/rubyplot/scripting_backends/gr/plots/bar.rb,
lib/rubyplot/scripting_backends/gr/plots/line.rb,
lib/rubyplot/scripting_backends/gr/plots/scatter.rb,
lib/rubyplot/scripting_backends/gr/plots/candlestick.rb,
lib/rubyplot/scripting_backends/gr/plots/stacked_bar.rb,
lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb
-
-
- -
- -

Defined Under Namespace

-

- - - Modules: BasePlots - - - - Classes: Bar, Candlestick, Line, Scatter, StackedBar, StackedBarZ - - -

- - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/Bar.html b/doc/Rubyplot/Scripting/Plots/Bar.html deleted file mode 100644 index 68b5569..0000000 --- a/doc/Rubyplot/Scripting/Plots/Bar.html +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::Bar - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::Bar - - - -

-
- -
-
Inherits:
-
- Rubyplot::Scripting::Plots::BasePlots::LazyBase - - - show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots/bar.rb
-
- -
- - - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - - - -

Instance Attribute Summary

- -

Attributes inherited from Rubyplot::Scripting::Plots::BasePlots::LazyBase

-

#plot_type

- - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initialize(data, bar_color: :default, bar_width: :default, bar_gap: :default, bar_edge: :default, bar_edge_color: :default, bar_edge_width: :default) ⇒ Bar - - - - - -

-
- -

Returns a new instance of Bar

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/bar.rb', line 5
-
-def initialize(data, bar_color: :default, bar_width: :default,
-               bar_gap: :default, bar_edge: :default,
-               bar_edge_color: :default, bar_edge_width: :default)
-  super()
-  @bar_color = bar_color
-  @bar_gap = bar_gap
-  @bar_width = bar_width
-  @bar_edge = bar_edge
-  @bar_edge_color = bar_edge_color
-  @bar_edge_width = bar_edge_width
-
-  @bar_color = COLOR_INDEX[:blue] if @bar_color == :default
-  @bar_color = COLOR_INDEX[bar_color] if @bar_color.is_a? Symbol
-  @bar_gap = 0 if @bar_gap == :default
-  @bar_width = 1 if @bar_width == :default
-  @bar_edge_width = 0.053 if @bar_edge_width == :default
-  @bar_edge = true if @bar_edge == :default
-  @bar_edge_color = COLOR_INDEX[:black] if @bar_edge_color == :default
-  @bar_edge_color = COLOR_INDEX[bar_edge_color] if @bar_edge_color.is_a? Symbol
-  @data = data
-  # All this will be repurposed
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #call(state) ⇒ Object - - - - - -

- - - - -
-
-
-
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/bar.rb', line 28
-
-def call(state)
-  # for Lazy plots the state has been passed  in the plotspace call
-  # every lazy plot will have a call function rather than inherting it
-  # tasks wont be pushed, rather they will be instantiated and called directly
-  (0..@data.size - 1).to_a.each do |i|
-    if @bar_edge
-      SetFillColorIndex.new(inqcolorfromrgb(@bar_edge_color)).call
-      SetFillInteriorStyle.new(GR_FILL_INTERIOR_STYLES[:solid]).call
-      FillRectangle.new(i * (@bar_width + @bar_gap) - @bar_edge_width,
-                        i * (@bar_width + @bar_gap) + @bar_width + @bar_edge_width,
-                        state.origin[1], @data[i] + 2 * @bar_edge_width).call
-    end
-
-    SetFillColorIndex.new(inqcolorfromrgb(@bar_color)).call
-    SetFillInteriorStyle.new(GR_FILL_INTERIOR_STYLES[:solid]).call
-    FillRectangle.new(i * (@bar_width + @bar_gap),
-                      i * (@bar_width + @bar_gap) + @bar_width,
-                      state.origin[1], @data[i]).call
-  end
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/BasePlots.html b/doc/Rubyplot/Scripting/Plots/BasePlots.html deleted file mode 100644 index c6724ea..0000000 --- a/doc/Rubyplot/Scripting/Plots/BasePlots.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - - Module: Rubyplot::Scripting::Plots::BasePlots - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Module: Rubyplot::Scripting::Plots::BasePlots - - - -

-
- - - - - - - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots.rb
-
- -
- -

Overview

-
- -

All plots are derived from a BasePlot. Currently there are two types of -plots Robust Plots that derive from RobustBase and Lazy Plots that derive -from LazyBase.

- - -
-
-
- - -

Defined Under Namespace

-

- - - - - Classes: LazyBase, RobustBase - - -

- - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/BasePlots/LazyBase.html b/doc/Rubyplot/Scripting/Plots/BasePlots/LazyBase.html deleted file mode 100644 index 5488b02..0000000 --- a/doc/Rubyplot/Scripting/Plots/BasePlots/LazyBase.html +++ /dev/null @@ -1,345 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::BasePlots::LazyBase - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::BasePlots::LazyBase - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - -
-
Includes:
-
Color, GRWrapper::Tasks
-
- - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots.rb
-
- -
- -

Overview

-
- -

Base class for Lazy plots.

- -

Lazy plots are the plots which are dependent on the state of Figure

- -

For example: A bar graphs base would depend on the location of axes which -is determined when the figure is viewed or saved.

- -

In Lazy plots the state of the Figure is passed when they are called from -PlotSpace Every lazy plot has a unique call function rather than inherting -it from LazyBase. In LazyPlots the instances of GR Function Classes are -called as soon as they are instantiated. This all is done in the call -function

- - -
-
-
- - -
-

Direct Known Subclasses

-

Rubyplot::Scripting::Plots::Bar, StackedBar, StackedBarZ

-
- - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - -

Instance Attribute Summary collapse

- - - - - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initializeLazyBase - - - - - -

-
- -

Returns a new instance of LazyBase

- - -
-
-
- - -
- - - - -
-
-
-
-52
-53
-54
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 52
-
-def initialize
-  @plot_type = :lazy
-end
-
-
- -
- -
-

Instance Attribute Details

- - - -
-

- - #plot_typeObject (readonly) - - - - - -

-
- -

Returns the value of attribute plot_type

- - -
-
-
- - -
- - - - -
-
-
-
-51
-52
-53
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 51
-
-def plot_type
-  @plot_type
-end
-
-
- -
- - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/BasePlots/RobustBase.html b/doc/Rubyplot/Scripting/Plots/BasePlots/RobustBase.html deleted file mode 100644 index dab3070..0000000 --- a/doc/Rubyplot/Scripting/Plots/BasePlots/RobustBase.html +++ /dev/null @@ -1,406 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::BasePlots::RobustBase - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::BasePlots::RobustBase - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - -
-
Includes:
-
Color, GRWrapper::Tasks
-
- - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots.rb
-
- -
- -

Overview

-
- -

Base class for Robust Plots.

- -

Robust plots are the plots which are independent of the state of the -Figure.

- -

For example: A scatter plot is independent of the location of axes. Plots -which are Sub classes of RobustBase append the instances of GR function -classes to tasks when initialised. These instances are called via the call -method defined in RobustBase.

- - -
-
-
- - -
-

Direct Known Subclasses

-

Candlestick, Line, Scatter

-
- - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - -

Instance Attribute Summary collapse

- - - - - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initializeRobustBase - - - - - -

-
- -

Returns a new instance of RobustBase

- - -
-
-
- - -
- - - - -
-
-
-
-22
-23
-24
-25
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 22
-
-def initialize
-  @tasks = []
-  @plot_type = :robust
-end
-
-
- -
- -
-

Instance Attribute Details

- - - -
-

- - #plot_typeObject (readonly) - - - - - -

-
- -

Returns the value of attribute plot_type

- - -
-
-
- - -
- - - - -
-
-
-
-21
-22
-23
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 21
-
-def plot_type
-  @plot_type
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-27
-28
-29
-30
-31
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 27
-
-def call
-  @tasks.each do |task|
-    task.call()
-  end
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/Candlestick.html b/doc/Rubyplot/Scripting/Plots/Candlestick.html deleted file mode 100644 index 6345677..0000000 --- a/doc/Rubyplot/Scripting/Plots/Candlestick.html +++ /dev/null @@ -1,308 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::Candlestick - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::Candlestick - - - -

-
- -
-
Inherits:
-
- BasePlots::RobustBase - - - show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots/candlestick.rb
-
- -
- - - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - - - -

Instance Attribute Summary

- -

Attributes inherited from BasePlots::RobustBase

-

#plot_type

- - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - -

Methods inherited from BasePlots::RobustBase

-

#call

- - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initialize(open_, high, low, close_, bar_gap, bar_width, up_color: :default, down_color: :default, up_line_color: :default, down_line_color: :default) ⇒ Candlestick - - - - - -

-
- -

To do declare constants for marker types and colours Allow list of types -and colours to be passed

- - -
-
-
- - -
- - - - -
-
-
-
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/candlestick.rb', line 7
-
-def initialize(open_, high, low, close_, bar_gap, bar_width,
-               up_color: :default, down_color: :default,
-               up_line_color: :default, down_line_color: :default)
-  super()
-  up_color = COLOR_INDEX[:green] if up_color == :default
-  up_color = COLOR_INDEX[up_color] if up_color.is_a? Symbol
-  down_color = COLOR_INDEX[:red] if down_color == :default
-  down_color = COLOR_INDEX[down_color] if down_color.is_a? Symbol
-  up_line_color = COLOR_INDEX[:black] if up_line_color == :default
-  up_line_color = COLOR_INDEX[up_line_color] if up_line_color.is_a? Symbol
-  down_line_color = COLOR_INDEX[:black] if down_line_color == :default
-  down_line_color = COLOR_INDEX[down_line_color] if down_line_color.is_a? Symbol
-  (0..open_.size - 1).to_a.each do |i|
-    if close_[i] > open_[i]
-      bar_color = up_color
-      line_color = up_line_color
-    else
-      bar_color = down_color
-      line_color = down_line_color
-    end
-    x_coord = i * (bar_width + bar_gap) + bar_width.to_f/2
-    @tasks.push(SetLineColorIndex.new(inqcolorfromrgb(line_color)))
-    @tasks.push(Polyline.new([x_coord] * 2, [low[i], high[i]]))
-    @tasks.push(SetFillColorIndex.new(inqcolorfromrgb(bar_color)))
-    @tasks.push(SetFillInteriorStyle.new(GR_FILL_INTERIOR_STYLES[:solid]))
-    @tasks.push(FillRectangle.new(i * (bar_width + bar_gap),
-                 i * (bar_width + bar_gap) + bar_width,
-                 open_[i], close_[i]))
-
-  end
-end
-
-
- -
- - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/LazyBase.html b/doc/Rubyplot/Scripting/Plots/LazyBase.html deleted file mode 100644 index 54a6c59..0000000 --- a/doc/Rubyplot/Scripting/Plots/LazyBase.html +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::LazyBase - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::LazyBase - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - -
-
Includes:
-
GRWrapper::Tasks
-
- - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots.rb
-
- -
- -
-

Direct Known Subclasses

-

Bar, StackedBar, StackedBarZ

-
- - - -

Constant Summary

- -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::COLOR_INDEX, GRWrapper::Tasks::CONTRASTING_COLORS, GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - -

Instance Attribute Summary collapse

- - - - - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initializeLazyBase - - - - - -

-
- -

Returns a new instance of LazyBase

- - -
-
-
- - -
- - - - -
-
-
-
-27
-28
-29
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 27
-
-def initialize
-  @plot_type = :lazy
-end
-
-
- -
- -
-

Instance Attribute Details

- - - -
-

- - #plot_typeObject (readonly) - - - - - -

-
- -

Returns the value of attribute plot_type

- - -
-
-
- - -
- - - - -
-
-
-
-26
-27
-28
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 26
-
-def plot_type
-  @plot_type
-end
-
-
- -
- - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/Line.html b/doc/Rubyplot/Scripting/Plots/Line.html deleted file mode 100644 index 8611c13..0000000 --- a/doc/Rubyplot/Scripting/Plots/Line.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::Line - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::Line - - - -

-
- -
-
Inherits:
-
- BasePlots::RobustBase - - - show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots/line.rb
-
- -
- - - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - - - -

Instance Attribute Summary

- -

Attributes inherited from BasePlots::RobustBase

-

#plot_type

- - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - -

Methods inherited from BasePlots::RobustBase

-

#call

- - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initialize(x_coordinates, y_coordinates, line_width: :default, line_color: :default, line_type: :default, marker_size: :default, marker_color: :default, marker_type: :default) ⇒ Line - - - - - -

-
- -

To do declare constants for marker types and colours Allow list of types -and colours to be passed

- - -
-
-
- - -
- - - - -
-
-
-
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/line.rb', line 7
-
-def initialize(x_coordinates, y_coordinates, line_width: :default,
-               line_color: :default, line_type: :default,
-               marker_size: :default, marker_color: :default,
-               marker_type: :default)
-  super()
-  if marker_size != :default
-    marker_color = COLOR_INDEX[:black] if marker_color == :default
-    marker_color = COLOR_INDEX[marker_color] if marker_color.is_a? Symbol
-    marker_type = :solid_circle if marker_type == :default
-    @tasks.push(SetMarkerColorIndex.new(inqcolorfromrgb(marker_color)))
-    @tasks.push(SetMarkerSize.new(marker_size))
-    @tasks.push(SetMarkerType.new(GR_MARKER_SHAPES[marker_type]))
-    @tasks.push(Polymarker.new(x_coordinates, y_coordinates))
-  end
-  line_color = COLOR_INDEX[:green] if line_color == :default
-  line_color = COLOR_INDEX[line_color] if line_color.is_a? Symbol
-  line_width = 1 if line_width == :default
-  line_type = :solid if line_type == :default
-  @tasks.push(SetLineColorIndex.new(inqcolorfromrgb(line_color)))
-  @tasks.push(SetLineWidth.new(line_width))
-  @tasks.push(SetLineType.new(GR_LINE_TYPES[line_type]))
-  @tasks.push(Polyline.new(x_coordinates, y_coordinates))
-end
-
-
- -
- - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/RobustBase.html b/doc/Rubyplot/Scripting/Plots/RobustBase.html deleted file mode 100644 index 82435f0..0000000 --- a/doc/Rubyplot/Scripting/Plots/RobustBase.html +++ /dev/null @@ -1,389 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::RobustBase - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::RobustBase - - - -

-
- -
-
Inherits:
-
- Object - -
    -
  • Object
  • - - - -
- show all - -
-
- - - - - - -
-
Includes:
-
GRWrapper::Tasks
-
- - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots.rb
-
- -
- -

Overview

-
- -

Base class for Robust Plots. Robust plots are the plots which are -independent of the state of the Figure. For example a scateer plot will be -independent of the location of axes. Daughter plots of RobustBase add the -functions to the tasklist when initialised

- - -
-
-
- - -
-

Direct Known Subclasses

-

Candlestick, Line, Scatter

-
- - - -

Constant Summary

- -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::COLOR_INDEX, GRWrapper::Tasks::CONTRASTING_COLORS, GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - -

Instance Attribute Summary collapse

- - - - - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initializeRobustBase - - - - - -

-
- -

Returns a new instance of RobustBase

- - -
-
-
- - -
- - - - -
-
-
-
-13
-14
-15
-16
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 13
-
-def initialize
-  @tasks = []
-  @plot_type = :robust
-end
-
-
- -
- -
-

Instance Attribute Details

- - - -
-

- - #plot_typeObject (readonly) - - - - - -

-
- -

Returns the value of attribute plot_type

- - -
-
-
- - -
- - - - -
-
-
-
-12
-13
-14
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 12
-
-def plot_type
-  @plot_type
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #callObject - - - - - -

- - - - -
-
-
-
-18
-19
-20
-21
-22
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots.rb', line 18
-
-def call
-  @tasks.each do |task|
-    task.call()
-  end
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/Scatter.html b/doc/Rubyplot/Scripting/Plots/Scatter.html deleted file mode 100644 index bc4ede1..0000000 --- a/doc/Rubyplot/Scripting/Plots/Scatter.html +++ /dev/null @@ -1,270 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::Scatter - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::Scatter - - - -

-
- -
-
Inherits:
-
- BasePlots::RobustBase - - - show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots/scatter.rb
-
- -
- - - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - - - -

Instance Attribute Summary

- -

Attributes inherited from BasePlots::RobustBase

-

#plot_type

- - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - -

Methods inherited from BasePlots::RobustBase

-

#call

- - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initialize(x_coordinates, y_coordinates, marker_size: :default, marker_color: :default, marker_type: :default) ⇒ Scatter - - - - - -

-
- -

To do declare constants for marker types and colours Allow list of types -and colours to be passed

- - -
-
-
- - -
- - - - -
-
-
-
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/scatter.rb', line 7
-
-def initialize(x_coordinates, y_coordinates, marker_size: :default,
-               marker_color: :default, marker_type: :default)
-  super()
-  marker_color = COLOR_INDEX[:black] if marker_color == :default
-  marker_color = COLOR_INDEX[marker_color] if marker_color.is_a? Symbol
-  marker_size = 1 if marker_size == :default
-  marker_type = :solid_circle if marker_type == :default
-  @tasks.push(SetMarkerColorIndex.new(inqcolorfromrgb(marker_color)))
-  @tasks.push(SetMarkerSize.new(marker_size))
-  @tasks.push(SetMarkerType.new(GR_MARKER_SHAPES[marker_type]))
-  @tasks.push(Polymarker.new(x_coordinates, y_coordinates))
-end
-
-
- -
- - -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/StackedBar.html b/doc/Rubyplot/Scripting/Plots/StackedBar.html deleted file mode 100644 index 3ca8c96..0000000 --- a/doc/Rubyplot/Scripting/Plots/StackedBar.html +++ /dev/null @@ -1,389 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::StackedBar - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::StackedBar - - - -

-
- -
-
Inherits:
-
- BasePlots::LazyBase - - - show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots/stacked_bar.rb
-
- -
- - - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - - - -

Instance Attribute Summary

- -

Attributes inherited from BasePlots::LazyBase

-

#plot_type

- - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initialize(data, bar_colors: :default, bar_width: :default, bar_gap: :default, bar_edge: :default, bar_edge_color: :default, bar_edge_width: :default) ⇒ StackedBar - - - - - -

-
- -

Returns a new instance of StackedBar

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/stacked_bar.rb', line 5
-
-def initialize(data, bar_colors: :default, bar_width: :default,
-               bar_gap: :default, bar_edge: :default,
-               bar_edge_color: :default, bar_edge_width: :default)
-               ## To Do add default Bar edge colors
-  super()
-  @bar_colors = bar_colors
-  @bar_gap = bar_gap
-  @bar_width = bar_width
-  @bar_edge = bar_edge
-  @bar_edge_color = bar_edge_color
-  @bar_edge_width = bar_edge_width
-
-  @bar_gap = 0 if @bar_gap == :default
-  @bar_width = 1 if @bar_width == :default
-  @bar_edge_width = 0.053 if @bar_edge_width == :default
-  @bar_edge = true if @bar_edge == :default
-  @bar_edge = true if @bar_edge == :default
-  @bar_colors = CONTRASTING_COLORS if @bar_colors == :default
-  @bar_edge_color = COLOR_INDEX[:black] if @bar_edge_color == :default
-  @bar_edge_color = COLOR_INDEX[marker_color] if @bar_edge_color.is_a? Symbol
-  @data = data
-  # All this will be repurposed
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #call(state) ⇒ Object - - - - - -

- - - - -
-
-
-
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-54
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/stacked_bar.rb', line 29
-
-def call(state)
-  # for Lazy plots the state has been passed  in the plotspace call
-  # every lazy plot will have a call function rather than inherting it
-  # tasks wont be pushed, rather they will be instantiated and called directly
-  (0..@data[0].size - 1).to_a.each do |i|
-    base = state.origin[1]
-    bars = @data.map{|row| row[i]}
-    (0..bars.size-1).to_a.each do |j|
-      if @bar_edge
-        SetFillColorIndex.new(inqcolorfromrgb(@bar_edge_color)).call
-        SetFillInteriorStyle.new(GR_FILL_INTERIOR_STYLES[:solid]).call
-        FillRectangle.new(i * (@bar_width + @bar_gap) - @bar_edge_width,
-                          i * (@bar_width + @bar_gap) + @bar_width + @bar_edge_width,
-                          base, base + bars[j] + 2 * @bar_edge_width).call
-      end
-      bar_color = @bar_colors[j]
-      bar_color = COLOR_INDEX[bar_color] if bar_color.is_a? Symbol
-      SetFillColorIndex.new(inqcolorfromrgb(bar_color)).call
-      SetFillInteriorStyle.new(GR_FILL_INTERIOR_STYLES[:solid]).call
-      FillRectangle.new(i * (@bar_width + @bar_gap),
-                        i * (@bar_width + @bar_gap) + @bar_width,
-                        base, base + bars[j]).call
-      base += bars[j]
-    end
-  end
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/Rubyplot/Scripting/Plots/StackedBarZ.html b/doc/Rubyplot/Scripting/Plots/StackedBarZ.html deleted file mode 100644 index 71cff71..0000000 --- a/doc/Rubyplot/Scripting/Plots/StackedBarZ.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - - - Class: Rubyplot::Scripting::Plots::StackedBarZ - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Class: Rubyplot::Scripting::Plots::StackedBarZ - - - -

-
- -
-
Inherits:
-
- BasePlots::LazyBase - - - show all - -
-
- - - - - - - - - - - -
-
Defined in:
-
lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb
-
- -
- - - - -

Constant Summary

- -

Constants included - from Color

-

Color::COLOR_INDEX, Color::CONTRASTING_COLORS

- - - -

Constants included - from GRWrapper::Tasks

-

GRWrapper::Tasks::GR_FILL_INTERIOR_STYLES, GRWrapper::Tasks::GR_FONTS, GRWrapper::Tasks::GR_FONT_PRECISION, GRWrapper::Tasks::GR_LINE_TYPES, GRWrapper::Tasks::GR_MARKER_SHAPES

- - - - -

Instance Attribute Summary

- -

Attributes inherited from BasePlots::LazyBase

-

#plot_type

- - - -

- Instance Method Summary - collapse -

- - - - - - - - - - - - - - - - - - - - - - - - - -

Methods included from GRWrapper::Tasks

-

#inqcolorfromrgb

-
-

Constructor Details

- -
-

- - #initialize(data, bar_colors: :default, bar_width: :default, bar_gap: :default, bar_edge: :default, bar_edge_color: :default, bar_edge_width: :default) ⇒ StackedBarZ - - - - - -

-
- -

Returns a new instance of StackedBarZ

- - -
-
-
- - -
- - - - -
-
-
-
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb', line 5
-
-def initialize(data, bar_colors: :default, bar_width: :default,
-               bar_gap: :default, bar_edge: :default,
-               bar_edge_color: :default, bar_edge_width: :default)
-               ## To Do add default Bar edge colors
-  super()
-  @bar_colors = bar_colors
-  @bar_gap = bar_gap
-  @bar_width = bar_width
-  @bar_edge = bar_edge
-  @bar_edge_color = bar_edge_color
-  @bar_edge_width = bar_edge_width
-
-  @bar_gap = 0 if @bar_gap == :default
-  @bar_width = 1 if @bar_width == :default
-  @bar_edge_width = 0.053 if @bar_edge_width == :default
-  @bar_edge = true if @bar_edge == :default
-  @bar_colors = CONTRASTING_COLORS if @bar_colors == :default
-  @bar_edge_color = COLOR_INDEX[:black] if @bar_edge_color == :default
-  @bar_edge_color = COLOR_INDEX[marker_color] if @bar_edge_color.is_a? Symbol
-  @data = data
-  # All this will be repurposed
-end
-
-
- -
- - -
-

Instance Method Details

- - -
-

- - #call(state) ⇒ Object - - - - - -

- - - - -
-
-
-
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-50
-51
-52
-53
-
-
# File 'lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb', line 28
-
-def call(state)
-  # for Lazy plots the state has been passed  in the plotspace call
-  # every lazy plot will have a call function rather than inherting it
-  # tasks wont be pushed, rather they will be instantiated and called directly
-  (0..@data[0].size - 1).to_a.each do |i|
-    bar_heights = @data.map{|row| row[i]}
-    order = bar_heights.map.with_index.sort.map(&:last).reverse
-    bar_heights = bar_heights.sort.reverse
-    (0..bar_heights.size-1).to_a.each do |j|
-      if @bar_edge
-        SetFillColorIndex.new(inqcolorfromrgb(@bar_edge_color)).call
-        SetFillInteriorStyle.new(GR_FILL_INTERIOR_STYLES[:solid]).call
-        FillRectangle.new(i * (@bar_width + @bar_gap) - @bar_edge_width,
-                     i * (@bar_width + @bar_gap) + @bar_width + @bar_edge_width,
-                     state.origin[1], bar_heights[j] + 2 * @bar_edge_width).call
-      end
-      bar_color = @bar_colors[order[j]]
-      bar_color = COLOR_INDEX[bar_color] if bar_color.is_a? Symbol
-      SetFillColorIndex.new(inqcolorfromrgb(bar_color)).call
-      SetFillInteriorStyle.new(GR_FILL_INTERIOR_STYLES[:solid]).call
-      FillRectangle.new(i * (@bar_width + @bar_gap),
-                   i * (@bar_width + @bar_gap) + @bar_width,
-                   state.origin[1], bar_heights[j]).call
-    end
-  end
-end
-
-
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/_index.html b/doc/_index.html deleted file mode 100644 index 3acbc3f..0000000 --- a/doc/_index.html +++ /dev/null @@ -1,510 +0,0 @@ - - - - - - - Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Documentation by YARD 0.9.15

-
-

Alphabetic Index

- -

File Listing

- - -
-

Namespace Listing A-Z

- - - - - - - - -
- - -
    -
  • A
  • -
      - -
    • - Axes - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    • - AxesTitles - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    -
- - -
    -
  • B
  • -
      - -
    • - Bar - - (Rubyplot::Scripting::Plots) - -
    • - -
    • - BasePlots - - (Rubyplot::Scripting::Plots) - -
    • - -
    • - BeginPrint - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    -
- - -
    -
  • C
  • - -
- - -
    -
  • D
  • -
      - -
    • - DrawArc - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    -
- - -
    -
  • E
  • -
      - -
    • - EndPrint - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    -
- - -
    -
  • F
  • -
      - -
    • - Figure - - (Rubyplot) - -
    • - -
    • - FillArc - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    • - FillRectangle - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    -
- - -
    -
  • G
  • -
      - -
    • - GR - -
    • - -
    • - GR3 - -
    • - -
    • - GRWrapper - - (Rubyplot) - -
    • - -
    • - Grid - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    -
- - -
- - -
    -
  • L
  • -
      - -
    • - LazyBase - - (Rubyplot::Scripting::Plots::BasePlots) - -
    • - -
    • - Line - - (Rubyplot::Scripting::Plots) - -
    • - -
    -
- - -
    -
  • P
  • -
      - -
    • - Plots - - (Rubyplot::Scripting) - -
    • - -
    • - Plotspace - - (Rubyplot) - -
    • - -
    • - Polyline - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    • - Polymarker - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    -
- - -
    -
  • R
  • - -
- - - - - -
    -
  • T
  • -
      - -
    • - Tasks - - (Rubyplot::GRWrapper) - -
    • - -
    • - Text - - (Rubyplot::GRWrapper::Tasks) - -
    • - -
    -
- - - - -
- -
- -
- - - -
- - \ No newline at end of file diff --git a/doc/class_list.html b/doc/class_list.html deleted file mode 100644 index ea84ea9..0000000 --- a/doc/class_list.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - Class List - - - -
-
-

Class List

- - - -
- - -
- - diff --git a/doc/css/common.css b/doc/css/common.css deleted file mode 100644 index cf25c45..0000000 --- a/doc/css/common.css +++ /dev/null @@ -1 +0,0 @@ -/* Override this file with custom rules */ \ No newline at end of file diff --git a/doc/css/full_list.css b/doc/css/full_list.css deleted file mode 100644 index fa35982..0000000 --- a/doc/css/full_list.css +++ /dev/null @@ -1,58 +0,0 @@ -body { - margin: 0; - font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; - font-size: 13px; - height: 101%; - overflow-x: hidden; - background: #fafafa; -} - -h1 { padding: 12px 10px; padding-bottom: 0; margin: 0; font-size: 1.4em; } -.clear { clear: both; } -.fixed_header { position: fixed; background: #fff; width: 100%; padding-bottom: 10px; margin-top: 0; top: 0; z-index: 9999; height: 70px; } -#search { position: absolute; right: 5px; top: 9px; padding-left: 24px; } -#content.insearch #search, #content.insearch #noresults { background: url(data:image/gif;base64,R0lGODlhEAAQAPYAAP///wAAAPr6+pKSkoiIiO7u7sjIyNjY2J6engAAAI6OjsbGxjIyMlJSUuzs7KamppSUlPLy8oKCghwcHLKysqSkpJqamvT09Pj4+KioqM7OzkRERAwMDGBgYN7e3ujo6Ly8vCoqKjY2NkZGRtTU1MTExDw8PE5OTj4+PkhISNDQ0MrKylpaWrS0tOrq6nBwcKysrLi4uLq6ul5eXlxcXGJiYoaGhuDg4H5+fvz8/KKiohgYGCwsLFZWVgQEBFBQUMzMzDg4OFhYWBoaGvDw8NbW1pycnOLi4ubm5kBAQKqqqiQkJCAgIK6urnJyckpKSjQ0NGpqatLS0sDAwCYmJnx8fEJCQlRUVAoKCggICLCwsOTk5ExMTPb29ra2tmZmZmhoaNzc3KCgoBISEiIiIgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJCAAAACwAAAAAEAAQAAAHaIAAgoMgIiYlg4kACxIaACEJCSiKggYMCRselwkpghGJBJEcFgsjJyoAGBmfggcNEx0flBiKDhQFlIoCCA+5lAORFb4AJIihCRbDxQAFChAXw9HSqb60iREZ1omqrIPdJCTe0SWI09GBACH5BAkIAAAALAAAAAAQABAAAAdrgACCgwc0NTeDiYozCQkvOTo9GTmDKy8aFy+NOBA7CTswgywJDTIuEjYFIY0JNYMtKTEFiRU8Pjwygy4ws4owPyCKwsMAJSTEgiQlgsbIAMrO0dKDGMTViREZ14kYGRGK38nHguHEJcvTyIEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDAggPg4iJAAMJCRUAJRIqiRGCBI0WQEEJJkWDERkYAAUKEBc4Po1GiKKJHkJDNEeKig4URLS0ICImJZAkuQAhjSi/wQyNKcGDCyMnk8u5rYrTgqDVghgZlYjcACTA1sslvtHRgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCQARAtOUoQRGRiFD0kJUYWZhUhKT1OLhR8wBaaFBzQ1NwAlkIszCQkvsbOHL7Y4q4IuEjaqq0ZQD5+GEEsJTDCMmIUhtgk1lo6QFUwJVDKLiYJNUd6/hoEAIfkECQgAAAAsAAAAABAAEAAAB2iAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4uen4ICCA+IkIsDCQkVACWmhwSpFqAABQoQF6ALTkWFnYMrVlhWvIKTlSAiJiVVPqlGhJkhqShHV1lCW4cMqSkAR1ofiwsjJyqGgQAh+QQJCAAAACwAAAAAEAAQAAAHZ4AAgoOEhYaCJSWHgxGDJCSMhREZGIYYGY2ElYebi56fhyWQniSKAKKfpaCLFlAPhl0gXYNGEwkhGYREUywag1wJwSkHNDU3D0kJYIMZQwk8MjPBLx9eXwuETVEyAC/BOKsuEjYFhoEAIfkECQgAAAAsAAAAABAAEAAAB2eAAIKDhIWGgiUlh4MRgyQkjIURGRiGGBmNhJWHm4ueICImip6CIQkJKJ4kigynKaqKCyMnKqSEK05StgAGQRxPYZaENqccFgIID4KXmQBhXFkzDgOnFYLNgltaSAAEpxa7BQoQF4aBACH5BAkIAAAALAAAAAAQABAAAAdogACCg4SFggJiPUqCJSWGgkZjCUwZACQkgxGEXAmdT4UYGZqCGWQ+IjKGGIUwPzGPhAc0NTewhDOdL7Ykji+dOLuOLhI2BbaFETICx4MlQitdqoUsCQ2vhKGjglNfU0SWmILaj43M5oEAOwAAAAAAAAAAAA==) no-repeat center left; } -#full_list { padding: 0; list-style: none; margin-left: 0; margin-top: 80px; font-size: 1.1em; } -#full_list ul { padding: 0; } -#full_list li { padding: 0; margin: 0; list-style: none; } -#full_list li .item { padding: 5px 5px 5px 12px; } -#noresults { padding: 7px 12px; background: #fff; } -#content.insearch #noresults { margin-left: 7px; } -li.collapsed ul { display: none; } -li a.toggle { cursor: default; position: relative; left: -5px; top: 4px; text-indent: -999px; width: 10px; height: 9px; margin-left: -10px; display: block; float: left; background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAASCAYAAABb0P4QAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAK8AAACvABQqw0mAAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTM5jWRgMAAAAVdEVYdENyZWF0aW9uIFRpbWUAMy8xNC8wOeNZPpQAAAE2SURBVDiNrZTBccIwEEXfelIAHUA6CZ24BGaWO+FuzZAK4k6gg5QAdGAq+Bxs2Yqx7BzyL7Llp/VfzZeQhCTc/ezuGzKKnKSzpCxXJM8fwNXda3df5RZETlIt6YUzSQDs93sl8w3wBZxCCE10GM1OcWbWjB2mWgEH4Mfdyxm3PSepBHibgQE2wLe7r4HjEidpnXMYdQPKEMJcsZ4zs2POYQOcaPfwMVOo58zsAdMt18BuoVDPxUJRacELbXv3hUIX2vYmOUvi8C8ydz/ThjXrqKqqLbDIAdsCKBd+Wo7GWa7o9qzOQHVVVXeAbs+yHHCH4aTsaCOQqunmUy1yBUAXkdMIfMlgF5EXLo2OpV/c/Up7jG4hhHcYLgWzAZXUc2b2ixsfvc/RmNNfOXD3Q/oeL9axJE1yT9IOoUu6MGUkAAAAAElFTkSuQmCC) no-repeat bottom left; } -li.collapsed a.toggle { opacity: 0.5; cursor: default; background-position: top left; } -li { color: #888; cursor: pointer; } -li.deprecated { text-decoration: line-through; font-style: italic; } -li.odd { background: #f0f0f0; } -li.even { background: #fafafa; } -.item:hover { background: #ddd; } -li small:before { content: "("; } -li small:after { content: ")"; } -li small.search_info { display: none; } -a, a:visited { text-decoration: none; color: #05a; } -li.clicked > .item { background: #05a; color: #ccc; } -li.clicked > .item a, li.clicked > .item a:visited { color: #eee; } -li.clicked > .item a.toggle { opacity: 0.5; background-position: bottom right; } -li.collapsed.clicked a.toggle { background-position: top right; } -#search input { border: 1px solid #bbb; border-radius: 3px; } -#full_list_nav { margin-left: 10px; font-size: 0.9em; display: block; color: #aaa; } -#full_list_nav a, #nav a:visited { color: #358; } -#full_list_nav a:hover { background: transparent; color: #5af; } -#full_list_nav span:after { content: ' | '; } -#full_list_nav span:last-child:after { content: ''; } - -#content h1 { margin-top: 0; } -li { white-space: nowrap; cursor: normal; } -li small { display: block; font-size: 0.8em; } -li small:before { content: ""; } -li small:after { content: ""; } -li small.search_info { display: none; } -#search { width: 170px; position: static; margin: 3px; margin-left: 10px; font-size: 0.9em; color: #888; padding-left: 0; padding-right: 24px; } -#content.insearch #search { background-position: center right; } -#search input { width: 110px; } - -#full_list.insearch ul { display: block; } -#full_list.insearch .item { display: none; } -#full_list.insearch .found { display: block; padding-left: 11px !important; } -#full_list.insearch li a.toggle { display: none; } -#full_list.insearch li small.search_info { display: block; } diff --git a/doc/css/style.css b/doc/css/style.css deleted file mode 100644 index 0bf7e2c..0000000 --- a/doc/css/style.css +++ /dev/null @@ -1,496 +0,0 @@ -html { - width: 100%; - height: 100%; -} -body { - font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif; - font-size: 13px; - width: 100%; - margin: 0; - padding: 0; - display: flex; - display: -webkit-flex; - display: -ms-flexbox; -} - -#nav { - position: relative; - width: 100%; - height: 100%; - border: 0; - border-right: 1px dotted #eee; - overflow: auto; -} -.nav_wrap { - margin: 0; - padding: 0; - width: 20%; - height: 100%; - position: relative; - display: flex; - display: -webkit-flex; - display: -ms-flexbox; - flex-shrink: 0; - -webkit-flex-shrink: 0; - -ms-flex: 1 0; -} -#resizer { - position: absolute; - right: -5px; - top: 0; - width: 10px; - height: 100%; - cursor: col-resize; - z-index: 9999; -} -#main { - flex: 5 1; - -webkit-flex: 5 1; - -ms-flex: 5 1; - outline: none; - position: relative; - background: #fff; - padding: 1.2em; - padding-top: 0.2em; -} - -@media (max-width: 920px) { - .nav_wrap { width: 100%; top: 0; right: 0; overflow: visible; position: absolute; } - #resizer { display: none; } - #nav { - z-index: 9999; - background: #fff; - display: none; - position: absolute; - top: 40px; - right: 12px; - width: 500px; - max-width: 80%; - height: 80%; - overflow-y: scroll; - border: 1px solid #999; - border-collapse: collapse; - box-shadow: -7px 5px 25px #aaa; - border-radius: 2px; - } -} - -@media (min-width: 920px) { - body { height: 100%; overflow: hidden; } - #main { height: 100%; overflow: auto; } - #search { display: none; } -} - -#main img { max-width: 100%; } -h1 { font-size: 25px; margin: 1em 0 0.5em; padding-top: 4px; border-top: 1px dotted #d5d5d5; } -h1.noborder { border-top: 0px; margin-top: 0; padding-top: 4px; } -h1.title { margin-bottom: 10px; } -h1.alphaindex { margin-top: 0; font-size: 22px; } -h2 { - padding: 0; - padding-bottom: 3px; - border-bottom: 1px #aaa solid; - font-size: 1.4em; - margin: 1.8em 0 0.5em; - position: relative; -} -h2 small { font-weight: normal; font-size: 0.7em; display: inline; position: absolute; right: 0; } -h2 small a { - display: block; - height: 20px; - border: 1px solid #aaa; - border-bottom: 0; - border-top-left-radius: 5px; - background: #f8f8f8; - position: relative; - padding: 2px 7px; -} -.clear { clear: both; } -.inline { display: inline; } -.inline p:first-child { display: inline; } -.docstring, .tags, #filecontents { font-size: 15px; line-height: 1.5145em; } -.docstring p > code, .docstring p > tt, .tags p > code, .tags p > tt { - color: #c7254e; background: #f9f2f4; padding: 2px 4px; font-size: 1em; - border-radius: 4px; -} -.docstring h1, .docstring h2, .docstring h3, .docstring h4 { padding: 0; border: 0; border-bottom: 1px dotted #bbb; } -.docstring h1 { font-size: 1.2em; } -.docstring h2 { font-size: 1.1em; } -.docstring h3, .docstring h4 { font-size: 1em; border-bottom: 0; padding-top: 10px; } -.summary_desc .object_link a, .docstring .object_link a { - font-family: monospace; font-size: 1.05em; - color: #05a; background: #EDF4FA; padding: 2px 4px; font-size: 1em; - border-radius: 4px; -} -.rdoc-term { padding-right: 25px; font-weight: bold; } -.rdoc-list p { margin: 0; padding: 0; margin-bottom: 4px; } -.summary_desc pre.code .object_link a, .docstring pre.code .object_link a { - padding: 0px; background: inherit; color: inherit; border-radius: inherit; -} - -/* style for */ -#filecontents table, .docstring table { border-collapse: collapse; } -#filecontents table th, #filecontents table td, -.docstring table th, .docstring table td { border: 1px solid #ccc; padding: 8px; padding-right: 17px; } -#filecontents table tr:nth-child(odd), -.docstring table tr:nth-child(odd) { background: #eee; } -#filecontents table tr:nth-child(even), -.docstring table tr:nth-child(even) { background: #fff; } -#filecontents table th, .docstring table th { background: #fff; } - -/* style for
a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
"+""+"
",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
t
",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/doc/method_list.html b/doc/method_list.html deleted file mode 100644 index d1a15a6..0000000 --- a/doc/method_list.html +++ /dev/null @@ -1,1811 +0,0 @@ - - - - - - - - - - - - - - - - - - Method List - - - -
-
-

Method List

- - - -
- - -
- - diff --git a/doc/top-level-namespace.html b/doc/top-level-namespace.html deleted file mode 100644 index acd7ae5..0000000 --- a/doc/top-level-namespace.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - Top Level Namespace - - — Documentation by YARD 0.9.15 - - - - - - - - - - - - - - - - - - - -
- - -

Top Level Namespace - - - -

-
- - - - - - - - - - - -
- -

Defined Under Namespace

-

- - - Modules: GR, GR3, Rubyplot - - - - -

- - - - - - - - - -
- - - -
- - \ No newline at end of file diff --git a/lib/grruby.rb b/lib/grruby.rb index bb7288c..abfe740 100644 --- a/lib/grruby.rb +++ b/lib/grruby.rb @@ -1,3 +1,972 @@ +module Rubyplot + module Color + CONTRASTING_COLORS = + [ + '#e6194b', + '#3cb44b', + '#ffe119', + '#0082c8', + '#f58231', + '#911eb4', + '#46f0f0', + '#f032e6', + '#d2f53c', + '#fabebe', + '#008080', + '#e6beff', + '#aa6e28', + '#fffac8', + '#800000', + '#aaffc3', + '#808000', + '#ffd8b1', + '#000080', + '#808080' + ].freeze + + COLOR_INDEX = { + cloudy_blue: '#acc2d9', + dark_pastel_green: '#56ae57', + dust: '#b2996e', + electric_lime: '#a8ff04', + fresh_green: '#69d84f', + light_eggplant: '#894585', + nasty_green: '#70b23f', + really_light_blue: '#d4ffff', + tea: '#65ab7c', + warm_purple: '#952e8f', + yellowish_tan: '#fcfc81', + cement: '#a5a391', + dark_grass_green: '#388004', + dusty_teal: '#4c9085', + grey_teal: '#5e9b8a', + macaroni_and_cheese: '#efb435', + pinkish_tan: '#d99b82', + spruce: '#0a5f38', + strong_blue: '#0c06f7', + toxic_green: '#61de2a', + windows_blue: '#3778bf', + blue_blue: '#2242c7', + blue_with_a_hint_of_purple: '#533cc6', + booger: '#9bb53c', + bright_sea_green: '#05ffa6', + dark_green_blue: '#1f6357', + deep_turquoise: '#017374', + green_teal: '#0cb577', + strong_pink: '#ff0789', + bland: '#afa88b', + deep_aqua: '#08787f', + lavender_pink: '#dd85d7', + light_moss_green: '#a6c875', + light_seafoam_green: '#a7ffb5', + olive_yellow: '#c2b709', + pig_pink: '#e78ea5', + deep_lilac: '#966ebd', + desert: '#ccad60', + dusty_lavender: '#ac86a8', + purpley_grey: '#947e94', + purply: '#983fb2', + candy_pink: '#ff63e9', + light_pastel_green: '#b2fba5', + boring_green: '#63b365', + kiwi_green: '#8ee53f', + light_grey_green: '#b7e1a1', + orange_pink: '#ff6f52', + tea_green: '#bdf8a3', + very_light_brown: '#d3b683', + egg_shell: '#fffcc4', + eggplant_purple: '#430541', + powder_pink: '#ffb2d0', + reddish_grey: '#997570', + baby_shit_brown: '#ad900d', + liliac: '#c48efd', + stormy_blue: '#507b9c', + ugly_brown: '#7d7103', + custard: '#fffd78', + darkish_pink: '#da467d', + deep_brown: '#410200', + greenish_beige: '#c9d179', + manilla: '#fffa86', + off_blue: '#5684ae', + battleship_grey: '#6b7c85', + browny_green: '#6f6c0a', + bruise: '#7e4071', + kelley_green: '#009337', + sickly_yellow: '#d0e429', + sunny_yellow: '#fff917', + azul: '#1d5dec', + darkgreen: '#054907', + lichen: '#8fb67b', + light_light_green: '#c8ffb0', + pale_gold: '#fdde6c', + sun_yellow: '#ffdf22', + tan_green: '#a9be70', + burple: '#6832e3', + butterscotch: '#fdb147', + toupe: '#c7ac7d', + dark_cream: '#fff39a', + indian_red: '#850e04', + light_lavendar: '#efc0fe', + poison_green: '#40fd14', + baby_puke_green: '#b6c406', + bright_yellow_green: '#9dff00', + charcoal_grey: '#3c4142', + squash: '#f2ab15', + cinnamon: '#ac4f06', + light_pea_green: '#c4fe82', + radioactive_green: '#2cfa1f', + raw_sienna: '#9a6200', + baby_purple: '#ca9bf7', + cocoa: '#875f42', + light_royal_blue: '#3a2efe', + orangeish: '#fd8d49', + rust_brown: '#8b3103', + sand_brown: '#cba560', + swamp: '#698339', + tealish_green: '#0cdc73', + burnt_siena: '#b75203', + camo: '#7f8f4e', + dusk_blue: '#26538d', + fern: '#63a950', + old_rose: '#c87f89', + pale_light_green: '#b1fc99', + peachy_pink: '#ff9a8a', + rosy_pink: '#f6688e', + light_bluish_green: '#76fda8', + light_bright_green: '#53fe5c', + light_neon_green: '#4efd54', + light_seafoam: '#a0febf', + tiffany_blue: '#7bf2da', + washed_out_green: '#bcf5a6', + browny_orange: '#ca6b02', + nice_blue: '#107ab0', + sapphire: '#2138ab', + greyish_teal: '#719f91', + orangey_yellow: '#fdb915', + parchment: '#fefcaf', + straw: '#fcf679', + very_dark_brown: '#1d0200', + terracota: '#cb6843', + ugly_blue: '#31668a', + clear_blue: '#247afd', + creme: '#ffffb6', + foam_green: '#90fda9', + light_gold: '#fddc5c', + seafoam_blue: '#78d1b6', + topaz: '#13bbaf', + violet_pink: '#fb5ffc', + wintergreen: '#20f986', + yellow_tan: '#ffe36e', + dark_fuchsia: '#9d0759', + indigo_blue: '#3a18b1', + light_yellowish_green: '#c2ff89', + pale_magenta: '#d767ad', + rich_purple: '#720058', + sunflower_yellow: '#ffda03', + leather: '#ac7434', + racing_green: '#014600', + vivid_purple: '#9900fa', + dark_royal_blue: '#02066f', + hazel: '#8e7618', + muted_pink: '#d1768f', + booger_green: '#96b403', + canary: '#fdff63', + cool_grey: '#95a3a6', + dark_taupe: '#7f684e', + darkish_purple: '#751973', + true_green: '#089404', + coral_pink: '#ff6163', + dark_sage: '#598556', + dark_slate_blue: '#214761', + flat_blue: '#3c73a8', + mushroom: '#ba9e88', + rich_blue: '#021bf9', + dirty_purple: '#734a65', + greenblue: '#23c48b', + icky_green: '#8fae22', + light_khaki: '#e6f2a2', + warm_blue: '#4b57db', + dark_hot_pink: '#d90166', + deep_sea_blue: '#015482', + carmine: '#9d0216', + dark_yellow_green: '#728f02', + pale_peach: '#ffe5ad', + plum_purple: '#4e0550', + golden_rod: '#f9bc08', + neon_red: '#ff073a', + old_pink: '#c77986', + very_pale_blue: '#d6fffe', + blood_orange: '#fe4b03', + grapefruit: '#fd5956', + sand_yellow: '#fce166', + clay_brown: '#b2713d', + dark_blue_grey: '#1f3b4d', + flat_green: '#699d4c', + light_green_blue: '#56fca2', + warm_pink: '#fb5581', + dodger_blue: '#3e82fc', + gross_green: '#a0bf16', + ice: '#d6fffa', + metallic_blue: '#4f738e', + pale_salmon: '#ffb19a', + sap_green: '#5c8b15', + algae: '#54ac68', + bluey_grey: '#89a0b0', + greeny_grey: '#7ea07a', + highlighter_green: '#1bfc06', + light_light_blue: '#cafffb', + light_mint: '#b6ffbb', + raw_umber: '#a75e09', + vivid_blue: '#152eff', + deep_lavender: '#8d5eb7', + dull_teal: '#5f9e8f', + light_greenish_blue: '#63f7b4', + mud_green: '#606602', + pinky: '#fc86aa', + red_wine: '#8c0034', + shit_green: '#758000', + tan_brown: '#ab7e4c', + darkblue: '#030764', + rosa: '#fe86a4', + lipstick: '#d5174e', + pale_mauve: '#fed0fc', + claret: '#680018', + dandelion: '#fedf08', + orangered: '#fe420f', + poop_green: '#6f7c00', + ruby: '#ca0147', + dark: '#1b2431', + greenish_turquoise: '#00fbb0', + pastel_red: '#db5856', + piss_yellow: '#ddd618', + bright_cyan: '#41fdfe', + dark_coral: '#cf524e', + algae_green: '#21c36f', + darkish_red: '#a90308', + reddy_brown: '#6e1005', + blush_pink: '#fe828c', + camouflage_green: '#4b6113', + lawn_green: '#4da409', + putty: '#beae8a', + vibrant_blue: '#0339f8', + dark_sand: '#a88f59', + saffron: '#feb209', + twilight: '#4e518b', + warm_brown: '#964e02', + bluegrey: '#85a3b2', + bubble_gum_pink: '#ff69af', + duck_egg_blue: '#c3fbf4', + greenish_cyan: '#2afeb7', + petrol: '#005f6a', + royal: '#0c1793', + butter: '#ffff81', + dusty_orange: '#f0833a', + off_yellow: '#f1f33f', + pale_olive_green: '#b1d27b', + orangish: '#fc824a', + leaf: '#71aa34', + light_blue_grey: '#b7c9e2', + dried_blood: '#4b0101', + lightish_purple: '#a552e6', + rusty_red: '#af2f0d', + lavender_blue: '#8b88f8', + light_grass_green: '#9af764', + light_mint_green: '#a6fbb2', + sunflower: '#ffc512', + velvet: '#750851', + brick_orange: '#c14a09', + lightish_red: '#fe2f4a', + pure_blue: '#0203e2', + twilight_blue: '#0a437a', + violet_red: '#a50055', + yellowy_brown: '#ae8b0c', + carnation: '#fd798f', + muddy_yellow: '#bfac05', + dark_seafoam_green: '#3eaf76', + deep_rose: '#c74767', + dusty_red: '#b9484e', + lemon_lime: '#bffe28', + brown_yellow: '#b29705', + purple_brown: '#673a3f', + wisteria: '#a87dc2', + banana_yellow: '#fafe4b', + lipstick_red: '#c0022f', + water_blue: '#0e87cc', + brown_grey: '#8d8468', + vibrant_purple: '#ad03de', + baby_green: '#8cff9e', + barf_green: '#94ac02', + eggshell_blue: '#c4fff7', + sandy_yellow: '#fdee73', + cool_green: '#33b864', + pale: '#fff9d0', + hot_magenta: '#f504c9', + greyblue: '#77a1b5', + purpley: '#8756e4', + baby_shit_green: '#889717', + brownish_pink: '#c27e79', + dark_aquamarine: '#017371', + diarrhea: '#9f8303', + light_mustard: '#f7d560', + pale_sky_blue: '#bdf6fe', + turtle_green: '#75b84f', + bright_olive: '#9cbb04', + dark_grey_blue: '#29465b', + greeny_brown: '#696006', + lemon_green: '#adf802', + light_periwinkle: '#c1c6fc', + seaweed_green: '#35ad6b', + sunshine_yellow: '#fffd37', + ugly_purple: '#a442a0', + medium_pink: '#f36196', + puke_brown: '#947706', + very_light_pink: '#fff4f2', + viridian: '#1e9167', + bile: '#b5c306', + faded_yellow: '#feff7f', + very_pale_green: '#cffdbc', + vibrant_green: '#0add08', + bright_lime: '#87fd05', + spearmint: '#1ef876', + light_aquamarine: '#7bfdc7', + light_sage: '#bcecac', + yellowgreen: '#bbf90f', + baby_poo: '#ab9004', + dark_seafoam: '#1fb57a', + deep_teal: '#00555a', + heather: '#a484ac', + rust_orange: '#c45508', + dirty_blue: '#3f829d', + fern_green: '#548d44', + bright_lilac: '#c95efb', + weird_green: '#3ae57f', + peacock_blue: '#016795', + avocado_green: '#87a922', + faded_orange: '#f0944d', + grape_purple: '#5d1451', + hot_green: '#25ff29', + lime_yellow: '#d0fe1d', + mango: '#ffa62b', + shamrock: '#01b44c', + bubblegum: '#ff6cb5', + purplish_brown: '#6b4247', + vomit_yellow: '#c7c10c', + pale_cyan: '#b7fffa', + key_lime: '#aeff6e', + tomato_red: '#ec2d01', + lightgreen: '#76ff7b', + merlot: '#730039', + night_blue: '#040348', + purpleish_pink: '#df4ec8', + apple: '#6ecb3c', + baby_poop_green: '#8f9805', + green_apple: '#5edc1f', + heliotrope: '#d94ff5', + almost_black: '#070d0d', + cool_blue: '#4984b8', + leafy_green: '#51b73b', + mustard_brown: '#ac7e04', + dusk: '#4e5481', + dull_brown: '#876e4b', + frog_green: '#58bc08', + vivid_green: '#2fef10', + bright_light_green: '#2dfe54', + fluro_green: '#0aff02', + kiwi: '#9cef43', + seaweed: '#18d17b', + navy_green: '#35530a', + ultramarine_blue: '#1805db', + iris: '#6258c4', + pastel_orange: '#ff964f', + yellowish_orange: '#ffab0f', + perrywinkle: '#8f8ce7', + tealish: '#24bca8', + dark_plum: '#3f012c', + pear: '#cbf85f', + pinkish_orange: '#ff724c', + midnight_purple: '#280137', + light_urple: '#b36ff6', + dark_mint: '#48c072', + greenish_tan: '#bccb7a', + light_burgundy: '#a8415b', + turquoise_blue: '#06b1c4', + ugly_pink: '#cd7584', + sandy: '#f1da7a', + electric_pink: '#ff0490', + muted_purple: '#805b87', + mid_green: '#50a747', + greyish: '#a8a495', + neon_yellow: '#cfff04', + banana: '#ffff7e', + carnation_pink: '#ff7fa7', + tomato: '#ef4026', + sea: '#3c9992', + muddy_brown: '#886806', + turquoise_green: '#04f489', + buff: '#fef69e', + fawn: '#cfaf7b', + muted_blue: '#3b719f', + pale_rose: '#fdc1c5', + dark_mint_green: '#20c073', + amethyst: '#9b5fc0', + chestnut: '#742802', + sick_green: '#9db92c', + pea: '#a4bf20', + rusty_orange: '#cd5909', + stone: '#ada587', + rose_red: '#be013c', + pale_aqua: '#b8ffeb', + deep_orange: '#dc4d01', + earth: '#a2653e', + mossy_green: '#638b27', + grassy_green: '#419c03', + pale_lime_green: '#b1ff65', + light_grey_blue: '#9dbcd4', + pale_grey: '#fdfdfe', + asparagus: '#77ab56', + blueberry: '#464196', + purple_red: '#990147', + pale_lime: '#befd73', + greenish_teal: '#32bf84', + caramel: '#af6f09', + deep_magenta: '#a0025c', + light_peach: '#ffd8b1', + milk_chocolate: '#7f4e1e', + ocher: '#bf9b0c', + off_green: '#6ba353', + purply_pink: '#f075e6', + lightblue: '#7bc8f6', + dusky_blue: '#475f94', + golden: '#f5bf03', + light_beige: '#fffeb6', + butter_yellow: '#fffd74', + dusky_purple: '#895b7b', + french_blue: '#436bad', + ugly_yellow: '#d0c101', + greeny_yellow: '#c6f808', + orangish_red: '#f43605', + shamrock_green: '#02c14d', + orangish_brown: '#b25f03', + tree_green: '#2a7e19', + deep_violet: '#490648', + gunmetal: '#536267', + cherry: '#cf0234', + sandy_brown: '#c4a661', + warm_grey: '#978a84', + dark_indigo: '#1f0954', + midnight: '#03012d', + bluey_green: '#2bb179', + grey_pink: '#c3909b', + soft_purple: '#a66fb5', + blood: '#770001', + brown_red: '#922b05', + medium_grey: '#7d7f7c', + berry: '#990f4b', + poo: '#8f7303', + purpley_pink: '#c83cb9', + light_salmon: '#fea993', + snot: '#acbb0d', + easter_purple: '#c071fe', + light_yellow_green: '#ccfd7f', + dark_navy_blue: '#00022e', + drab: '#828344', + light_rose: '#ffc5cb', + rouge: '#ab1239', + purplish_red: '#b0054b', + slime_green: '#99cc04', + baby_poop: '#937c00', + irish_green: '#019529', + dark_navy: '#000435', + greeny_blue: '#42b395', + light_plum: '#9d5783', + pinkish_grey: '#c8aca9', + dirty_orange: '#c87606', + rust_red: '#aa2704', + pale_lilac: '#e4cbff', + orangey_red: '#fa4224', + primary_blue: '#0804f9', + kermit_green: '#5cb200', + brownish_purple: '#76424e', + murky_green: '#6c7a0e', + wheat: '#fbdd7e', + very_dark_purple: '#2a0134', + bottle_green: '#044a05', + watermelon: '#fd4659', + deep_sky_blue: '#0d75f8', + fire_engine_red: '#fe0002', + yellow_ochre: '#cb9d06', + pumpkin_orange: '#fb7d07', + pale_olive: '#b9cc81', + light_lilac: '#edc8ff', + lightish_green: '#61e160', + carolina_blue: '#8ab8fe', + mulberry: '#920a4e', + shocking_pink: '#fe02a2', + auburn: '#9a3001', + bright_lime_green: '#65fe08', + celadon: '#befdb7', + pinkish_brown: '#b17261', + poo_brown: '#885f01', + bright_sky_blue: '#02ccfe', + celery: '#c1fd95', + dirt_brown: '#836539', + strawberry: '#fb2943', + dark_lime: '#84b701', + copper: '#b66325', + medium_brown: '#7f5112', + muted_green: '#5fa052', + robins_egg: '#6dedfd', + bright_aqua: '#0bf9ea', + bright_lavender: '#c760ff', + ivory: '#ffffcb', + very_light_purple: '#f6cefc', + light_navy: '#155084', + pink_red: '#f5054f', + olive_brown: '#645403', + poop_brown: '#7a5901', + mustard_green: '#a8b504', + ocean_green: '#3d9973', + very_dark_blue: '#000133', + dusty_green: '#76a973', + light_navy_blue: '#2e5a88', + minty_green: '#0bf77d', + adobe: '#bd6c48', + barney: '#ac1db8', + jade_green: '#2baf6a', + bright_light_blue: '#26f7fd', + light_lime: '#aefd6c', + dark_khaki: '#9b8f55', + orange_yellow: '#ffad01', + ocre: '#c69c04', + maize: '#f4d054', + faded_pink: '#de9dac', + british_racing_green: '#05480d', + sandstone: '#c9ae74', + mud_brown: '#60460f', + light_sea_green: '#98f6b0', + robin_egg_blue: '#8af1fe', + aqua_marine: '#2ee8bb', + dark_sea_green: '#11875d', + soft_pink: '#fdb0c0', + orangey_brown: '#b16002', + cherry_red: '#f7022a', + burnt_yellow: '#d5ab09', + brownish_grey: '#86775f', + camel: '#c69f59', + purplish_grey: '#7a687f', + marine: '#042e60', + greyish_pink: '#c88d94', + pale_turquoise: '#a5fbd5', + pastel_yellow: '#fffe71', + bluey_purple: '#6241c7', + canary_yellow: '#fffe40', + faded_red: '#d3494e', + sepia: '#985e2b', + coffee: '#a6814c', + bright_magenta: '#ff08e8', + mocha: '#9d7651', + ecru: '#feffca', + purpleish: '#98568d', + cranberry: '#9e003a', + darkish_green: '#287c37', + brown_orange: '#b96902', + dusky_rose: '#ba6873', + melon: '#ff7855', + sickly_green: '#94b21c', + silver: '#c5c9c7', + purply_blue: '#661aee', + purpleish_blue: '#6140ef', + hospital_green: '#9be5aa', + shit_brown: '#7b5804', + mid_blue: '#276ab3', + amber: '#feb308', + easter_green: '#8cfd7e', + soft_blue: '#6488ea', + cerulean_blue: '#056eee', + golden_brown: '#b27a01', + bright_turquoise: '#0ffef9', + red_pink: '#fa2a55', + red_purple: '#820747', + greyish_brown: '#7a6a4f', + vermillion: '#f4320c', + russet: '#a13905', + steel_grey: '#6f828a', + lighter_purple: '#a55af4', + bright_violet: '#ad0afd', + prussian_blue: '#004577', + slate_green: '#658d6d', + dirty_pink: '#ca7b80', + dark_blue_green: '#005249', + pine: '#2b5d34', + yellowy_green: '#bff128', + dark_gold: '#b59410', + bluish: '#2976bb', + darkish_blue: '#014182', + dull_red: '#bb3f3f', + pinky_red: '#fc2647', + bronze: '#a87900', + pale_teal: '#82cbb2', + military_green: '#667c3e', + barbie_pink: '#fe46a5', + bubblegum_pink: '#fe83cc', + pea_soup_green: '#94a617', + dark_mustard: '#a88905', + shit: '#7f5f00', + medium_purple: '#9e43a2', + very_dark_green: '#062e03', + dirt: '#8a6e45', + dusky_pink: '#cc7a8b', + red_violet: '#9e0168', + lemon_yellow: '#fdff38', + pistachio: '#c0fa8b', + dull_yellow: '#eedc5b', + dark_lime_green: '#7ebd01', + denim_blue: '#3b5b92', + teal_blue: '#01889f', + lightish_blue: '#3d7afd', + purpley_blue: '#5f34e7', + light_indigo: '#6d5acf', + swamp_green: '#748500', + brown_green: '#706c11', + dark_maroon: '#3c0008', + hot_purple: '#cb00f5', + dark_forest_green: '#002d04', + faded_blue: '#658cbb', + drab_green: '#749551', + light_lime_green: '#b9ff66', + snot_green: '#9dc100', + yellowish: '#faee66', + light_blue_green: '#7efbb3', + bordeaux: '#7b002c', + light_mauve: '#c292a1', + ocean: '#017b92', + marigold: '#fcc006', + muddy_green: '#657432', + dull_orange: '#d8863b', + steel: '#738595', + electric_purple: '#aa23ff', + fluorescent_green: '#08ff08', + yellowish_brown: '#9b7a01', + blush: '#f29e8e', + soft_green: '#6fc276', + bright_orange: '#ff5b00', + lemon: '#fdff52', + purple_grey: '#866f85', + acid_green: '#8ffe09', + pale_lavender: '#eecffe', + violet_blue: '#510ac9', + light_forest_green: '#4f9153', + burnt_red: '#9f2305', + khaki_green: '#728639', + cerise: '#de0c62', + faded_purple: '#916e99', + apricot: '#ffb16d', + dark_olive_green: '#3c4d03', + grey_brown: '#7f7053', + green_grey: '#77926f', + true_blue: '#010fcc', + pale_violet: '#ceaefa', + periwinkle_blue: '#8f99fb', + light_sky_blue: '#c6fcff', + blurple: '#5539cc', + green_brown: '#544e03', + bluegreen: '#017a79', + bright_teal: '#01f9c6', + brownish_yellow: '#c9b003', + pea_soup: '#929901', + forest: '#0b5509', + barney_purple: '#a00498', + ultramarine: '#2000b1', + purplish: '#94568c', + puke_yellow: '#c2be0e', + bluish_grey: '#748b97', + dark_periwinkle: '#665fd1', + dark_lilac: '#9c6da5', + reddish: '#c44240', + light_maroon: '#a24857', + dusty_purple: '#825f87', + terra_cotta: '#c9643b', + avocado: '#90b134', + marine_blue: '#01386a', + teal_green: '#25a36f', + slate_grey: '#59656d', + lighter_green: '#75fd63', + electric_green: '#21fc0d', + dusty_blue: '#5a86ad', + golden_yellow: '#fec615', + bright_yellow: '#fffd01', + light_lavender: '#dfc5fe', + umber: '#b26400', + poop: '#7f5e00', + dark_peach: '#de7e5d', + jungle_green: '#048243', + eggshell: '#ffffd4', + denim: '#3b638c', + yellow_brown: '#b79400', + dull_purple: '#84597e', + chocolate_brown: '#411900', + wine_red: '#7b0323', + neon_blue: '#04d9ff', + dirty_green: '#667e2c', + light_tan: '#fbeeac', + ice_blue: '#d7fffe', + cadet_blue: '#4e7496', + dark_mauve: '#874c62', + very_light_blue: '#d5ffff', + grey_purple: '#826d8c', + pastel_pink: '#ffbacd', + very_light_green: '#d1ffbd', + dark_sky_blue: '#448ee4', + evergreen: '#05472a', + dull_pink: '#d5869d', + aubergine: '#3d0734', + mahogany: '#4a0100', + reddish_orange: '#f8481c', + deep_green: '#02590f', + vomit_green: '#89a203', + purple_pink: '#e03fd8', + dusty_pink: '#d58a94', + faded_green: '#7bb274', + camo_green: '#526525', + pinky_purple: '#c94cbe', + pink_purple: '#db4bda', + brownish_red: '#9e3623', + dark_rose: '#b5485d', + mud: '#735c12', + brownish: '#9c6d57', + emerald_green: '#028f1e', + pale_brown: '#b1916e', + dull_blue: '#49759c', + burnt_umber: '#a0450e', + medium_green: '#39ad48', + clay: '#b66a50', + light_aqua: '#8cffdb', + light_olive_green: '#a4be5c', + brownish_orange: '#cb7723', + dark_aqua: '#05696b', + purplish_pink: '#ce5dae', + dark_salmon: '#c85a53', + greenish_grey: '#96ae8d', + jade: '#1fa774', + ugly_green: '#7a9703', + dark_beige: '#ac9362', + emerald: '#01a049', + pale_red: '#d9544d', + light_magenta: '#fa5ff7', + sky: '#82cafc', + light_cyan: '#acfffc', + yellow_orange: '#fcb001', + reddish_purple: '#910951', + reddish_pink: '#fe2c54', + orchid: '#c875c4', + dirty_yellow: '#cdc50a', + orange_red: '#fd411e', + deep_red: '#9a0200', + orange_brown: '#be6400', + cobalt_blue: '#030aa7', + neon_pink: '#fe019a', + rose_pink: '#f7879a', + greyish_purple: '#887191', + raspberry: '#b00149', + aqua_green: '#12e193', + salmon_pink: '#fe7b7c', + tangerine: '#ff9408', + brownish_green: '#6a6e09', + red_brown: '#8b2e16', + greenish_brown: '#696112', + pumpkin: '#e17701', + pine_green: '#0a481e', + charcoal: '#343837', + baby_pink: '#ffb7ce', + cornflower: '#6a79f7', + blue_violet: '#5d06e9', + chocolate: '#3d1c02', + greyish_green: '#82a67d', + scarlet: '#be0119', + green_yellow: '#c9ff27', + dark_olive: '#373e02', + sienna: '#a9561e', + pastel_purple: '#caa0ff', + terracotta: '#ca6641', + aqua_blue: '#02d8e9', + sage_green: '#88b378', + blood_red: '#980002', + deep_pink: '#cb0162', + grass: '#5cac2d', + moss: '#769958', + pastel_blue: '#a2bffe', + bluish_green: '#10a674', + green_blue: '#06b48b', + dark_tan: '#af884a', + greenish_blue: '#0b8b87', + pale_orange: '#ffa756', + vomit: '#a2a415', + forrest_green: '#154406', + dark_lavender: '#856798', + dark_violet: '#34013f', + purple_blue: '#632de9', + dark_cyan: '#0a888a', + olive_drab: '#6f7632', + pinkish: '#d46a7e', + cobalt: '#1e488f', + neon_purple: '#bc13fe', + light_turquoise: '#7ef4cc', + apple_green: '#76cd26', + dull_green: '#74a662', + wine: '#80013f', + powder_blue: '#b1d1fc', + off_white: '#ffffe4', + electric_blue: '#0652ff', + dark_turquoise: '#045c5a', + blue_purple: '#5729ce', + azure: '#069af3', + bright_red: '#ff000d', + pinkish_red: '#f10c45', + cornflower_blue: '#5170d7', + light_olive: '#acbf69', + grape: '#6c3461', + greyish_blue: '#5e819d', + purplish_blue: '#601ef9', + yellowish_green: '#b0dd16', + greenish_yellow: '#cdfd02', + medium_blue: '#2c6fbb', + dusty_rose: '#c0737a', + light_violet: '#d6b4fc', + midnight_blue: '#020035', + bluish_purple: '#703be7', + red_orange: '#fd3c06', + dark_magenta: '#960056', + greenish: '#40a368', + ocean_blue: '#03719c', + coral: '#fc5a50', + cream: '#ffffc2', + reddish_brown: '#7f2b0a', + burnt_sienna: '#b04e0f', + brick: '#a03623', + sage: '#87ae73', + grey_green: '#789b73', + white: '#ffffff', + robins_egg_blue: '#98eff9', + moss_green: '#658b38', + steel_blue: '#5a7d9a', + eggplant: '#380835', + light_yellow: '#fffe7a', + leaf_green: '#5ca904', + light_grey: '#d8dcd6', + puke: '#a5a502', + pinkish_purple: '#d648d7', + sea_blue: '#047495', + pale_purple: '#b790d4', + slate_blue: '#5b7c99', + blue_grey: '#607c8e', + hunter_green: '#0b4008', + fuchsia: '#ed0dd9', + crimson: '#8c000f', + pale_yellow: '#ffff84', + ochre: '#bf9005', + mustard_yellow: '#d2bd0a', + light_red: '#ff474c', + cerulean: '#0485d1', + pale_pink: '#ffcfdc', + deep_blue: '#040273', + rust: '#a83c09', + light_teal: '#90e4c1', + slate: '#516572', + goldenrod: '#fac205', + dark_yellow: '#d5b60a', + dark_grey: '#363737', + army_green: '#4b5d16', + grey_blue: '#6b8ba4', + seafoam: '#80f9ad', + puce: '#a57e52', + spring_green: '#a9f971', + dark_orange: '#c65102', + sand: '#e2ca76', + pastel_green: '#b0ff9d', + mint: '#9ffeb0', + light_orange: '#fdaa48', + bright_pink: '#fe01b1', + chartreuse: '#c1f80a', + deep_purple: '#36013f', + dark_brown: '#341c02', + taupe: '#b9a281', + pea_green: '#8eab12', + puke_green: '#9aae07', + kelly_green: '#02ab2e', + seafoam_green: '#7af9ab', + blue_green: '#137e6d', + khaki: '#aaa662', + burgundy: '#610023', + dark_teal: '#014d4e', + brick_red: '#8f1402', + royal_purple: '#4b006e', + plum: '#580f41', + mint_green: '#8fff9f', + gold: '#dbb40c', + baby_blue: '#a2cffe', + yellow_green: '#c0fb2d', + bright_purple: '#be03fd', + dark_red: '#840000', + pale_blue: '#d0fefe', + grass_green: '#3f9b0b', + navy: '#01153e', + aquamarine: '#04d8b2', + burnt_orange: '#c04e01', + neon_green: '#0cff0c', + bright_blue: '#0165fc', + rose: '#cf6275', + light_pink: '#ffd1df', + mustard: '#ceb301', + indigo: '#380282', + lime: '#aaff32', + sea_green: '#53fca1', + periwinkle: '#8e82fe', + dark_pink: '#cb416b', + olive_green: '#677a04', + peach: '#ffb07c', + pale_green: '#c7fdb5', + light_brown: '#ad8150', + hot_pink: '#ff028d', + black: '#000000', + lilac: '#cea2fd', + navy_blue: '#001146', + royal_blue: '#0504aa', + beige: '#e6daa6', + salmon: '#ff796c', + olive: '#6e750e', + maroon: '#650021', + bright_green: '#01ff07', + dark_purple: '#35063e', + mauve: '#ae7181', + forest_green: '#06470c', + aqua: '#13eac9', + cyan: '#00ffff', + tan: '#d1b26f', + dark_blue: '#00035b', + lavender: '#c79fef', + turquoise: '#06c2ac', + dark_green: '#033500', + violet: '#9a0eea', + light_purple: '#bf77f6', + lime_green: '#89fe05', + grey: '#929591', + sky_blue: '#75bbfd', + yellow: '#ffff14', + magenta: '#c20078', + light_green: '#96f97b', + orange: '#f97306', + teal: '#029386', + light_blue: '#95d0fc', + red: '#e50000', + brown: '#653700', + pink: '#ff81c0', + blue: '#0343df', + green: '#15b01a', + purple: '#7e1e9c' + }.freeze + end +end + require_relative 'grruby/grruby' require_relative 'grruby/tasks/gr_function_classes' require_relative 'rubyplot/scripting_backends/gr/plots' diff --git a/lib/grruby/tasks/gr_function_classes.rb b/lib/grruby/tasks/gr_function_classes.rb index 63b17e0..c0e2ea2 100644 --- a/lib/grruby/tasks/gr_function_classes.rb +++ b/lib/grruby/tasks/gr_function_classes.rb @@ -299,972 +299,6 @@ def call end end - # Will define color index, fonts, marker types and other constants - # color index between 1 to 1256. map all prominent ones here - CONTRASTING_COLORS = - [ - '#e6194b', - '#3cb44b', - '#ffe119', - '#0082c8', - '#f58231', - '#911eb4', - '#46f0f0', - '#f032e6', - '#d2f53c', - '#fabebe', - '#008080', - '#e6beff', - '#aa6e28', - '#fffac8', - '#800000', - '#aaffc3', - '#808000', - '#ffd8b1', - '#000080', - '#808080' - ].freeze - - COLOR_INDEX = { - cloudy_blue: '#acc2d9', - dark_pastel_green: '#56ae57', - dust: '#b2996e', - electric_lime: '#a8ff04', - fresh_green: '#69d84f', - light_eggplant: '#894585', - nasty_green: '#70b23f', - really_light_blue: '#d4ffff', - tea: '#65ab7c', - warm_purple: '#952e8f', - yellowish_tan: '#fcfc81', - cement: '#a5a391', - dark_grass_green: '#388004', - dusty_teal: '#4c9085', - grey_teal: '#5e9b8a', - macaroni_and_cheese: '#efb435', - pinkish_tan: '#d99b82', - spruce: '#0a5f38', - strong_blue: '#0c06f7', - toxic_green: '#61de2a', - windows_blue: '#3778bf', - blue_blue: '#2242c7', - blue_with_a_hint_of_purple: '#533cc6', - booger: '#9bb53c', - bright_sea_green: '#05ffa6', - dark_green_blue: '#1f6357', - deep_turquoise: '#017374', - green_teal: '#0cb577', - strong_pink: '#ff0789', - bland: '#afa88b', - deep_aqua: '#08787f', - lavender_pink: '#dd85d7', - light_moss_green: '#a6c875', - light_seafoam_green: '#a7ffb5', - olive_yellow: '#c2b709', - pig_pink: '#e78ea5', - deep_lilac: '#966ebd', - desert: '#ccad60', - dusty_lavender: '#ac86a8', - purpley_grey: '#947e94', - purply: '#983fb2', - candy_pink: '#ff63e9', - light_pastel_green: '#b2fba5', - boring_green: '#63b365', - kiwi_green: '#8ee53f', - light_grey_green: '#b7e1a1', - orange_pink: '#ff6f52', - tea_green: '#bdf8a3', - very_light_brown: '#d3b683', - egg_shell: '#fffcc4', - eggplant_purple: '#430541', - powder_pink: '#ffb2d0', - reddish_grey: '#997570', - baby_shit_brown: '#ad900d', - liliac: '#c48efd', - stormy_blue: '#507b9c', - ugly_brown: '#7d7103', - custard: '#fffd78', - darkish_pink: '#da467d', - deep_brown: '#410200', - greenish_beige: '#c9d179', - manilla: '#fffa86', - off_blue: '#5684ae', - battleship_grey: '#6b7c85', - browny_green: '#6f6c0a', - bruise: '#7e4071', - kelley_green: '#009337', - sickly_yellow: '#d0e429', - sunny_yellow: '#fff917', - azul: '#1d5dec', - darkgreen: '#054907', - lichen: '#8fb67b', - light_light_green: '#c8ffb0', - pale_gold: '#fdde6c', - sun_yellow: '#ffdf22', - tan_green: '#a9be70', - burple: '#6832e3', - butterscotch: '#fdb147', - toupe: '#c7ac7d', - dark_cream: '#fff39a', - indian_red: '#850e04', - light_lavendar: '#efc0fe', - poison_green: '#40fd14', - baby_puke_green: '#b6c406', - bright_yellow_green: '#9dff00', - charcoal_grey: '#3c4142', - squash: '#f2ab15', - cinnamon: '#ac4f06', - light_pea_green: '#c4fe82', - radioactive_green: '#2cfa1f', - raw_sienna: '#9a6200', - baby_purple: '#ca9bf7', - cocoa: '#875f42', - light_royal_blue: '#3a2efe', - orangeish: '#fd8d49', - rust_brown: '#8b3103', - sand_brown: '#cba560', - swamp: '#698339', - tealish_green: '#0cdc73', - burnt_siena: '#b75203', - camo: '#7f8f4e', - dusk_blue: '#26538d', - fern: '#63a950', - old_rose: '#c87f89', - pale_light_green: '#b1fc99', - peachy_pink: '#ff9a8a', - rosy_pink: '#f6688e', - light_bluish_green: '#76fda8', - light_bright_green: '#53fe5c', - light_neon_green: '#4efd54', - light_seafoam: '#a0febf', - tiffany_blue: '#7bf2da', - washed_out_green: '#bcf5a6', - browny_orange: '#ca6b02', - nice_blue: '#107ab0', - sapphire: '#2138ab', - greyish_teal: '#719f91', - orangey_yellow: '#fdb915', - parchment: '#fefcaf', - straw: '#fcf679', - very_dark_brown: '#1d0200', - terracota: '#cb6843', - ugly_blue: '#31668a', - clear_blue: '#247afd', - creme: '#ffffb6', - foam_green: '#90fda9', - light_gold: '#fddc5c', - seafoam_blue: '#78d1b6', - topaz: '#13bbaf', - violet_pink: '#fb5ffc', - wintergreen: '#20f986', - yellow_tan: '#ffe36e', - dark_fuchsia: '#9d0759', - indigo_blue: '#3a18b1', - light_yellowish_green: '#c2ff89', - pale_magenta: '#d767ad', - rich_purple: '#720058', - sunflower_yellow: '#ffda03', - leather: '#ac7434', - racing_green: '#014600', - vivid_purple: '#9900fa', - dark_royal_blue: '#02066f', - hazel: '#8e7618', - muted_pink: '#d1768f', - booger_green: '#96b403', - canary: '#fdff63', - cool_grey: '#95a3a6', - dark_taupe: '#7f684e', - darkish_purple: '#751973', - true_green: '#089404', - coral_pink: '#ff6163', - dark_sage: '#598556', - dark_slate_blue: '#214761', - flat_blue: '#3c73a8', - mushroom: '#ba9e88', - rich_blue: '#021bf9', - dirty_purple: '#734a65', - greenblue: '#23c48b', - icky_green: '#8fae22', - light_khaki: '#e6f2a2', - warm_blue: '#4b57db', - dark_hot_pink: '#d90166', - deep_sea_blue: '#015482', - carmine: '#9d0216', - dark_yellow_green: '#728f02', - pale_peach: '#ffe5ad', - plum_purple: '#4e0550', - golden_rod: '#f9bc08', - neon_red: '#ff073a', - old_pink: '#c77986', - very_pale_blue: '#d6fffe', - blood_orange: '#fe4b03', - grapefruit: '#fd5956', - sand_yellow: '#fce166', - clay_brown: '#b2713d', - dark_blue_grey: '#1f3b4d', - flat_green: '#699d4c', - light_green_blue: '#56fca2', - warm_pink: '#fb5581', - dodger_blue: '#3e82fc', - gross_green: '#a0bf16', - ice: '#d6fffa', - metallic_blue: '#4f738e', - pale_salmon: '#ffb19a', - sap_green: '#5c8b15', - algae: '#54ac68', - bluey_grey: '#89a0b0', - greeny_grey: '#7ea07a', - highlighter_green: '#1bfc06', - light_light_blue: '#cafffb', - light_mint: '#b6ffbb', - raw_umber: '#a75e09', - vivid_blue: '#152eff', - deep_lavender: '#8d5eb7', - dull_teal: '#5f9e8f', - light_greenish_blue: '#63f7b4', - mud_green: '#606602', - pinky: '#fc86aa', - red_wine: '#8c0034', - shit_green: '#758000', - tan_brown: '#ab7e4c', - darkblue: '#030764', - rosa: '#fe86a4', - lipstick: '#d5174e', - pale_mauve: '#fed0fc', - claret: '#680018', - dandelion: '#fedf08', - orangered: '#fe420f', - poop_green: '#6f7c00', - ruby: '#ca0147', - dark: '#1b2431', - greenish_turquoise: '#00fbb0', - pastel_red: '#db5856', - piss_yellow: '#ddd618', - bright_cyan: '#41fdfe', - dark_coral: '#cf524e', - algae_green: '#21c36f', - darkish_red: '#a90308', - reddy_brown: '#6e1005', - blush_pink: '#fe828c', - camouflage_green: '#4b6113', - lawn_green: '#4da409', - putty: '#beae8a', - vibrant_blue: '#0339f8', - dark_sand: '#a88f59', - saffron: '#feb209', - twilight: '#4e518b', - warm_brown: '#964e02', - bluegrey: '#85a3b2', - bubble_gum_pink: '#ff69af', - duck_egg_blue: '#c3fbf4', - greenish_cyan: '#2afeb7', - petrol: '#005f6a', - royal: '#0c1793', - butter: '#ffff81', - dusty_orange: '#f0833a', - off_yellow: '#f1f33f', - pale_olive_green: '#b1d27b', - orangish: '#fc824a', - leaf: '#71aa34', - light_blue_grey: '#b7c9e2', - dried_blood: '#4b0101', - lightish_purple: '#a552e6', - rusty_red: '#af2f0d', - lavender_blue: '#8b88f8', - light_grass_green: '#9af764', - light_mint_green: '#a6fbb2', - sunflower: '#ffc512', - velvet: '#750851', - brick_orange: '#c14a09', - lightish_red: '#fe2f4a', - pure_blue: '#0203e2', - twilight_blue: '#0a437a', - violet_red: '#a50055', - yellowy_brown: '#ae8b0c', - carnation: '#fd798f', - muddy_yellow: '#bfac05', - dark_seafoam_green: '#3eaf76', - deep_rose: '#c74767', - dusty_red: '#b9484e', - lemon_lime: '#bffe28', - brown_yellow: '#b29705', - purple_brown: '#673a3f', - wisteria: '#a87dc2', - banana_yellow: '#fafe4b', - lipstick_red: '#c0022f', - water_blue: '#0e87cc', - brown_grey: '#8d8468', - vibrant_purple: '#ad03de', - baby_green: '#8cff9e', - barf_green: '#94ac02', - eggshell_blue: '#c4fff7', - sandy_yellow: '#fdee73', - cool_green: '#33b864', - pale: '#fff9d0', - hot_magenta: '#f504c9', - greyblue: '#77a1b5', - purpley: '#8756e4', - baby_shit_green: '#889717', - brownish_pink: '#c27e79', - dark_aquamarine: '#017371', - diarrhea: '#9f8303', - light_mustard: '#f7d560', - pale_sky_blue: '#bdf6fe', - turtle_green: '#75b84f', - bright_olive: '#9cbb04', - dark_grey_blue: '#29465b', - greeny_brown: '#696006', - lemon_green: '#adf802', - light_periwinkle: '#c1c6fc', - seaweed_green: '#35ad6b', - sunshine_yellow: '#fffd37', - ugly_purple: '#a442a0', - medium_pink: '#f36196', - puke_brown: '#947706', - very_light_pink: '#fff4f2', - viridian: '#1e9167', - bile: '#b5c306', - faded_yellow: '#feff7f', - very_pale_green: '#cffdbc', - vibrant_green: '#0add08', - bright_lime: '#87fd05', - spearmint: '#1ef876', - light_aquamarine: '#7bfdc7', - light_sage: '#bcecac', - yellowgreen: '#bbf90f', - baby_poo: '#ab9004', - dark_seafoam: '#1fb57a', - deep_teal: '#00555a', - heather: '#a484ac', - rust_orange: '#c45508', - dirty_blue: '#3f829d', - fern_green: '#548d44', - bright_lilac: '#c95efb', - weird_green: '#3ae57f', - peacock_blue: '#016795', - avocado_green: '#87a922', - faded_orange: '#f0944d', - grape_purple: '#5d1451', - hot_green: '#25ff29', - lime_yellow: '#d0fe1d', - mango: '#ffa62b', - shamrock: '#01b44c', - bubblegum: '#ff6cb5', - purplish_brown: '#6b4247', - vomit_yellow: '#c7c10c', - pale_cyan: '#b7fffa', - key_lime: '#aeff6e', - tomato_red: '#ec2d01', - lightgreen: '#76ff7b', - merlot: '#730039', - night_blue: '#040348', - purpleish_pink: '#df4ec8', - apple: '#6ecb3c', - baby_poop_green: '#8f9805', - green_apple: '#5edc1f', - heliotrope: '#d94ff5', - almost_black: '#070d0d', - cool_blue: '#4984b8', - leafy_green: '#51b73b', - mustard_brown: '#ac7e04', - dusk: '#4e5481', - dull_brown: '#876e4b', - frog_green: '#58bc08', - vivid_green: '#2fef10', - bright_light_green: '#2dfe54', - fluro_green: '#0aff02', - kiwi: '#9cef43', - seaweed: '#18d17b', - navy_green: '#35530a', - ultramarine_blue: '#1805db', - iris: '#6258c4', - pastel_orange: '#ff964f', - yellowish_orange: '#ffab0f', - perrywinkle: '#8f8ce7', - tealish: '#24bca8', - dark_plum: '#3f012c', - pear: '#cbf85f', - pinkish_orange: '#ff724c', - midnight_purple: '#280137', - light_urple: '#b36ff6', - dark_mint: '#48c072', - greenish_tan: '#bccb7a', - light_burgundy: '#a8415b', - turquoise_blue: '#06b1c4', - ugly_pink: '#cd7584', - sandy: '#f1da7a', - electric_pink: '#ff0490', - muted_purple: '#805b87', - mid_green: '#50a747', - greyish: '#a8a495', - neon_yellow: '#cfff04', - banana: '#ffff7e', - carnation_pink: '#ff7fa7', - tomato: '#ef4026', - sea: '#3c9992', - muddy_brown: '#886806', - turquoise_green: '#04f489', - buff: '#fef69e', - fawn: '#cfaf7b', - muted_blue: '#3b719f', - pale_rose: '#fdc1c5', - dark_mint_green: '#20c073', - amethyst: '#9b5fc0', - chestnut: '#742802', - sick_green: '#9db92c', - pea: '#a4bf20', - rusty_orange: '#cd5909', - stone: '#ada587', - rose_red: '#be013c', - pale_aqua: '#b8ffeb', - deep_orange: '#dc4d01', - earth: '#a2653e', - mossy_green: '#638b27', - grassy_green: '#419c03', - pale_lime_green: '#b1ff65', - light_grey_blue: '#9dbcd4', - pale_grey: '#fdfdfe', - asparagus: '#77ab56', - blueberry: '#464196', - purple_red: '#990147', - pale_lime: '#befd73', - greenish_teal: '#32bf84', - caramel: '#af6f09', - deep_magenta: '#a0025c', - light_peach: '#ffd8b1', - milk_chocolate: '#7f4e1e', - ocher: '#bf9b0c', - off_green: '#6ba353', - purply_pink: '#f075e6', - lightblue: '#7bc8f6', - dusky_blue: '#475f94', - golden: '#f5bf03', - light_beige: '#fffeb6', - butter_yellow: '#fffd74', - dusky_purple: '#895b7b', - french_blue: '#436bad', - ugly_yellow: '#d0c101', - greeny_yellow: '#c6f808', - orangish_red: '#f43605', - shamrock_green: '#02c14d', - orangish_brown: '#b25f03', - tree_green: '#2a7e19', - deep_violet: '#490648', - gunmetal: '#536267', - cherry: '#cf0234', - sandy_brown: '#c4a661', - warm_grey: '#978a84', - dark_indigo: '#1f0954', - midnight: '#03012d', - bluey_green: '#2bb179', - grey_pink: '#c3909b', - soft_purple: '#a66fb5', - blood: '#770001', - brown_red: '#922b05', - medium_grey: '#7d7f7c', - berry: '#990f4b', - poo: '#8f7303', - purpley_pink: '#c83cb9', - light_salmon: '#fea993', - snot: '#acbb0d', - easter_purple: '#c071fe', - light_yellow_green: '#ccfd7f', - dark_navy_blue: '#00022e', - drab: '#828344', - light_rose: '#ffc5cb', - rouge: '#ab1239', - purplish_red: '#b0054b', - slime_green: '#99cc04', - baby_poop: '#937c00', - irish_green: '#019529', - dark_navy: '#000435', - greeny_blue: '#42b395', - light_plum: '#9d5783', - pinkish_grey: '#c8aca9', - dirty_orange: '#c87606', - rust_red: '#aa2704', - pale_lilac: '#e4cbff', - orangey_red: '#fa4224', - primary_blue: '#0804f9', - kermit_green: '#5cb200', - brownish_purple: '#76424e', - murky_green: '#6c7a0e', - wheat: '#fbdd7e', - very_dark_purple: '#2a0134', - bottle_green: '#044a05', - watermelon: '#fd4659', - deep_sky_blue: '#0d75f8', - fire_engine_red: '#fe0002', - yellow_ochre: '#cb9d06', - pumpkin_orange: '#fb7d07', - pale_olive: '#b9cc81', - light_lilac: '#edc8ff', - lightish_green: '#61e160', - carolina_blue: '#8ab8fe', - mulberry: '#920a4e', - shocking_pink: '#fe02a2', - auburn: '#9a3001', - bright_lime_green: '#65fe08', - celadon: '#befdb7', - pinkish_brown: '#b17261', - poo_brown: '#885f01', - bright_sky_blue: '#02ccfe', - celery: '#c1fd95', - dirt_brown: '#836539', - strawberry: '#fb2943', - dark_lime: '#84b701', - copper: '#b66325', - medium_brown: '#7f5112', - muted_green: '#5fa052', - robins_egg: '#6dedfd', - bright_aqua: '#0bf9ea', - bright_lavender: '#c760ff', - ivory: '#ffffcb', - very_light_purple: '#f6cefc', - light_navy: '#155084', - pink_red: '#f5054f', - olive_brown: '#645403', - poop_brown: '#7a5901', - mustard_green: '#a8b504', - ocean_green: '#3d9973', - very_dark_blue: '#000133', - dusty_green: '#76a973', - light_navy_blue: '#2e5a88', - minty_green: '#0bf77d', - adobe: '#bd6c48', - barney: '#ac1db8', - jade_green: '#2baf6a', - bright_light_blue: '#26f7fd', - light_lime: '#aefd6c', - dark_khaki: '#9b8f55', - orange_yellow: '#ffad01', - ocre: '#c69c04', - maize: '#f4d054', - faded_pink: '#de9dac', - british_racing_green: '#05480d', - sandstone: '#c9ae74', - mud_brown: '#60460f', - light_sea_green: '#98f6b0', - robin_egg_blue: '#8af1fe', - aqua_marine: '#2ee8bb', - dark_sea_green: '#11875d', - soft_pink: '#fdb0c0', - orangey_brown: '#b16002', - cherry_red: '#f7022a', - burnt_yellow: '#d5ab09', - brownish_grey: '#86775f', - camel: '#c69f59', - purplish_grey: '#7a687f', - marine: '#042e60', - greyish_pink: '#c88d94', - pale_turquoise: '#a5fbd5', - pastel_yellow: '#fffe71', - bluey_purple: '#6241c7', - canary_yellow: '#fffe40', - faded_red: '#d3494e', - sepia: '#985e2b', - coffee: '#a6814c', - bright_magenta: '#ff08e8', - mocha: '#9d7651', - ecru: '#feffca', - purpleish: '#98568d', - cranberry: '#9e003a', - darkish_green: '#287c37', - brown_orange: '#b96902', - dusky_rose: '#ba6873', - melon: '#ff7855', - sickly_green: '#94b21c', - silver: '#c5c9c7', - purply_blue: '#661aee', - purpleish_blue: '#6140ef', - hospital_green: '#9be5aa', - shit_brown: '#7b5804', - mid_blue: '#276ab3', - amber: '#feb308', - easter_green: '#8cfd7e', - soft_blue: '#6488ea', - cerulean_blue: '#056eee', - golden_brown: '#b27a01', - bright_turquoise: '#0ffef9', - red_pink: '#fa2a55', - red_purple: '#820747', - greyish_brown: '#7a6a4f', - vermillion: '#f4320c', - russet: '#a13905', - steel_grey: '#6f828a', - lighter_purple: '#a55af4', - bright_violet: '#ad0afd', - prussian_blue: '#004577', - slate_green: '#658d6d', - dirty_pink: '#ca7b80', - dark_blue_green: '#005249', - pine: '#2b5d34', - yellowy_green: '#bff128', - dark_gold: '#b59410', - bluish: '#2976bb', - darkish_blue: '#014182', - dull_red: '#bb3f3f', - pinky_red: '#fc2647', - bronze: '#a87900', - pale_teal: '#82cbb2', - military_green: '#667c3e', - barbie_pink: '#fe46a5', - bubblegum_pink: '#fe83cc', - pea_soup_green: '#94a617', - dark_mustard: '#a88905', - shit: '#7f5f00', - medium_purple: '#9e43a2', - very_dark_green: '#062e03', - dirt: '#8a6e45', - dusky_pink: '#cc7a8b', - red_violet: '#9e0168', - lemon_yellow: '#fdff38', - pistachio: '#c0fa8b', - dull_yellow: '#eedc5b', - dark_lime_green: '#7ebd01', - denim_blue: '#3b5b92', - teal_blue: '#01889f', - lightish_blue: '#3d7afd', - purpley_blue: '#5f34e7', - light_indigo: '#6d5acf', - swamp_green: '#748500', - brown_green: '#706c11', - dark_maroon: '#3c0008', - hot_purple: '#cb00f5', - dark_forest_green: '#002d04', - faded_blue: '#658cbb', - drab_green: '#749551', - light_lime_green: '#b9ff66', - snot_green: '#9dc100', - yellowish: '#faee66', - light_blue_green: '#7efbb3', - bordeaux: '#7b002c', - light_mauve: '#c292a1', - ocean: '#017b92', - marigold: '#fcc006', - muddy_green: '#657432', - dull_orange: '#d8863b', - steel: '#738595', - electric_purple: '#aa23ff', - fluorescent_green: '#08ff08', - yellowish_brown: '#9b7a01', - blush: '#f29e8e', - soft_green: '#6fc276', - bright_orange: '#ff5b00', - lemon: '#fdff52', - purple_grey: '#866f85', - acid_green: '#8ffe09', - pale_lavender: '#eecffe', - violet_blue: '#510ac9', - light_forest_green: '#4f9153', - burnt_red: '#9f2305', - khaki_green: '#728639', - cerise: '#de0c62', - faded_purple: '#916e99', - apricot: '#ffb16d', - dark_olive_green: '#3c4d03', - grey_brown: '#7f7053', - green_grey: '#77926f', - true_blue: '#010fcc', - pale_violet: '#ceaefa', - periwinkle_blue: '#8f99fb', - light_sky_blue: '#c6fcff', - blurple: '#5539cc', - green_brown: '#544e03', - bluegreen: '#017a79', - bright_teal: '#01f9c6', - brownish_yellow: '#c9b003', - pea_soup: '#929901', - forest: '#0b5509', - barney_purple: '#a00498', - ultramarine: '#2000b1', - purplish: '#94568c', - puke_yellow: '#c2be0e', - bluish_grey: '#748b97', - dark_periwinkle: '#665fd1', - dark_lilac: '#9c6da5', - reddish: '#c44240', - light_maroon: '#a24857', - dusty_purple: '#825f87', - terra_cotta: '#c9643b', - avocado: '#90b134', - marine_blue: '#01386a', - teal_green: '#25a36f', - slate_grey: '#59656d', - lighter_green: '#75fd63', - electric_green: '#21fc0d', - dusty_blue: '#5a86ad', - golden_yellow: '#fec615', - bright_yellow: '#fffd01', - light_lavender: '#dfc5fe', - umber: '#b26400', - poop: '#7f5e00', - dark_peach: '#de7e5d', - jungle_green: '#048243', - eggshell: '#ffffd4', - denim: '#3b638c', - yellow_brown: '#b79400', - dull_purple: '#84597e', - chocolate_brown: '#411900', - wine_red: '#7b0323', - neon_blue: '#04d9ff', - dirty_green: '#667e2c', - light_tan: '#fbeeac', - ice_blue: '#d7fffe', - cadet_blue: '#4e7496', - dark_mauve: '#874c62', - very_light_blue: '#d5ffff', - grey_purple: '#826d8c', - pastel_pink: '#ffbacd', - very_light_green: '#d1ffbd', - dark_sky_blue: '#448ee4', - evergreen: '#05472a', - dull_pink: '#d5869d', - aubergine: '#3d0734', - mahogany: '#4a0100', - reddish_orange: '#f8481c', - deep_green: '#02590f', - vomit_green: '#89a203', - purple_pink: '#e03fd8', - dusty_pink: '#d58a94', - faded_green: '#7bb274', - camo_green: '#526525', - pinky_purple: '#c94cbe', - pink_purple: '#db4bda', - brownish_red: '#9e3623', - dark_rose: '#b5485d', - mud: '#735c12', - brownish: '#9c6d57', - emerald_green: '#028f1e', - pale_brown: '#b1916e', - dull_blue: '#49759c', - burnt_umber: '#a0450e', - medium_green: '#39ad48', - clay: '#b66a50', - light_aqua: '#8cffdb', - light_olive_green: '#a4be5c', - brownish_orange: '#cb7723', - dark_aqua: '#05696b', - purplish_pink: '#ce5dae', - dark_salmon: '#c85a53', - greenish_grey: '#96ae8d', - jade: '#1fa774', - ugly_green: '#7a9703', - dark_beige: '#ac9362', - emerald: '#01a049', - pale_red: '#d9544d', - light_magenta: '#fa5ff7', - sky: '#82cafc', - light_cyan: '#acfffc', - yellow_orange: '#fcb001', - reddish_purple: '#910951', - reddish_pink: '#fe2c54', - orchid: '#c875c4', - dirty_yellow: '#cdc50a', - orange_red: '#fd411e', - deep_red: '#9a0200', - orange_brown: '#be6400', - cobalt_blue: '#030aa7', - neon_pink: '#fe019a', - rose_pink: '#f7879a', - greyish_purple: '#887191', - raspberry: '#b00149', - aqua_green: '#12e193', - salmon_pink: '#fe7b7c', - tangerine: '#ff9408', - brownish_green: '#6a6e09', - red_brown: '#8b2e16', - greenish_brown: '#696112', - pumpkin: '#e17701', - pine_green: '#0a481e', - charcoal: '#343837', - baby_pink: '#ffb7ce', - cornflower: '#6a79f7', - blue_violet: '#5d06e9', - chocolate: '#3d1c02', - greyish_green: '#82a67d', - scarlet: '#be0119', - green_yellow: '#c9ff27', - dark_olive: '#373e02', - sienna: '#a9561e', - pastel_purple: '#caa0ff', - terracotta: '#ca6641', - aqua_blue: '#02d8e9', - sage_green: '#88b378', - blood_red: '#980002', - deep_pink: '#cb0162', - grass: '#5cac2d', - moss: '#769958', - pastel_blue: '#a2bffe', - bluish_green: '#10a674', - green_blue: '#06b48b', - dark_tan: '#af884a', - greenish_blue: '#0b8b87', - pale_orange: '#ffa756', - vomit: '#a2a415', - forrest_green: '#154406', - dark_lavender: '#856798', - dark_violet: '#34013f', - purple_blue: '#632de9', - dark_cyan: '#0a888a', - olive_drab: '#6f7632', - pinkish: '#d46a7e', - cobalt: '#1e488f', - neon_purple: '#bc13fe', - light_turquoise: '#7ef4cc', - apple_green: '#76cd26', - dull_green: '#74a662', - wine: '#80013f', - powder_blue: '#b1d1fc', - off_white: '#ffffe4', - electric_blue: '#0652ff', - dark_turquoise: '#045c5a', - blue_purple: '#5729ce', - azure: '#069af3', - bright_red: '#ff000d', - pinkish_red: '#f10c45', - cornflower_blue: '#5170d7', - light_olive: '#acbf69', - grape: '#6c3461', - greyish_blue: '#5e819d', - purplish_blue: '#601ef9', - yellowish_green: '#b0dd16', - greenish_yellow: '#cdfd02', - medium_blue: '#2c6fbb', - dusty_rose: '#c0737a', - light_violet: '#d6b4fc', - midnight_blue: '#020035', - bluish_purple: '#703be7', - red_orange: '#fd3c06', - dark_magenta: '#960056', - greenish: '#40a368', - ocean_blue: '#03719c', - coral: '#fc5a50', - cream: '#ffffc2', - reddish_brown: '#7f2b0a', - burnt_sienna: '#b04e0f', - brick: '#a03623', - sage: '#87ae73', - grey_green: '#789b73', - white: '#ffffff', - robins_egg_blue: '#98eff9', - moss_green: '#658b38', - steel_blue: '#5a7d9a', - eggplant: '#380835', - light_yellow: '#fffe7a', - leaf_green: '#5ca904', - light_grey: '#d8dcd6', - puke: '#a5a502', - pinkish_purple: '#d648d7', - sea_blue: '#047495', - pale_purple: '#b790d4', - slate_blue: '#5b7c99', - blue_grey: '#607c8e', - hunter_green: '#0b4008', - fuchsia: '#ed0dd9', - crimson: '#8c000f', - pale_yellow: '#ffff84', - ochre: '#bf9005', - mustard_yellow: '#d2bd0a', - light_red: '#ff474c', - cerulean: '#0485d1', - pale_pink: '#ffcfdc', - deep_blue: '#040273', - rust: '#a83c09', - light_teal: '#90e4c1', - slate: '#516572', - goldenrod: '#fac205', - dark_yellow: '#d5b60a', - dark_grey: '#363737', - army_green: '#4b5d16', - grey_blue: '#6b8ba4', - seafoam: '#80f9ad', - puce: '#a57e52', - spring_green: '#a9f971', - dark_orange: '#c65102', - sand: '#e2ca76', - pastel_green: '#b0ff9d', - mint: '#9ffeb0', - light_orange: '#fdaa48', - bright_pink: '#fe01b1', - chartreuse: '#c1f80a', - deep_purple: '#36013f', - dark_brown: '#341c02', - taupe: '#b9a281', - pea_green: '#8eab12', - puke_green: '#9aae07', - kelly_green: '#02ab2e', - seafoam_green: '#7af9ab', - blue_green: '#137e6d', - khaki: '#aaa662', - burgundy: '#610023', - dark_teal: '#014d4e', - brick_red: '#8f1402', - royal_purple: '#4b006e', - plum: '#580f41', - mint_green: '#8fff9f', - gold: '#dbb40c', - baby_blue: '#a2cffe', - yellow_green: '#c0fb2d', - bright_purple: '#be03fd', - dark_red: '#840000', - pale_blue: '#d0fefe', - grass_green: '#3f9b0b', - navy: '#01153e', - aquamarine: '#04d8b2', - burnt_orange: '#c04e01', - neon_green: '#0cff0c', - bright_blue: '#0165fc', - rose: '#cf6275', - light_pink: '#ffd1df', - mustard: '#ceb301', - indigo: '#380282', - lime: '#aaff32', - sea_green: '#53fca1', - periwinkle: '#8e82fe', - dark_pink: '#cb416b', - olive_green: '#677a04', - peach: '#ffb07c', - pale_green: '#c7fdb5', - light_brown: '#ad8150', - hot_pink: '#ff028d', - black: '#000000', - lilac: '#cea2fd', - navy_blue: '#001146', - royal_blue: '#0504aa', - beige: '#e6daa6', - salmon: '#ff796c', - olive: '#6e750e', - maroon: '#650021', - bright_green: '#01ff07', - dark_purple: '#35063e', - mauve: '#ae7181', - forest_green: '#06470c', - aqua: '#13eac9', - cyan: '#00ffff', - tan: '#d1b26f', - dark_blue: '#00035b', - lavender: '#c79fef', - turquoise: '#06c2ac', - dark_green: '#033500', - violet: '#9a0eea', - light_purple: '#bf77f6', - lime_green: '#89fe05', - grey: '#929591', - sky_blue: '#75bbfd', - yellow: '#ffff14', - magenta: '#c20078', - light_green: '#96f97b', - orange: '#f97306', - teal: '#029386', - light_blue: '#95d0fc', - red: '#e50000', - brown: '#653700', - pink: '#ff81c0', - blue: '#0343df', - green: '#15b01a', - purple: '#7e1e9c' - }.freeze GR_FONTS = { times_roman: 101, times_italic: 102, diff --git a/lib/rubyplot/scripting_backends/gr/plots.rb b/lib/rubyplot/scripting_backends/gr/plots.rb index 05cb41e..816d3b4 100644 --- a/lib/rubyplot/scripting_backends/gr/plots.rb +++ b/lib/rubyplot/scripting_backends/gr/plots.rb @@ -1,25 +1,57 @@ module Rubyplot module Scripting module Plots - class RobustBase - include Rubyplot::GRWrapper::Tasks - attr_reader :plot_type - def initialize - @tasks = [] - @plot_type = :robust - end + # All plots are derived from a BasePlot. Currently there are two types of + # plots Robust Plots that derive from RobustBase and Lazy Plots that + # derive from LazyBase. + module BasePlots + # Base class for Robust Plots. + # + # Robust plots are the plots which are independent of the state of the + # Figure. + # + # For example: A scatter plot is independent of the location of axes. + # Plots which are Sub classes of RobustBase append the instances of GR + # function classes to tasks when initialised. + # These instances are called via the call method defined in RobustBase. + # + class RobustBase + include Rubyplot::GRWrapper::Tasks + include Rubyplot::Color + attr_reader :plot_type + def initialize + @tasks = [] + @plot_type = :robust + end - def call - @tasks.each do |task| - task.call() + def call + @tasks.each do |task| + task.call() + end end end - end - class LazyBase # call function will be unique for every plot - include Rubyplot::GRWrapper::Tasks - attr_reader :plot_type - def initialize - @plot_type = :lazy + # Base class for Lazy plots. + # + # Lazy plots are the plots which are dependent on the state of Figure + # + # For example: A bar graphs base would depend on the location of axes + # which is determined when the figure is viewed or saved. + # + # In Lazy plots the state of the Figure is passed when they are called + # from PlotSpace + # Every lazy plot has a unique call function rather than inherting it + # from LazyBase. + # In LazyPlots the instances of GR Function Classes are called as soon + # as they are instantiated. This all is done in the call function + # + # + class LazyBase + include Rubyplot::GRWrapper::Tasks + include Rubyplot::Color + attr_reader :plot_type + def initialize + @plot_type = :lazy + end end end end diff --git a/lib/rubyplot/scripting_backends/gr/plots/bar.rb b/lib/rubyplot/scripting_backends/gr/plots/bar.rb index c7108d0..05e6494 100644 --- a/lib/rubyplot/scripting_backends/gr/plots/bar.rb +++ b/lib/rubyplot/scripting_backends/gr/plots/bar.rb @@ -1,7 +1,7 @@ module Rubyplot module Scripting module Plots - class Bar < LazyBase + class Bar < BasePlots::LazyBase def initialize(data, bar_color: :default, bar_width: :default, bar_gap: :default, bar_edge: :default, bar_edge_color: :default, bar_edge_width: :default) diff --git a/lib/rubyplot/scripting_backends/gr/plots/candlestick.rb b/lib/rubyplot/scripting_backends/gr/plots/candlestick.rb index ad99828..576cf82 100644 --- a/lib/rubyplot/scripting_backends/gr/plots/candlestick.rb +++ b/lib/rubyplot/scripting_backends/gr/plots/candlestick.rb @@ -1,7 +1,7 @@ module Rubyplot module Scripting module Plots - class Candlestick < RobustBase + class Candlestick < BasePlots::RobustBase # To do declare constants for marker types and colours # Allow list of types and colours to be passed def initialize(open_, high, low, close_, bar_gap, bar_width, diff --git a/lib/rubyplot/scripting_backends/gr/plots/line.rb b/lib/rubyplot/scripting_backends/gr/plots/line.rb index 55d7b23..e75af2a 100644 --- a/lib/rubyplot/scripting_backends/gr/plots/line.rb +++ b/lib/rubyplot/scripting_backends/gr/plots/line.rb @@ -1,7 +1,7 @@ module Rubyplot module Scripting module Plots - class Line < RobustBase + class Line < BasePlots::RobustBase # To do declare constants for marker types and colours # Allow list of types and colours to be passed def initialize(x_coordinates, y_coordinates, line_width: :default, diff --git a/lib/rubyplot/scripting_backends/gr/plots/scatter.rb b/lib/rubyplot/scripting_backends/gr/plots/scatter.rb index ddf6126..323bf73 100644 --- a/lib/rubyplot/scripting_backends/gr/plots/scatter.rb +++ b/lib/rubyplot/scripting_backends/gr/plots/scatter.rb @@ -1,7 +1,7 @@ module Rubyplot module Scripting module Plots - class Scatter < RobustBase + class Scatter < BasePlots::RobustBase # To do declare constants for marker types and colours # Allow list of types and colours to be passed def initialize(x_coordinates, y_coordinates, marker_size: :default, diff --git a/lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb b/lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb index 2c1e4dd..9c14b64 100644 --- a/lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb +++ b/lib/rubyplot/scripting_backends/gr/plots/stacked_bar_z.rb @@ -1,7 +1,7 @@ module Rubyplot module Scripting module Plots - class StackedBarZ < LazyBase + class StackedBarZ < BasePlots::LazyBase def initialize(data, bar_colors: :default, bar_width: :default, bar_gap: :default, bar_edge: :default, bar_edge_color: :default, bar_edge_width: :default) @@ -20,11 +20,7 @@ def initialize(data, bar_colors: :default, bar_width: :default, @bar_edge = true if @bar_edge == :default @bar_colors = CONTRASTING_COLORS if @bar_colors == :default @bar_edge_color = COLOR_INDEX[:black] if @bar_edge_color == :default -<<<<<<< HEAD - @bar_edge_color = COLOR_INDEX[bar_edge_color] if @bar_edge_color.is_a? Symbol -======= @bar_edge_color = COLOR_INDEX[marker_color] if @bar_edge_color.is_a? Symbol ->>>>>>> fa09d6f01eaa3723220ee0416e84a79672afbb9c @data = data # All this will be repurposed end diff --git a/lib/rubyplot/scripting_backends/gr/plotspace.rb b/lib/rubyplot/scripting_backends/gr/plotspace.rb index a62b20e..00b452d 100644 --- a/lib/rubyplot/scripting_backends/gr/plotspace.rb +++ b/lib/rubyplot/scripting_backends/gr/plotspace.rb @@ -1,6 +1,7 @@ module Rubyplot class Plotspace include Rubyplot::GRWrapper::Tasks + include Rubyplot::Color def initialize(state) @state = state end diff --git a/spec/reference_images/single_plot_graph/stacked_bar_graph.bmp b/spec/reference_images/single_plot_graph/stacked_bar_graph.bmp new file mode 100644 index 0000000..820e009 Binary files /dev/null and b/spec/reference_images/single_plot_graph/stacked_bar_graph.bmp differ diff --git a/spec/scripting_layer/single_plot_graph_spec.rb b/spec/scripting_layer/single_plot_graph_spec.rb index a44cbec..2e38ede 100644 --- a/spec/scripting_layer/single_plot_graph_spec.rb +++ b/spec/scripting_layer/single_plot_graph_spec.rb @@ -83,13 +83,13 @@ 'red_bar_graph.bmp', 10)).to eq(true) end - it 'creates a bar graph with blue color bars with spaces' do + it 'creates a bar graph with orange color bars with spaces' do a = Rubyplot::Figure.new - a.bar! @values, bar_color: :blue + a.bar! @values, bar_color: :orange, bar_gap: 1 a.save 'spec/reference_images/file_name.bmp' expect(compare_with_reference?('file_name.bmp', 'single_plot_graph/' \ - 'blue_spaced_bar_graph.bmp', + 'orange_spaced_bar_graph.bmp', 10)).to eq(true) end end @@ -114,7 +114,7 @@ it 'creates a stacked bar graph with user defined colors' do a = Rubyplot::Figure.new - a.stacked_bar! @bars_data,[:black, :red, :green, :blue] + a.stacked_bar! @bars_data,bar_colors: [:black, :red, :green, :blue] a.save 'spec/reference_images/file_name.bmp' expect(compare_with_reference?('file_name.bmp', 'single_plot_graph/' \