MCPcopy Create free account
hub / github.com/emilk/egui_plot / view_aspect

Method view_aspect

egui_plot/src/plot.rs:219–222  ·  view source on GitHub ↗
(mut self, view_aspect: f32)

Source from the content-addressed store, hash-verified

217 /// ui it is in).
218 #[inline]
219 pub fn view_aspect(mut self, view_aspect: f32) -> Self {
220 self.view_aspect = Some(view_aspect);
221 self
222 }
223
224 /// Set whether to invert the x-axis (i.e. positive values go to the left).
225 /// By default the x-axis is not inverted (i.e. positive values go to the

Callers 1

show_plotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected