Root Finder
1.0
Using various numerical methods
Loading...
Searching...
No Matches
plotting.h
Go to the documentation of this file.
1
/*
2
@Author: Gilbert Young
3
@Time: 2024/09/19 01:47
4
@File_name: plotting.h
5
@IDE: VSCode
6
@Formatter: Clang-Format
7
@Description: Declaration of function to plot f(x) on a grid.
8
*/
9
10
#ifndef PLOTTING_H
11
#define PLOTTING_H
12
13
void
plot_function
(
long
double
x_min,
long
double
x_max,
long
double
y_min,
long
double
y_max,
14
int
width = 60,
int
height = 20,
long
double
label_interval = 1.0);
15
16
#endif
// PLOTTING_H
plot_function
void plot_function(long double x_min, long double x_max, long double y_min, long double y_max, int width=60, int height=20, long double label_interval=1.0)
Definition
plotting.cpp:20
plotting.h
Generated by
1.12.0