bplot 0.0.2.2 → 0.0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Tutorial +3 -3
- metadata +1 -1
data/Tutorial
CHANGED
@@ -272,10 +272,10 @@ strings (the style strings can be blank).
|
|
272
272
|
|
273
273
|
|
274
274
|
Learning the compact style syntax is especially important for multiple plots because
|
275
|
-
|
275
|
+
the named parameters like :title can only be included once in a plot command, and
|
276
276
|
they always apply to the last data set only.
|
277
277
|
|
278
|
-
There is also a *multiplot* method which can be "abused" to plot several
|
278
|
+
There is also a *multiplot* method which can be "abused" to plot several different
|
279
279
|
data sets in the same plot, using several different plot commands.
|
280
280
|
|
281
281
|
b.multiplot do
|
@@ -289,7 +289,7 @@ But the real power of *multiplot* is the ability to place several entirely separ
|
|
289
289
|
plots on the same page, using any layout that you wish. To see an exaple of how this
|
290
290
|
works, try the following examples:
|
291
291
|
|
292
|
-
b.multiplot('layout 1,3 title "Multiplot
|
292
|
+
b.multiplot('layout 1,3 title "Multiplot Example" ') do
|
293
293
|
b.set('title "Quadratic"')
|
294
294
|
b.plot(x, y1, :color => 'red', :lines => '1;dashed')
|
295
295
|
b.set('title "Linear"')
|