Tutorial: Plotting spin-polarized density of states #
This tutorial shows a practical workflow for plotting and styling spin-resolved DOS for CaFeO3.
Step 1: Upload DOS files and parse #
The first step is to upload the required files from your DFT simulation. The upload panel indicates which files can be provided. For VASP DOS, the Fermi energy is read from DOSCAR, so there is no separate Fermi-energy input in this mode.
After selecting files, click Parse to load the data.
Review generated DOS report cards #
After parsing, the page generates report cards that summarize key results. You can expect values such as bandgap, material type, Fermi value, lattice parameters, angles, volume, and density. If the simulation is spin-polarized and the bandgaps differ between channels, the report card shows separate Spin ↑ and Spin ↓ bandgap entries.
If you want this report in different units, use the Units panel in the right sidebar.
| Bandgap | 0.00 eV |
| Spin ↑ | 0.00 eV |
| Spin ↓ | 1.17 eV |
| Type | Half-metal |
| Fermi | 4.38 eV |
| Volume | 56.07 ų |
| Density | 4.26 g/cm³ |
| a | 3.83 Å |
| b | 3.83 Å |
| c | 3.83 Å |
| α, β, γ | 90°, 90°, 90° |
Step 2: Configure spin-resolved controls in general options #
For this tutorial we use spin-polarized CaFeO3 data. When the uploaded calculation is spin-polarized, the General Options panel exposes separate controls for each spin channel.
If your calculation is not spin-polarized, you will only see one Line/Marker panel and one Legend Label panel. For spin-polarized calculations, the corresponding spin-down panels are added automatically.
Use the first pair to style line and marker appearance for both spins.
Then use the second pair to control the legend labels for both channels.
Step 3: Limits #
Limits
To focus on a specific energy range, open Limits in the right sidebar. In this example, set the y-axis range from -5 eV to 8 eV.
In this example, we set both energy and DOS-state limits from the same panel. When you update the energy window, DOS-state limits update automatically to match.
Click Plot to apply the updated limits.
Step 4: Navigation #
Use the quick ribbon controls above the chart to manage interaction behavior while inspecting and presenting figures.
Dark Mode: toggle only the chart styling mode to view the same data in light and dark
figure themes without changing the rest of the page style.
To toggle page dark/light mode, use the top-right button:
/
.
Tooltip: control whether hover readouts and axis-pointer guides are shown. Tooltips are very helpful for inspecting projection contributions. While the axis pointer guides marks the exact x and y position you are of the mouse pointer. Below is an example of a tooltip that appears when you hover over a band segment.
Drag: enable click-and-drag panning of the current zoom window. Use this option to inspect adjacent regions without resetting the zoom.
Zoom Sliders: toggle the axis zoom sliders on or off for interactive zoom control.
Zoom Scroll: enable mouse scroll-wheel zoom interactions. For best results, hold Ctrl while scrolling. You can also hold Ctrl without enabling Zoom Scroll to quickly zoom in and out around the mouse focus.
Zoom Window: enable zooming into a specific rectangular region in a single action.
Step 5: Configure the legend panel #
Use the Legend panel in the right sidebar to style the legend box. In this example, we set Orientation to Vertical, enable BG, enable Border, and set Radius to 2.
Step 6: Customization and styling #
For axis, legend, font, colors, and other appearance controls, use the right sidebar and see the full settings reference in Plot Settings.
Step 7: Export the figure #
When your figure is ready, click the download button in the chart toolbar to export it. Use this to save a clean image for reports, slides, or publications.
If you download SVG, the figure and element positions remain fully editable when opened in software such as Adobe Illustrator, Inkscape, or GIMP.
Step 8: Preserve the SVG text font appearance #
If you download an SVG and open it on another computer that does not have the same fonts, the text may fall back to default system fonts and look different.
To lock the typography, open the SVG in a graphics editor such as Adobe Illustrator, Inkscape, or GIMP, and convert text to paths/curves.
Keep an editable master copy before converting text, because path/curve text is no longer editable as normal text.