1\documentclass[11pt]{article} 2\usepackage{graphics} 3 4\begin{document} 5 6\title{DescribeDisplay plugin for {\tt ggobi}} 7\author{Deborah F. Swayne and Di Cook} 8\maketitle 9 10\section{Output} 11 12On the ``Tools'' menu select ``Save Display Description''. This brings 13up the panel: 14 15\bigskip 16\centerline{\pdfimage width 2.5in {DescribeDisplay.jpg}} 17\bigskip 18 19Saving the display generates output that can be read into R (or 20Splus). For example, the 2D tour window prints out as follows: 21 22\begin{verbatim} 23display = list(colormap = list(name='Set1 9', 24ncolors=9, 25type=3, 26system='rgb', 27backgroundColor = c(0.000,0.000,0.000), 28hiddenColor = c(0.300,0.300,0.300), 29accentColor = c(1.000,1.000,1.000), 30foregroundColors = list(c(1.000,1.000,0.200),...), 31title='NCI tour 1',type='scatterplot',nplots=1, 32plots = list(list(type='scatterplot',projection='2D Tour',scale=c(0.700, 0.700), 33tformLims=c(xmin=0.000, xmax=0.000, ymin=0.000, ymax=0.000), 34planarLims=c(xmin=-19924.561, xmax=27163.439, ymin=19924.561, ymax=-19924.561), 35points = list(index = c(0,1,2,3,...) 36x = c(7133.96,9223.29,6434.39,10577.8,...) 37y = c(-10675.4,-8255.06,-10565.8,-12073,...) 38color = c(0,0,0,0,...) 39glyphtype = c(6,6,6,6,...) 40glyphsize = c(1,1,1,1,...) 41hidden = c(0,0,0,0,...) 42), 43tour2dparams = list(F = c(0.011,-0.172,-0.019,...)) 44showMissing=1,showPoints=1,showDirectedEdges=0, 45 showUndirectedEdges=0,showArrowheads=0,) 46\end{verbatim} 47 48\section{Using R} 49 50The file can be read directly into R using: 51 52\verb#plot1<-source(filename)# 53 54\noindent and elements accessed with commands such as: 55 56\verb#F1<-matrix(plot1$value$plots[[1]]$tour2dparams$F,ncol=2,byrow=F)# 57 58 59\end{document} 60