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: [mg5209] Re: Break a List into Individual Elements?
  • From: Gennady <stupakov at slac.stanford.edu>
  • Date: Thu, 14 Nov 1996 02:02:11 -0500
  • Organization: SLAC
  • Sender: owner-wri-mathgroup at wolfram.com

In article <55p9b3$8vb at dragonfly.wolfram.com> AES,
siegman at ee.stanford.edu writes:
>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?
>
>

You can use Map in this case:

Map[SetOptions[Plot, #]&,myPlot Options]

Gennady


  • Prev by Date: Re: Mathlink, Excel 7.0, Mathematica, Windows NT
  • Next by Date: psfix in 2.2
  • Previous by thread: Re: Break a List into Individual Elements?
  • Next by thread: Re: Break a List into Individual Elements?