Class: Cosmos::SinglexyPlotGuiObject
- Inherits:
-
XyPlotGuiObject
- Object
- Qt::Base
- Qt::Widget
- LineGraph
- LinegraphPlotGuiObject
- XyPlotGuiObject
- Cosmos::SinglexyPlotGuiObject
- Defined in:
- lib/cosmos/tools/tlm_grapher/plot_gui_objects/singlexy_plot_gui_object.rb
Overview
Represents a single X-Y graph plot in the graphing system. This class extends XyPlotGuiObject by re-implementing update_plot.
Constant Summary
Constants inherited from LinegraphPlotGuiObject
LinegraphPlotGuiObject::SELECTED_FRAME_COLOR
Constants inherited from LineGraph
LineGraph::DOUBLE_CLICK_SECONDS, LineGraph::FRAME_OFFSET, LineGraph::GRAPH_SPACER, LineGraph::LABEL_TICK_SIZE, LineGraph::LEFT_X_LABEL_WIDTH_ADJUST
Instance Attribute Summary
Attributes inherited from LineGraph
#draw_cursor_line_callback, #horizontal_lines, #left_y_max, #left_y_min, #mouse_leave_callback, #mouse_left_button_press_callback, #post_error_callback, #pre_error_callback, #right_y_max, #right_y_min, #x_max, #x_max_label, #x_min, #x_min_label
Instance Method Summary collapse
-
#update_plot(points_plotted, min_x_value, max_x_value) ⇒ Object
Updates the lines on the plot.
Methods inherited from XyPlotGuiObject
Methods inherited from LinegraphPlotGuiObject
#initialize, #redraw, #select, #selected?, #unselect, #update, #update_overview
Methods inherited from LineGraph
#add_horizontal_line, #add_line, #add_popups_for_lines, #adjust_popup_positions, attr_accessor_with_redraw, #auto_scale_x, #auto_scale_y, #auto_scale_y_axis, #build_popups_from_x_value, #build_x_grid_lines, #build_y_grid_lines, #calculate_base, #calculate_scaling_factors, #calculate_x_grid_lines, #calculate_y_grid_lines, #calculate_y_labels, #clear_canvas_and_draw_graph_rectangle, #clear_horizontal_lines, #clear_lines, #convert_x_value_to_text, #convert_y_value_to_text, #determine_graph_size, #draw_cursor_line_and_popups, #draw_cursor_line_and_popups_at_x, #draw_error_icon, #draw_frame, #draw_graph_into_back_buffer, #draw_graph_to_screen, #draw_horizontal_lines, #draw_legend, #draw_line, #draw_lines, #draw_origin_lines, #draw_popups, #draw_title, #draw_x_axis_grid_lines, #draw_x_axis_title, #draw_x_label_and_grid_line, #draw_y_axis_grid_lines, #draw_y_axis_title, #draw_y_label_and_grid_line, #graph, #initialize, #leaveEvent, #manual_scale_x, #manual_scale_y, #mouseMoveEvent, #mousePressEvent, #mouseReleaseEvent, #paintEvent, #remote_draw_cursor_line_at_x, #resizeEvent, #scale_graph, #scale_graph_to_value_x, #scale_left_to_right_y, #scale_value_to_graph_x, #scale_value_to_graph_y, #update_graph_size
Constructor Details
This class inherits a constructor from Cosmos::LinegraphPlotGuiObject
Instance Method Details
#update_plot(points_plotted, min_x_value, max_x_value) ⇒ Object
Updates the lines on the plot
21 22 23 |
# File 'lib/cosmos/tools/tlm_grapher/plot_gui_objects/singlexy_plot_gui_object.rb', line 21 def update_plot(points_plotted, min_x_value, max_x_value) super(points_plotted, min_x_value, max_x_value, true) end |