Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Re: [mg5176,5202,5203,5207,5209]my error
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
w.meeussen.vdmcc@vandemoortele.be

Posts: 69
Registered: 12/4/04
Re: [mg5176,5202,5203,5207,5209]my error
Posted: Nov 18, 1996 2:00 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

At 02:02 14.11.96 -0500, you wrote:
>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?

>
in my reply [mg5203] I made an error in saying :
error>
error>it is better to use a pure function to get rid of the head List of
argumentlist:
error>fun[itemlist, #]& @@ argumentlist
error>

the "#" should be replaced by "##" since it is a argument-sequence we want :

correction>
correction> fun[itemlist, ##]& @@ argumentlist
correction>

sorry for this.

Wouter.

by the way,
both Gennady [mg5209] and Xah Lee [mg5202]
fail to produce
fun[ {item1, item2, ... }, arg1, arg2, ...]
from fun[], itemlist={item1, item2, ...}and argumentlist={arg1, arg2, ...}



NV Vandemoortele Coordination Center
Group R&D Center
Prins Albertlaan 79
Postbus 40
B-8870 Izegem
(Belgium)
Tel: +/32/51/33 21 11
Fax:+32/51/33 21 75
vdmcc@vandemoortele.be








Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.