Subject: XploRe: Learning Guide
See XploRe:

Quantlet: start02
Description: Example quantlet which reads data, plots a scatterplot, computes the regression line, and prints the final display.
Download: start02.xpl

Code:
  x=read("pullover")
  x=x[,2|1]
;
  library("plot")
  plot(x)
;
  regx=grlinreg(x)
  plot(x,regx)
;
  x=setmask(x,"large","blue","cross")
  plot(x)
  setgopt(plotdisplay,1,1,"xlabel","price","ylabel","sales")
  setgopt(plotdisplay,1,1,"title","Pullover Data")
;
  print(plotdisplay,"Plot1.ps")

Subject: XploRe: Learning Guide
See XploRe:

© MD*Tech - Method and Data Technologies, generated on 6.6.2000 .