Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: combining graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg24340] Re: combining graphics
  • From: "Atul Sharma" <atulksharma at yahoo.com>
  • Date: Sun, 9 Jul 2000 04:52:46 -0400 (EDT)
  • References: <8k3lbq$3ko@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

You could set $DisplayFunction-> Identity in each of your Plot statements to
suppress the display, and then explicitly specify
$DisplayFunction->DisplayFunction in your 'Show' statement. An economical
trick when many different plots are combined is to use the Block statement
to temporarily assign a value to $DisplayFunction, which will revert to its
default value when the Show is called outside of Block e.g.

f1[x_] = Cos[x]; f2[x_] = Sin[x];

Block[{$DisplayFunction = Identity},
    p1 = Plot[f1[x], {x, 0, 2 Pi}];
    p2 = Plot[f2[x], {x, 0, 2 Pi}]
    ];

Show[p1, p2]

HTH


Robert wrote in message <8k3lbq$3ko at smc.vnet.net>...
>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?
>
>thanks, robert
>
>
>
>
>



  • Prev by Date: Re: HELP: personal package
  • Next by Date: Re: l'Hopital's Rule
  • Previous by thread: Re: combining graphics
  • Next by thread: Re: combining graphics