Menu

Mastering Math Views: Grids & Complex Equations

Precision is key in mathematics. Sometimes you need a clean abstract shape, but other times you need a rigorous grid with clear numerical labels. We’ve enhanced our tools to support both.

1. Custom Grids and Labels

You can now control the density of the grid lines and enable axis labels for better readability.

Trigonometric Grid

Grid steps of π/2

y=sin(x)y = \sin(x)

-6.28 -4.71 -3.14 -1.57 0 1.57 3.14 4.71 6.28 -1.5 -1 -0.5 0 0.5 1 1.5
Sine Wave with Labels

Note: The x-axis steps are set to approx π/2\pi/2 (1.57).


2. Complex Multi-Function Plots

Combining EquationGraph with StyledMath (KaTeX) creates a textbook-quality experience.

Harmonic Addition

Adding sine and cosine

f(x)=sin(x)+cos(x)f(x) = \sin(x) + \cos(x)

-6 -5 -4 -3 -2 -1 0 1 2 3 4 5 6 -2 -1 0 1 2
Superposition

3. Dark Mode Adaptation

Our components automatically adapt to your site’s theme. The grids become subtle, and the text adjusts to be legible against dark backgrounds.

Dark Mode Preview

y=ex2y = e^{-x^2}

-3 -2.5 -2 -1.5 -1 -0.5 0 0.5 1 1.5 2 2.5 3 -0.2 0 0.2 0.4 0.6 0.8 1 1.2
Gaussian Function

Usage

<EquationGraph 
    function="sin"
    xStep={1}        // Grid every 1 unit
    yStep={0.5}      // Grid every 0.5 units
    showLabels={true} // Enable numbers
/>