graphkit 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 58848dc762071052dd209c56f4b1d46c8fc78f58
4
- data.tar.gz: 70cc13fbb6ed372ceb80f7bb53defe4d0f750ebc
3
+ metadata.gz: bdbe050c6f386f51109a34368d1fdd6c5961a227
4
+ data.tar.gz: 265725804152d9e5c300b9e8bd8e62958de3bc7c
5
5
  SHA512:
6
- metadata.gz: 00fab96a387adb0e65584cda2dfb8c9fc0f529ad50d7ac901f856f82ce6e1a58cff17eec9c3d7056d77210b9a785d251e5af318ec11967bd8b8bbc699e1a0df6
7
- data.tar.gz: bc99fb428607acdd122a2caa7c9e507df924999a72efd0a48997643d3d8d10f506aee5ab469c338063d77d571507d194c7397479b7160e426db1d45b58594a1d
6
+ metadata.gz: 26c48286fbb19740941518bea860e171f68c31435aea1cebdd98b60bb772231bdbcbd5eff5f8aac0a5bf34a10e0862412a887f5b7654e7f6568ea87c22c63d99
7
+ data.tar.gz: 9e9aa7356816c1e79b7f09b7b5fa8aef4b8eba00f9a975387e0491dea3bc925efce4b7b6922d20ebf48153ca1d2e14b13d3e08e3f6a73162886794a45a537a60
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
data/graphkit.gemspec CHANGED
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: graphkit 0.3.1 ruby lib
5
+ # stub: graphkit 0.3.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "graphkit"
9
- s.version = "0.3.1"
9
+ s.version = "0.3.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Edmund Highcock"]
14
- s.date = "2014-03-17"
14
+ s.date = "2014-04-01"
15
15
  s.description = "A GraphKit is a device independent intelligent data container that allows the easy sharing, combining and plotting of graphic data representations. Easily created from data, they can be output in a variety of formats using packages such as gnuplot. "
16
16
  s.email = "edmundhighcock@sourceforge.net"
17
17
  s.extra_rdoc_files = [
@@ -39,7 +39,7 @@ Gem::Specification.new do |s|
39
39
  s.homepage = "http://github.com/edmundhighcock/graphkit"
40
40
  s.licenses = ["GPLv3"]
41
41
  s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
42
- s.rubygems_version = "2.2.1"
42
+ s.rubygems_version = "2.2.2"
43
43
  s.summary = "A GraphKit is a device independent intelligent data container for generating and plotting graphs."
44
44
 
45
45
  if s.respond_to? :specification_version then
@@ -556,6 +556,13 @@ EOF
556
556
 
557
557
  class MultiWindow
558
558
 
559
+ def gnuplot_sets
560
+ # gnuplot_options included for back. comp
561
+ @gnuplot_sets ||= GnuplotSetOptions.new
562
+ @gnuplot_sets
563
+ end
564
+ alias :gp :gnuplot_sets
565
+
559
566
  def method_missing(meth, *args)
560
567
  if args[-1].kind_of? Hash
561
568
  options = args.pop
@@ -563,11 +570,13 @@ EOF
563
570
  options = {}
564
571
  end
565
572
  raise "Nothing to plot: size = 0" if size==0
566
- self[0].gp.multiplot = options[:multiplot] || "layout #{size},1"
567
- for i in 1...self.size
573
+ #self[0].gp.multiplot = options[:multiplot] || "layout #{size},1"
574
+ gp.multiplot = options[:multiplot] || "layout #{size},1"
575
+ for i in 0...self.size
568
576
  self[i].gp.multiplot_following = true
569
577
  end
570
578
  Gnuplot.open(true) do |io|
579
+ @gnuplot_sets.apply(io)
571
580
  options[:io] = io
572
581
  each do |gk|
573
582
  #p gk.to_s
@@ -576,8 +585,8 @@ EOF
576
585
  end
577
586
  options.delete(:io)
578
587
  end
579
- for i in 1...self.size
580
- self[i].multiplot = false
588
+ for i in 0...self.size
589
+ self[i].multiplot_following = false
581
590
  end
582
591
  end
583
592
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Highcock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-17 00:00:00.000000000 Z
11
+ date: 2014-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyhacks
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.2.1
130
+ rubygems_version: 2.2.2
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: A GraphKit is a device independent intelligent data container for generating