File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,6 @@ module GnuplotRB
19
19
# Range (xrange: 0..100), or String (yrange: '[0:100]').
20
20
# * title - plot's title. Takes String (title: 'Some new plot').
21
21
# * polar (parametric) - plot in polar or parametric space. Takes boolean (true).
22
- # * using - choose which columns of input data gnuplot should use. Takes String
23
- # (using: 'xtic(1):2:3'). If Daru::Dataframe passed one can use column names
24
- # instead of numbers (using: 'index:value1:summ' - value1 and summ here are column names).
25
22
# * style_data - set style for plotting data. Takes string, possible values: histogram,
26
23
# points, lines, linespoints, boxes etc. See gnuplot docs for more.
27
24
# * term - select terminal used by gnuplot. Examples: { term: 'png' },
Original file line number Diff line number Diff line change @@ -4,6 +4,20 @@ module GnuplotRB
4
4
# Dataset keeps control of Datablock or String (some math functions like
5
5
# this 'x*sin(x)' or filename) and options related to original dataset
6
6
# in gnuplot (with, title, using etc).
7
+ #
8
+ # === Options
9
+ # Dataset options are explained in
10
+ # {gnuplot docs}[http://www.gnuplot.info/docs_5.0/gnuplot.pdf](pp. 80-101).
11
+ # Several common options:
12
+ # * with - set plot style for dataset ('lines', 'points', 'impulses' etc)
13
+ # * using - choose which columns of input data gnuplot should use. Takes String
14
+ # (using: 'xtic(1):2:3'). If Daru::Dataframe passed one can use column names
15
+ # instead of numbers (using: 'index:value1:summ' - value1 and summ here are column names).
16
+ # * linewidth (lw) - integer line width
17
+ # * dashtype (dt) - takes pattern with dash style. Examples: '.. ', '-- ', '.- '.
18
+ # * pointtype (pt) - takes integer number of point type (works only when :with option is set to
19
+ # 'points'). One can call Terminal::test(term_name)
20
+ # or Terminal#test in order to see which point types are supported by terminal.
7
21
class Dataset
8
22
include Plottable
9
23
##
You can’t perform that action at this time.
0 commit comments