Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1993
*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 1993

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

Search the Archive

Re: Hiding Plots

  • To: mathgroup at yoda.physics.unc.edu (mathgroup)
  • Subject: Re: Hiding Plots
  • From: Brian Gray <gray at sabine.psu.edu>
  • Date: Sun, 2 May 93 10:05:50 EDT

The question was posed--

: : 	I would like to plot various functions  f1[x],f2[x].......  
: : ...  What I donot want is the individual plots  
: : (p1,p2..) to be displayed. I have'nt been able to figure out how to  
: : suppress all the individual plots and only disply them together.
: : I tried putting semicolan's, piping it to a file etc. Does not work.
: 
 I have run across similar problems and have come up with the following 
 solution. It is neccessary to set the Display variable to 'Identity' in order
 to supress plotting of a plot on the screen. This variable is help within the
 plot though, so when the combined plot is wanted the Display variable must be
 reset. I have created the following definitions to make doing this easier;
 
 noplot := {SetOptions[Plot,DisplayFunction->Identity],
     SetOptions[ListPlot,DisplayFunction->Identity]};
 
 yesplot := {SetOptions[Plot,DisplayFunction->$DisplayFunction],
     SetOptions[ListPlot,DisplayFunction->$DisplayFunction]};
 
 Showyes[x_] := Show[x,DisplayFunction->$DisplayFunction];
 
 -Call 'noplot' to supress all subsequent plots (here only Plot and 
 	ListPlot).
 -Call 'yesplot' to display all subsequently CREATED plots.
 -Call 'Showyes' to view previously supressed plots.
 
 These functions can easily be placed in an 'init.m' file so that they are
 installed each time you run Mma. The functions can be extended to cover other
 plotting functions in the same maaner as above by including them in the 
 command array.
 
 Hope this helps in some way...
--
---Better Sounding Creases Through Technology---
424 Waupelani Dr. #H-23
State College, PA  16801
(814)861-5308



%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-%-
%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%--%%
%%%---%%%---%%%---%%%---%%%---%%%---%%%---%%%---%%%---%%%---%%%---%%%---%%%---
-----------------------------------------------------------------------------
for e-mail address database, send  To: e-mail at xxx.lanl.gov  Subject: help
for european users, the database is duplicated as e-mail at babbage.sissa.it
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
submitters should include local preprint# at the END at END at END END END
of title/author field, e.g.
\\
Recent Seminal Results, by Author One and Author Two, 3 pages, tex dialect
(optional), EFI-92-41
\\
abstract
\\
body of paper




  • Prev by Date: Generating comma separated output
  • Next by Date: Re: Mathematica -> LaTeX
  • Previous by thread: Generating comma separated output
  • Next by thread: Re: Hiding Plots