Two y axes in Maxima 2D plots

In MATLAB, I occasionally have need for the plotyy() command for making a plot of two different functions with widely varying scales.

Turns out Maxima draw has an equivalent functionality by setting the option yaxis_secondary:

secondary_y_axis_maxima

Here’s the documentation.

Advertisements