# scatterplot7

How to download and try this example

    Usage: pl -gif scatterplot7.htm

    Uses the data file scat7.dat

    #Proc Page:
    pagesize: 8.5 11
    #if @DEVICE in gif,png
      scale: 0.5
    #endif
    Title:  Comparison of Scores
            at 3 CPI vs. 6 CPI
            10-15-98
    #saveas: P

    #Proc Areadef:
    #saveas: A
    Title: Trial W
    Areaname: 4nw
    yrange: -10 40
    xrange 15 50
    Yaxis.label:  Difference,  3 CPI - 6 CPI
    Yaxis.labeldetails: adjust=-0.1
    xaxis.stubs: inc 5
    yaxis.stubs: inc 5
    Xaxis.label:  Mean score
    Frame:	yes

    #Proc Getdata:
      File:	scat7.dat

    #Proc scatterplot
    #saveas: B
    Yfield:	3
    Xfield: 4
    select: @@2 = W && @@6 = n
    symbol: shape=triangle style=filled radius=0.06

    #Proc scatterplot
    #saveas B2
    Yfield:	3
    Xfield: 4
    select: @@2 = W && @@6 = y
    symbol: shape=square style=filled radius=0.05

    #Proc line
    notation:	scaled
    #saveas:         L
    Points:		15 0 50 0

    ///////////////////
    #Proc Areadef:
    Title: Trial X
    #Clone: A
    Areaname: 4ne
    yaxis.label:

    #Proc scatterplot
    #clone: B
    select: @@2 = X && @@6 = n

    #Proc scatterplot
    #Clone: B2
    select: @@2 = X &&  @@6 = y

    #Proc line
    #Clone: L

    ///////////////////
    #Proc Areadef:
    Title: Trial Y
    #Clone: A
    Areaname: 4sw

    #Proc scatterplot
    #clone: B
    select: @@2 = Y && @@6 = n

    #Proc scatterplot
    #Clone: B2
    select: @@2 = Y &&  @@6 = y

    #Proc line
    #Clone: L

    ///////////////////
    #Proc Areadef:
    Title: Trial Z
    #Clone: A
    Areaname: 4se
    yaxis.label:

    #Proc scatterplot
    #clone: B
    select: @@2 = Z && @@6 = n
    legendlabel: Using procedure A

    #Proc scatterplot
    #Clone: B2
    select: @@2 = Z &&  @@6 = y
    legendlabel: Using procedure B

    #Proc line
    #Clone: L

    #proc legend
      location: 1 1