graphkit 0.3.2 → 0.3.3

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: bdbe050c6f386f51109a34368d1fdd6c5961a227
4
- data.tar.gz: 265725804152d9e5c300b9e8bd8e62958de3bc7c
3
+ metadata.gz: 7275a780e1173343c3669382aaa9ab912483bc20
4
+ data.tar.gz: 5997ffe51dfa6b9678622c5ae5b7b78b69a49d53
5
5
  SHA512:
6
- metadata.gz: 26c48286fbb19740941518bea860e171f68c31435aea1cebdd98b60bb772231bdbcbd5eff5f8aac0a5bf34a10e0862412a887f5b7654e7f6568ea87c22c63d99
7
- data.tar.gz: 9e9aa7356816c1e79b7f09b7b5fa8aef4b8eba00f9a975387e0491dea3bc925efce4b7b6922d20ebf48153ca1d2e14b13d3e08e3f6a73162886794a45a537a60
6
+ metadata.gz: 7a61ffa257934a61221b8a852f0ce5969a95721e5342c1f37b381d8e2354323c1fc63a5a74cf29a33f7e092e62029a6195c109ea03a41ec792c4f90d7b9a7297
7
+ data.tar.gz: 330d31990c05cc65c8cc6243a0ad5206f0eecff5b99866315b54791c61e71012dc1cdcffb229be042e1f67e3a79ed650d25bd52ef532003fe3e5f443d6446b6f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.2
1
+ 0.3.3
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.2 ruby lib
5
+ # stub: graphkit 0.3.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "graphkit"
9
- s.version = "0.3.2"
9
+ s.version = "0.3.3"
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-04-01"
14
+ s.date = "2014-04-03"
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 = [
@@ -476,8 +476,9 @@ end
476
476
 
477
477
 
478
478
 
479
+ module Writer
479
480
  def gnuplot_write(file_name, options={})
480
- logf :gnuplot_write
481
+ #logf :gnuplot_write
481
482
  old_gp_term = gp.term
482
483
  old_gp_output = gp.output
483
484
  if file_name
@@ -522,6 +523,7 @@ end
522
523
  gp.output = old_gp_output
523
524
  return File.basename(file_name, File.extname(file_name))
524
525
  end
526
+ end
525
527
 
526
528
  def self.latex_multiplot(name, options={})
527
529
  name = name.sub(/\.eps$/, '')
@@ -555,6 +557,7 @@ EOF
555
557
 
556
558
 
557
559
  class MultiWindow
560
+ include Writer
558
561
 
559
562
  def gnuplot_sets
560
563
  # gnuplot_options included for back. comp
@@ -571,7 +574,7 @@ EOF
571
574
  end
572
575
  raise "Nothing to plot: size = 0" if size==0
573
576
  #self[0].gp.multiplot = options[:multiplot] || "layout #{size},1"
574
- gp.multiplot = options[:multiplot] || "layout #{size},1"
577
+ gp.multiplot ||= options[:multiplot] || "layout #{size},1"
575
578
  for i in 0...self.size
576
579
  self[i].gp.multiplot_following = true
577
580
  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.2
4
+ version: 0.3.3
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-04-01 00:00:00.000000000 Z
11
+ date: 2014-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyhacks