bates@wingra.stat.wisc.edu (Douglas Bates) (03/22/90)
Someone asked if S on the NeXT could use the X11 device driver. I recently installed XNeXT and relinked S after compiling the X11 device driver. The x11() function in S now works. There are now two ways of getting S graphics on a NeXT; use the postscript() driver to generate Encapsulated PostScript in a file, then use PreView to look at it on the screen, or use x11() with XNeXT. The first method gives the best quality but is not interactive. It is also somewhat clumsy. Of course, the best results would be obtained with a native Display PostScript device driver but I still haven't gotten around to writing one. While learning a bit about the NextStep interface and Display PostScript, Murray Clayton and I did write a small application to do interative rotation of 3-d perspective plots of data. It is called Rotation on the archives at cs.orst.edu. We would like to submit it to j.cc.purdue.edu as well but still haven't heard back from the maintainer of that archive. The application is built around two classes that provide control of the 3-d perspective projections (see the README file). Those classes may be of use in other applications.