Skip to content

Commit dcb45ab

Browse files
committed
Oops, textile lists don't behave the expected way. Fixed.
1 parent 5ff65fe commit dcb45ab

File tree

1 file changed

+7
-24
lines changed

1 file changed

+7
-24
lines changed

README.textile

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,11 @@ h2. Ruby Gnuplot Concepts
2929
plot:
3030

3131

32-
# Instantiate a @Plot@ or @Splot@ object and set parameters by gnuplot
33-
# variable name.
32+
# Instantiate a @Plot@ or @Splot@ object and set parameters by gnuplot variable name.
3433

35-
# Instantiate @DataSet@ objects and attach Ruby objects containing
36-
the data to be plotted to the @DataSet@. Attach properties that modify
37-
the plot command using the modifier name.
34+
# Instantiate @DataSet@ objects and attach Ruby objects containing the data to be plotted to the @DataSet@. Attach properties that modify the plot command using the modifier name.
3835

39-
# Send the @Plot@/@Splot@ object to a @Gnuplot@ instance for
40-
plotting.
36+
# Send the @Plot@/@Splot@ object to a @Gnuplot@ instance for plotting.
4137

4238
The Version 2.0 interface makes very heavy use of blocks leading to very
4339
readable code.
@@ -90,26 +86,13 @@ h3. Simple sin wave
9086
bq. The following example simply plots the value of sin(x) between the
9187
ranges of -10 and 10. A few points to notice:
9288

93-
* The code uses nested blocks to construct the plot. The newly
94-
created object is passed to the block so it can be modified in
95-
place.
89+
* The code uses nested blocks to construct the plot. The newly created object is passed to the block so it can be modified in place.
9690

97-
* Each of the gnuplot plot variables are modified using the
98-
variable name as a method name on the plot object or on the dataset
99-
object. The wrapper also takes care of the single quoting that is
100-
required on some of the variables like @title@, @ylabel@, and @xlabel@.
101-
91+
* Each of the gnuplot plot variables are modified using the variable name as a method name on the plot object or on the dataset object. The wrapper also takes care of the single quoting that is required on some of the variables like @title@, @ylabel@, and @xlabel@.
10292

103-
* The plot object simply has an array of @DataSet@s. The
104-
constructor initializes this empty array before yielding to the
105-
block. This method uses the @<<@ operator to add the @DataSet@ to
106-
the plot.
107-
93+
* The plot object simply has an array of @DataSet@s. The constructor initializes this empty array before yielding to the block. This method uses the @<<@ operator to add the @DataSet@ to the plot.
10894

109-
* When the plot block ends, if an @IO@ object is given to the @Plot@
110-
constructor, the plot commands will be written to the @IO@ object.
111-
Any object can be passed to the constructor as long as it
112-
understands the @<<@ operator.
95+
* When the plot block ends, if an @IO@ object is given to the @Plot@ constructor, the plot commands will be written to the @IO@ object. Any object can be passed to the constructor as long as it understands the @<<@ operator.
11396

11497
<pre>
11598
Gnuplot.open do |gp|

0 commit comments

Comments
 (0)