pub fn export_plot_data<F>( f: F, x_range: (f64, f64), n_points: usize, format: ExportFormat, ) -> Result<Vec<u8>, Box<dyn Error>>where F: Fn(f64) -> f64,
Export plot data in various formats