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 with columns (x, y, y_unc) separated by tabs or commas

optional key-value pairs to format the plot

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.

xlabelylabely uncertainties
1.232.540.2
2.344.250.15
3.737.720.32
5.138.170.2

Optional keys — separate pairs with commas
xminlower limit of x axisxmin=0
yminlower limit of y axisymin=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.