[S] color postscript - how to?

Jonathan Monteleone (monte@ihug.co.nz)
Tue, 25 Aug 1998 12:11:26 +1200

I am trying to prepare some 3D surfaces for a presentation. I am using a
false image with a contour overlay surface and a persp image. They are
both in the same S+ window.

I have tried exporting the surfaces in *.wmf format and than opening them
in powerpoint 95. This worked well for viewing, but when I went to have
slides made, the false image/contour surface had white lines in the
surface. These lines were not seen when viewing in powerpoint. I think
the lines are coming from the false image, but I am not sure. Any ideas
how these lines developed?

I next tried to export these surfaces as postscript files, but I could not
recover the color I see in the S+ window. I have read the old posts about
color postscript, but I seem to be missing the all important ps.options
object. I also seem to have a ps.colors object that is not a matrix.

Let me provide some information
Using S+ v3.3 on win95 machine
Typing ps.colors in S+
> ps.colors
[1] 0.0 0.6 0.3 0.9 0.4 0.7 0.1 0.5 0.8 0.2
Typing ps.options in S+
> ps.options()
Error: couldn't find function "ps.options"
> ps.options
Error: Object "ps.options" not found

A previous post suggested....
You need to have an object called ps.colors available. I forget where
it comes from. It's a matrix of 4 columns giving information about
each colour. If you can't find one at your site, I can send you a copy
of the one I use.
It works with 3.3 but I can't be sure it works with earlier versions.
Cheers, Patrick
Obviously, my ps.colors is not a matrix. Could anyone send me a proper
ps.colors object?
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news