graphkit 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/graphkit.gemspec +3 -3
- data/lib/graphkit/gnuplot.rb +5 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7275a780e1173343c3669382aaa9ab912483bc20
|
4
|
+
data.tar.gz: 5997ffe51dfa6b9678622c5ae5b7b78b69a49d53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a61ffa257934a61221b8a852f0ce5969a95721e5342c1f37b381d8e2354323c1fc63a5a74cf29a33f7e092e62029a6195c109ea03a41ec792c4f90d7b9a7297
|
7
|
+
data.tar.gz: 330d31990c05cc65c8cc6243a0ad5206f0eecff5b99866315b54791c61e71012dc1cdcffb229be042e1f67e3a79ed650d25bd52ef532003fe3e5f443d6446b6f
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
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.
|
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.
|
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-
|
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 = [
|
data/lib/graphkit/gnuplot.rb
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyhacks
|