Class: VisualisationUtils::BasicParser

Inherits:
Object
  • Object
show all
Defined in:
lib/visualisation-utils.rb

Instance Method Summary collapse

Instance Method Details

#standard_opts(opt) ⇒ Object



6
7
8
9
10
11
12
13
14
15
# File 'lib/visualisation-utils.rb', line 6

def standard_opts(opt)
    opt.opt :outfile, "Output file name", :type => String, :short => 'o'
    opt.opt :debug, "debug"
    opt.opt :title, "Title", :type => String, :short => 't'
    opt.opt :font, "Font", :type => String, :short => 'f'
    opt.opt :font_size, "Font size", :type => String
    opt.opt :dimensions, "Image dimensions", :type => String
    opt.opt :transparent, "use transparent background"
    opt.opt :extra_header, "Extra commands to be put in the header of the gnuplot file", :type => String
end