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

Method data_aspect

egui_plot/src/plot.rs:210–213  ·  view source on GitHub ↗
(mut self, data_aspect: f32)

Source from the content-addressed store, hash-verified

208 /// By default the plot window's aspect ratio is used.
209 #[inline]
210 pub fn data_aspect(mut self, data_aspect: f32) -> Self {
211 self.data_aspect = Some(data_aspect);
212 self
213 }
214
215 /// width / height ratio of the plot region.
216 /// By default no fixed aspect ratio is set (and width/height will fill the

Callers 8

show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80
show_plotMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected