Assuming you're using the Image tool, look at Options->Set Background
Color. If you are using AutoAxes, to change the axis colors, do
Image->Options->AutoAxis->Annotation Colors and look at the bottom of the
dialog.
If you're using Camera/Display/AutoAxes, the background color is an option
for Camera, and the AutoAxes colors are options for AutoAxes.
Donna L. Gresh, Ph.D.
IBM T.J. Watson Research Center
(914) 945-2472
http://www.research.ibm.com/people/g/donnagresh
[EMAIL PROTECTED]
Nicolas Neuss
<[EMAIL PROTECTED] To: Brent Wood <[EMAIL
PROTECTED]>
berg.De> cc:
[email protected], Nicolas Neuss
Sent by: <[EMAIL PROTECTED]>
[EMAIL PROTECTED] Subject: Re: [opendx-users]
Printing pictures
son.ibm.com
01/23/2003 09:35 AM
Please respond to
opendx-users
Brent Wood <[EMAIL PROTECTED]> writes:
> On 22 Jan 2003, Nicolas Neuss wrote:
>
> > Greetings,
> >
> > Here is (probably) an easy question: What is the best way to print DX
> > pictures to postscript? (Especially for an xy-graph it is annoying to
get
> > it white on black.)
> >
>
> DX can print PS directly. Assuming your onscreen picture is from the
image
> module, this will work fine:
>
> Image -> Render -> Writeimage
>
> The Writeimage module allows you to choose from a range of formats
> including PS/EPS in color/gray.
>
>
> Cheers
>
> Brent Wood
This I have done. I guess my main problem is that the background is always
black which is not good for printing on white paper. There should be some
command for switching the background to white, but I didn't find it in the
reference manual.
Thanks, Nicolas
P.S.: Another problem is that the pictures are stored as bitmaps (as much
as I can see). Of course, this is very much overhead for a simple
xy-graph, see the example below. Is there a way to make better use of
postscript here?
----------------------------------------------------------------
object 1 class array type float rank 1 shape 1 items 8 data follows
0.
0.25
0.25
0.5
0.5
0.75
0.75
1.
object 2 class array type int rank 1 shape 2 items 4 data follows
6 7
4 5
2 3
0 1
attribute "element type" string "lines"
attribute "ref" string "positions"
object 4 class array type float rank 0 items 8 data follows
0.
9.37500e-2
9.37500e-2
0.125
0.125
9.37500e-2
9.37500e-2
0.
attribute "dep" string "positions"
object "simplex-part" class field
component "positions" value 1
component "connections" value 2
component "data" value 4
end
----------------------------------------------------------------
Look at it e.g. with
dx -script
data = Import("image-data-1d.dx");
data = Options(data, "mark", "circle");
xyplot = Plot(data);
camera = AutoCamera(xyplot);
image = Render (xyplot, camera);
Display (image);
Write it with:
WriteImage(image,"image-data-1d.dx", "ps");