Tutorial: Plotting spin-polarized density of states #
This tutorial shows a practical workflow for plotting and styling spin-resolved DOS.
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. In this section, you are also asked to provide the Fermi energy. If the Fermi energy is given, the plot will automatically shift the energies so that the Fermi level is set to zero.
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 reports include values for each spin channel.
If you want this report in different units, use the Units panel in the right sidebar.
Step 2: Limits #
Limits
After plotting your baseline spin-polarized DOS figure, refine the visible window from Limits in the right sidebar.
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.
Navigation
Use the zoom sliders to focus on selected energy and DOS ranges. Drag slider handles to zoom in or out, and move the selected window to inspect different regions of the curves.
Step 3: 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.
You can tune line style and markers independently for spin-up and spin-down DOS curves. The same panel also lets you adjust Opacity and Plot Order, so overlapping channels remain readable.
Legend labels are auto-generated by default, and you can override them per spin channel when needed. During analysis, you can hide or unhide individual spin channels by clicking their items in the legend.
Step 4: 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 with a gray shade, and enable Border.
We set Radius to 3 to add rounded legend corners.
Step 5: 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 6: 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.