Interactive Data Visualizer
Drag and drop massive multi-column data logs. The parser natively ignores GROMACS metadata and renders standard CSVs instantly using WebGL.
Supported formats: .xvg, .csv, .txt, .dat
Render Engine
No file loaded
Drag and drop massive multi-column data logs. The parser natively ignores GROMACS metadata and renders standard CSVs instantly using WebGL.
Supported formats: .xvg, .csv, .txt, .dat
No file loaded
Drop a GROMACS .xvg (or any whitespace/CSV numeric table) and explore every column interactively, the parser reads the embedded metadata so your axes and legends come out labelled.
Drag & drop or select a .xvg, .csv, .txt or .dat file, or click load a sample to try a synthetic RMSD/Rg trace. Everything is parsed in your browser.
Choose which column is the X axis, then tick any number of Y columns to overlay. Legends and axis titles are pulled from the file's @ metadata when present.
Toggle a log Y axis, show markers, or apply spline smoothing. The plot is fully zoomable and pannable via the Plotly toolbar.
Use the camera icon to save a PNG, or click Python to copy matplotlib code that redraws the current selection from your file with numpy.loadtxt.
.xvg is the plain-text output written by GROMACS analysis tools (and read by Grace/xmgrace). Knowing its structure explains what this tool does automatically.
Lines starting with # are comments; lines starting with @ are Grace formatting commands. This tool reads @ title, @ xaxis label, @ yaxis label and @ sN legend to label the plot, and skips everything else, so the raw numeric matrix is all that gets plotted.
Below the metadata is a whitespace-separated numeric table: the first column is usually the independent variable (time, distance, reaction coordinate) and each remaining column a data series. Common outputs include RMSD (gmx rms), radius of gyration (gmx gyrate), and PMF/free-energy profiles.
The Python export uses numpy.loadtxt(..., comments=['@', '#']), which is the idiomatic way to read an .xvg: the comments argument makes NumPy skip exactly the metadata lines described above, leaving the numeric matrix. The generated script plots only the columns you selected.