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

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

Search the Archive

Re: Break a List into Individual Elements?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg5221] Re: [mg5176] Break a List into Individual Elements?
  • From: Francisco Edmundo de Andrade <edmundo at lia.ufc.br>
  • Date: Fri, 15 Nov 1996 03:22:39 -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: Programming: Replace Heads
  • Next by Date: Mathematica platforms
  • Previous by thread: Re: Break a List into Individual Elements?
  • Next by thread: Re: Re: Break a List into Individual Elements?