Physics 50 Fitting Page
This updated page allows you to paste data directly into a textbox. If you need to upload a CSV file, click here.
Paste data from your spreadsheet into the text box at left. The first row
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 |
| log | change axis display to logarithmic | logx=True, logy=False |
| mask | omit points from a fit; pass 1 to omit point 0 to use; mask length should match data length | mask=100000 |
| 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.


