Class: CTioga2::Graphics::Styles::BaseContourStyle

Inherits:
BasicStyle
  • Object
show all
Defined in:
lib/ctioga2/graphics/styles/contour.rb

Overview

The base for a contour plot

Direct Known Subclasses

ContoursStyle

Constant Summary

Constants inherited from BasicStyle

CTioga2::Graphics::Styles::BasicStyle::AllStyles, CTioga2::Graphics::Styles::BasicStyle::OldAttrAccessor

Instance Method Summary collapse

Methods inherited from BasicStyle

alias_for, aliases, attr_accessor, attribute_type, attribute_types, attributes, convert_string_hash, defined_aliases, deprecated_attribute, from_hash, inherited, #instance_variable_defined?, normalize_hash, normalize_in, normalize_out, options_hash, #set_from_hash, sub_style, sub_styles, #to_hash, typed_attribute, #update_from_other, #use_defaults_from

Instance Method Details

#make_contour(table, level, opts = {}) ⇒ Object



32
33
34
35
36
37
# File 'lib/ctioga2/graphics/styles/contour.rb', line 32

def make_contour(table, level, opts = {})
  if @conrec && (! opts.key? 'method')
    opts['method'] = 'conrec'
  end
  return table.make_contour(level, opts)
end