From 54ec1c4fe81672ca66f327ef6ae170f458cd79e5 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Wed, 15 Aug 2007 20:57:30 +0000 Subject: sorry. I made wrong tags. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_5_54@13009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ruby_1_8_5/ext/tk/sample/tkextlib/blt/graph7b.rb | 41 ------------------------ 1 file changed, 41 deletions(-) delete mode 100644 ruby_1_8_5/ext/tk/sample/tkextlib/blt/graph7b.rb (limited to 'ruby_1_8_5/ext/tk/sample/tkextlib/blt/graph7b.rb') diff --git a/ruby_1_8_5/ext/tk/sample/tkextlib/blt/graph7b.rb b/ruby_1_8_5/ext/tk/sample/tkextlib/blt/graph7b.rb deleted file mode 100644 index c589f18d86..0000000000 --- a/ruby_1_8_5/ext/tk/sample/tkextlib/blt/graph7b.rb +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env ruby -require 'tk' -require 'tkextlib/blt' - -length = 250000 -graph = Tk::BLT::Graph.new(:title=>"Scatter Plot\n#{length} points") -graph.xaxis_configure(:loose=>false, :title=>'X Axis Label') -graph.yaxis_configure(:title=>'Y Axis Label') -graph.legend_configure(:activerelief=>:sunken, :background=>'') - -Tk::BLT::Table.add(Tk.root, graph, [0,0], :fill=>:both) - -x = Array.new(length) -y = Array.new(length) -(0...length).each{|i| - x[i] = rand - y[i] = rand -} - -plot = Tk::BLT::PlotComponent::Element.new(graph, :symbol=>:square, - :color=>'green4', :fill=>'green2', - :linewidth=>0, :outlinewidth=>1, - :pixels=>4, :label=>'plot', - :xdata=>x, :ydata=>y) - -Tk.root.minsize(0, 0) - -#graph.zoom_stack -#graph.crosshairs -#graph.active_legend -#graph.closest_point -Tk::BLT.zoom_stack(graph) -Tk::BLT.crosshairs(graph) -Tk::BLT.active_legend(graph) -Tk::BLT.closest_point(graph) - -Tk::BLT::Busy.hold(graph) -Tk.update -Tk::BLT::Busy.release(graph) - -Tk.mainloop -- cgit v1.2.3