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

Method invert_y

egui_plot/src/plot.rs:236–239  ·  view source on GitHub ↗
(mut self, invert: bool)

Source from the content-addressed store, hash-verified

234 /// By default the y-axis is not inverted (i.e. positive values go up).
235 #[inline]
236 pub fn invert_y(mut self, invert: bool) -> Self {
237 self.invert_y = invert;
238 self
239 }
240
241 /// Width of plot. By default a plot will fill the ui it is in.
242 /// If you set [`Self::view_aspect`], the width can be calculated from the

Callers 2

show_plotMethod · 0.80
show_plotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected