egui icon indicating copy to clipboard operation
egui copied to clipboard

Additional plot functionallity

Open Zoxc opened this issue 3 years ago • 0 comments

This is based on https://github.com/emilk/egui/pull/2028.

This adds new auto_bounds_x and auto_bounds_y methods which allows auto bounds to be used in combination with include_x and include_y. The plot code is refactored to track when bounds are modified and it will use auto bounds and the values from include_x and include_y until then.

Double clicking is changed to reset the bounds to their initial value.

A new reset method is added which resets the plot state which is useful if you're loading a new dataset.

Zoxc avatar Sep 08 '22 05:09 Zoxc