
PLOT
ALL AXISLABELS,
VERY LIGHT GRAY STEPPEDAREA, GRAY STEPPEDLINE
WITH
TITLE "The Prime Rate"
FORMAT Y DECIMAL "#'%'"
GRIDLINES
FOREGROUND DARK GRAY
SELECT
IF(YEAR(dt)
IN (1983, 1988, 1993, 1998, 2003, 2009) AND
MONTH(dt) = 1 and DAY(dt) = 1, YEAR(dt), ''),
primena, primena
FROM prime_rate2
WHERE dt > "1983";
Use Entrance STEPPEDLINE and STEPPEDAREA to step lines and area like the Manhattan chart above showing the Federal Reserve prime rate.
This example also shows how to add the percent symbol to Y axis labels (using FORMAT Y DECIMAL "#'%'")