Re: combining graphics
- To: mathgroup at smc.vnet.net
- Subject: [mg24322] Re: combining graphics
- From: Harald Giese <giese at ifm.uni-hamburg.de>
- Date: Sun, 9 Jul 2000 04:52:32 -0400 (EDT)
- Organization: Institut fuer Meereskunde, Universitaet Hamburg
- References: <8k3lbq$3ko@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Robert wrote:
>
> how can i omit the plot of curves before combining them with Show[.]?
>
> e.g.
>
> a=Plot[x,{x,0,1}];
> b=Plot[2 x,{x,0,1}];
> Show[a,b];
>
> the output on the screen gets rather complex if a lot of
> Plot[.]-commands are used and since i'm only interested in the final
> Show[.]-output, i'd like to omitt the rest, is there a way to do this?
>
Robert,
use the Option "DisplayFunction":
a = Plot[x, {x, 0, 1}, DisplayFunction -> Identity];
b = Plot[2 x, {x, 0, 1}, DisplayFunction -> Identity];
Show[a, b, DisplayFunction -> $DisplayFunction];
Regards,
Harald
--
Harald Giese
Email: giese at dkrz.de
Phone: +49 (0)40 42838 5796; Fax: +49 (0)40 5605724
Institut fuer Meereskunde der Universitaet Hamburg
(Institute of Oceanography of the University of Hamburg)
Troplowitzstrasse 7, D-22529 Hamburg