MathGroup Archive 2005

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

Search the Archive

list of options in Plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61879] list of options in Plot
  • From: pieter.eendebak at gmail.com
  • Date: Thu, 3 Nov 2005 04:58:48 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi!

I need to plot functions with the same options all over again. For
example

Plot[ x^2, {x,0,1}, PlotStyle->RBGColor[1,0,0], Ticks->None]
Plot[ x^3, {x,0,1}, PlotStyle->RBGColor[1,0,0], Ticks->None]
Plot[ x^4, {x,0,1}, PlotStyle->RBGColor[1,0,0], Ticks->None]

I would like to shorten this to

options={PlotStyle->RBGColor[1,0,0], Ticks->None}
Plot[x^2, {x,0,1}, options]
Plot[x^3, {x,0,1}, options]
Plot[x^4, {x,0,1}, options]

The code above does not work, I need some `unlist' function for the
options.  Can someone tell me how to do this in Mathematica?

thanks,
pieter


  • Prev by Date: Re: boolean function simplify
  • Next by Date: Mean of skew-normal distribution
  • Previous by thread: Re: help on kind of 'inverse exponential' function ?
  • Next by thread: Re: list of options in Plot