MathGroup Archive 2002

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

Search the Archive

Re: invisible graphics

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33983] Re: [mg33957] invisible graphics
  • From: Murray Eisenberg <murraye at attbi.com>
  • Date: Thu, 25 Apr 2002 03:00:03 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200204240522.BAA12148@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

To turn off the "side effect" of display of a graphics object, use
option DisplayFunction -> Identity:

  g = Plot[x^2, {x, -1, 1}, DisplayFunction -> Identity];

To turn display back on later for an already-created graphics object:

  Show[g, DisplayFunction -> $DisplayFunction];

WGM wrote:
> 
> Hi, my request is going to seem sort of silly, so I'll explain what
> I'm trying to do.  I'm creating some fairly complex plots in
> mathematica that are made of curves produced by ParametricPlot[] and
> other graphics produced from Graphics[] commands.  My problem is that
> I want to be able to easily turn certain plots "off" and "on."  I'd
> like to do this with PlotStyle if possible, but all the obvious things
> don't work.  For instance, if you do
> 
> Plot[x^2,{x,-1,1},PlotStyle->Thickness[0]]
> 
> you can still see the graph.  I've also tried AbsoluteThickness[0],
> PointSize[0], AbsolutePointSize[0], and Dashing[{}] and none of them
> make the plot disappear.  I can't set the color to white, because then
> the curves I'm trying to hide appear to erase the other curves in my
> picture.
> 
> Does anyone know an option I can give to ParametricPlot that will
> cause it to not draw a graph?

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.       
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street
Amherst, MA 01375


  • Prev by Date: Re: Reading Data into Mathematica
  • Next by Date: Re: Re: Why these graphs differ?
  • Previous by thread: Re: invisible graphics
  • Next by thread: RE: invisible graphics