1-D Boxplot (GPL)

Figure 1. GPL for 1-D box plot
* Open sample file Employee Data.sav.
GGRAPH
  /GRAPHDATASET NAME="graphdataset" VARIABLES=salary
  /GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
  SOURCE: s=userSource(id("graphdataset"))
  DATA: salary = col(source(s), name("salary"))
  COORD: rect(dim(1))
  GUIDE: axis(dim(1), label("Salary"))
  ELEMENT: schema(position(bin.quantile.letter(salary)), size(size."50%"))
END GPL.
Figure 2. 1-D boxplot
1-D boxplot