MathGroup Archive 1996

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

Search the Archive

Re: Break a List into Individual Elements? (fwd)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5261] Re: [mg5176] Break a List into Individual Elements? (fwd)
  • From: Francisco Edmundo de Andrade <edmundo at lia.ufc.br>
  • Date: Fri, 15 Nov 1996 03:34:08 -0500
  • Sender: owner-wri-mathgroup at wolfram.com


On Wed, 6 Nov 1996, AES wrote:

> I want to write
> 
>    myPlotOptions = {Option1->value1,Option2->,value2,...}
>    
>    SetOptions[Plot, myPlotOptions]
> 
>    SetOptions[LogPlot, myPlot Options]
> 
> but SetOptions[] doesn't want to accept a list as the second 
> argument.  How can I accomplish this?
> 
> 

Well, try this:

(* Edmundo's contribution 1996 *)
myPlotOptions = Sequence[Option1->value1,Option2->value2]
SetOptions[Plot, myPlotOptions]
SetOptions[LogPlot, myPlotOptions]

It is a solution!

Kind regards.

Edmundo [8-)
-----------------------------
Universidade Federal do Ceara
  Department of Computing
     edmundo at lia.ufc.br
-----------------------------




  • Prev by Date: Re: SeedRandom oddity/flaw/bug/imperfection
  • Next by Date: quaternion package?
  • Previous by thread: Re: SeedRandom oddity/flaw/bug/imperfection
  • Next by thread: Help for Class Project