Logo Search packages:      
Sourcecode: ygraph version File versions  Download package

void plot_window_reconfigure ( Plot plot  ) 

Recalculate the ij data when the window size changes or the plot is zoomed.

Parameters:
plot The Plot.

Definition at line 514 of file plot_window.c.

References _Plot::fixed_range, ij_dimensions_set(), plot_axes_create(), _Plot::plot_data, plot_line_create(), plot_range_set(), and plot_window_set_title().

Referenced by axis_set_from_dialog(), axis_toggle_log_state(), data_reload_all(), data_reload_plot(), plot_area_zoom_finish(), plot_window_configure(), plot_window_unzoom(), and scale_set_from_entry().

{
  YDEB("plot_window_reconfigure\n");
  if (!plot->fixed_range)
      plot_range_set(plot, INIT_DATA);
  plot_axes_create(plot);
  ij_dimensions_set(plot);

  plot->plot_data = plot_line_create(plot);

  plot_window_set_title(plot);
}


Generated by  Doxygen 1.6.0   Back to index