MCPcopy Create free account
hub / github.com/GeoDaCenter/geoda / OnViewOriginalData

Method OnViewOriginalData

Explore/ScatterPlotMatView.cpp:283–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281
282
283void ScatterPlotMatFrame::OnViewOriginalData(wxCommandEvent& event)
284{
285 view_standardized_data = !view_standardized_data;
286 for (size_t i=0, sz=scatt_plots.size(); i<sz; ++i) {
287 scatt_plots[i]->ViewOriginalData(!view_standardized_data);
288 }
289 for (size_t i=0, sz=vert_labels.size(); i<sz; ++i) {
290 if (vert_labels[i]) vert_labels[i]->ViewStandardizedData(view_standardized_data);
291 }
292 for (size_t i=0, sz=horiz_labels.size(); i<sz; ++i) {
293 if (horiz_labels[i]) horiz_labels[i]->ViewStandardizedData(view_standardized_data);
294 }
295 UpdateOptionMenuItems();
296}
297
298
299void ScatterPlotMatFrame::OnViewLinearSmoother(wxCommandEvent& event)

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.45
ViewOriginalDataMethod · 0.45
ViewStandardizedDataMethod · 0.45

Tested by

no test coverage detected