Physics 50 Fitting Page


Upload a CSV file with columns x,y,y_uncertainty

optional key-value pairs to format the plot

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.

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
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.