Physics 50 Fitting Page
Select a comma-separated values file holding the data you wish to plot
and/or fit. You may use either commas or tabs as the delimiter between columns.
The first row of the CSV file must hold the column labels,
which are then used to label the x and y axes.
You may surround algebraic variables and Greek letters with dollar signs; e.g., $\theta$ (°)
or
$L$ (cm)
or $T^2$ (s$^2$)
or
$L_{\rm string}$ (cm)
. Some characters are special and need to be
escaped with a leading backslash, including #
. If you run into
trouble, try removing non alphanumeric characters from your column labels.
xlabel | ylabel | y uncertainties |
---|---|---|
1.23 | 2.54 | 0.2 |
2.34 | 4.25 | 0.15 |
3.73 | 7.72 | 0.32 |
5.13 | 8.17 | 0.2 |
Optional keys — separate pairs with commas
xmin | lower limit of x axis | xmin=0 |
---|---|---|
ymin | lower limit of y axis | ymin=0 |
legend | Position of the legend ('south', 'north', 'east', 'west') | legend=east |
dpi | Resolution of the PNG image | dpi=600 |
format | Output format | format=pdf |
If you would like to define your own fitting function to use with the Physics 50 Fitter, click here to download a zip archive with the code and an example Jupyter notebook that illustrates how to use it.