# spence1_rt

How to download and try this example

    Usage: pl -gif spence1_rt.htm -cm

    // contributed by Andreas Widmann (widmann@rz.uni-leipzig.de)
    //
    // uses cm absolute units

    #proc getdata
    // these are 4 very long lines..
    //				aai		aac				avi		avc				vai		vac				vvi		vvc
     data:	100	516	541	533	38	558 43	424	457	435	21	461	20	458	453	499	29	499	28	499	512	457	16	476	18
    	200	507	513	522	37	559 41	406	449	424	19	457	20	454	453	474	25	497	30	480	502	444	15	475	16
    	700	510	511	529	40	545 44	426	425	430	18	446	18	440	445	486	31	490	33	470	471	463	16	457	20

    #proc page
      textsize: 10
      font: /Helvetica
      linewidth: 0.4
      tightcrop: yes
      #if @DEVICE in png,gif
        scale: 0.7
      #endif

    #proc areadef
      title: Auditiver Cue - Auditives Target
      titledetails: size=8 style=B adjust=0,-0.5 align=C
      rectangle: 2 8.5 8 14.5
    //  box: 6 6
    //  location: 2 8.5
      frame: yes
      xrange: 0 900
      yrange: 375 625
      xaxis.selflocatingstubs: datafields 1 1
      xaxis.stubomit: *
      xaxis.tics: width=1
      xaxis.ticlen: 0 0.1
      yaxis.stubs: incremental 25
      yaxis.stubrange: 400 600
      yaxis.stubomit: *
      yaxis.tics: width=1
      yaxis.ticlen: 0 0.1
      yaxis.minortics: yes
      yaxis.minorticinc: 5
      yaxis.minortics: width=1
      yaxis.minorticlen: 0 0.05
      #saveas: area

    #proc xaxis
      location: 625(s)
      selflocatingstubs: datafields 1 1
      stubomit: *
      tics: width=1
      ticlen: 0.1
      #saveas: 2ndx

    #proc yaxis
      stubs: incremental 25
      stubrange: 400 600
      stubdetails: adjust=0.25
      tics: none
      #saveas: ywithstubs

    #proc breakaxis
      axis: y
      breakpoint: 387.5
      linelength: 0.2
      linedetails: width=1
      gapsize: 0.1
      #saveas: break

    #proc yaxis
      location: 900(s)
      stubs: incremental 25
      stubrange: 400 600
      stubomit: *
      tics: width=1
      ticlen: 0.1
      minortics: yes
      minorticinc: 5
      minortics: width=1
      minorticlen: 0.05
      #saveas: 2ndy

    #proc lineplot
      xfield: 1
      yfield: 2
      linedetails: color=0.5 width=3.0
      pointsymbol: shape=square style=fill radius=0.1 fillcolor=0.5
      legendsampletype: symbol
      legendlabel: Spence & Driver, 1997: ipsilateral
      #saveas: 1

    #proc lineplot
      xfield: 1
      yfield: 3
      linedetails: color=0.5 style=1 dashscale=2 width=3.0
      pointsymbol: shape=triangle style=fill radius=0.1 fillcolor=0.5
      legendsampletype: symbol
      legendlabel: Spence & Driver, 1997: contralateral
      #saveas: 2

    #proc lineplot
      xfield: 1
      yfield: 4
      linedetails: width=3.0
      pointsymbol: shape=square style=fill radius=0.1
      legendsampletype: symbol
      legendlabel: ipsilateral
      #saveas: 3

    #proc bars
      locfield: 1
      lenfield: 4
      errbarfields: 5
      thinbarline: width=1
      tails: 0.1
      #saveas: errorbars

    #proc lineplot
      xfield: 1
      yfield: 6
      linedetails: style=1 dashscale=2 width=3.0
      pointsymbol: shape=triangle style=fill radius=0.1
      legendsampletype: symbol
      legendlabel: contralateral
      #saveas: 4

    #proc bars
      #clone: errorbars
      lenfield: 6
      errbarfields: 7
      tails: 0.1

    #proc areadef
      #clone: area
      title: Auditiver Cue - Visuelles Target
      rectangle: 8 8.5 14 14.5

    #proc xaxis
      #clone: 2ndx

    #proc yaxis
      #clone: 2ndy

    #proc breakaxis
      #clone: break

    #proc breakaxis
      #clone: break
      location: 900

    #proc lineplot
      #clone: 1
      yfield: 8

    #proc lineplot
      #clone: 2
      yfield: 9

    #proc lineplot
      #clone: 3
      yfield: 10

    #proc bars
      #clone: errorbars
      lenfield: 10
      errbarfields: 11
      tails: 0.1

    #proc lineplot
      #clone: 4
      yfield: 12

    #proc bars
      #clone: errorbars
      lenfield: 12
      errbarfields: 13
      tails: 0.1

    #proc areadef
      #clone: area
      title: Visueller Cue - Auditives Target
      rectangle: 2 2.5 8 8.5

    #proc xaxis
      selflocatingstubs: datafields 1 1
      ticlen: 0 0.1
      #saveas: xwithstubs

    #proc xaxis
      #clone: 2ndx

    #proc yaxis
      #clone: ywithstubs

    #proc breakaxis
      #clone: break

    #proc yaxis
      #clone: 2ndy

    #proc lineplot
      #clone: 1
      yfield: 14

    #proc lineplot
      #clone: 2
      yfield: 15

    #proc lineplot
      #clone: 3
      yfield: 16

    #proc bars
      #clone: errorbars
      lenfield: 16
      errbarfields: 17
      tails: 0.1

    #proc lineplot
      #clone: 4
      yfield: 18

    #proc bars
      #clone: errorbars
      lenfield: 18
      errbarfields: 19
      tails: 0.1

    #proc areadef
      #clone: area
      title: Visueller Cue - Visuelles Target
      rectangle: 8 2.5 14 8.5

    #proc xaxis
      #clone: xwithstubs

    #proc xaxis
      #clone: 2ndx

    #proc yaxis
      #clone: 2ndy

    #proc breakaxis
      #clone: break

    #proc breakaxis
      #clone: break
      location: 900

    #proc lineplot
      #clone: 1
      yfield: 20

    #proc lineplot
      #clone: 2
      yfield: 21

    #proc lineplot
      #clone: 3
      yfield: 22

    #proc bars
      #clone: errorbars
      lenfield: 22
      errbarfields: 23
      tails: 0.1

    #proc lineplot
      #clone: 4
      yfield: 24

    #proc bars
      #clone: errorbars
      lenfield: 24
      errbarfields: 25
      tails: 0.1

    #proc areadef
      rectangle: 2 2.5 14 14.5
      xrange: 0 1
      yrange: 0 1
      xaxis.label: SOA [ms]
      xaxis.tics: none
      xaxis.axisline: none
      yaxis.label: Reaktionszeit [ms]
      yaxis.tics: none
      yaxis.axisline: none

    #proc legend
      location: min+0.5 min-1.25
      format: multiline
      noclear: yes
      specifyorder: ipsi
    		contra

    #proc legend
      location: min+6.5 min-1.25
      format: multiline
      specifyorder: Spence & Driver, 1997: i
    		Spence & Driver, 1997: c