Class: CTioga::TickLabels
Overview
A tick label is basically the same thing as a label
Constant Summary
Constants inherited from Label
Instance Attribute Summary
Attributes inherited from Label
Instance Method Summary collapse
- #color=(*a) ⇒ Object
-
#extension(t) ⇒ Object
Extension currently does not work really well.
- #show(t) ⇒ Object
Methods inherited from Label
Methods included from Log
#identify, #init_logger, #logger, #logger_options, #spawn
Constructor Details
This class inherits a constructor from CTioga::Label
Instance Method Details
#color=(*a) ⇒ Object
461 462 463 |
# File 'lib/CTioga/axes.rb', line 461 def color=(*a) error "There is no attribute color for tick labels" end |
#extension(t) ⇒ Object
Extension currently does not work really well.
447 448 449 |
# File 'lib/CTioga/axes.rb', line 447 def extension(t) return [0,0,0,0] end |
#show(t) ⇒ Object
451 452 453 454 455 456 457 458 |
# File 'lib/CTioga/axes.rb', line 451 def show(t) for attr in Attributes if instance_variables.include?("@#{attr}") val = instance_variable_get("@#{attr}") t.send("#{which}_#{attr}=", val) end end end |