Re: Show graphics command
- To: mathgroup at smc.vnet.net
- Subject: [mg40390] Re: [mg40347] Show graphics command
- From: "Y.A.Tesiram" <yas at pcomm.hfi.unimelb.edu.au>
- Date: Thu, 3 Apr 2003 01:45:39 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
G'day,
Use DisplayFunction -> Identity to suppress the graphic display of
ListPlot and Plot.
e.g. ListPlot[data, DisplayFunction -> Identity]
Then use DisplayFunction -> $DisplayFunction in Show to show the combined
graphic on screen.
Yas
On Wed, 2 Apr 2003, Nathan Moore wrote:
> The list operations have been very useful.
>
> Here's a pet peeve. Often when I combine several graphics objects with
> the show command I get a bunch of extraneous plots. Suppose I have a list
> of {x,y} pairs (named "data") and a fit function f[x] and I want to show
> them together. The easiest way to do this is with the command,
>
> Show[ListPlot[data],Plot[f[x],{x,0,Xo}]
>
> When I execute this I get 3 plots, ListPlot[data], the Plot[f[x]], and
> then the tro combined. How can I have the front end suppress the first
> two plots? (this "error" is especially annoying when I'm plotting 7 or 8
> lists together)
>
> Nathan Moore
>
>
>