On Mon, Jun 30, 2008 at 10:27 AM, Francois Maltey wrote: > > Gabriel and Bill discuss about : > > draw(sin(x), x=1..10, title=="sin function") > ... > all theses optional parameters might occur in a list : > > draw(sin(x), x=1..10, [title="sin function"]), > draw(sin(x), x=1..10, []) or > draw(sin(x), x=1..10, [title="sin function", numberOfPoints = 100, > drawAxes=false, viewWindows=[-%pi..%pi,-1..1]]) > > The type of this list contains terms of a new domain > OptionalParameters, described by : > identificator = an Any object, it looks like other cas... >
If you wish, you can call the Axiom draw command in the manner you describe above, avoiding the use of == draw(sin(x), x=1..10, [title("sin function")), draw(sin(x), x=1..10, []) draw(sin(x), x=1..10, [title("sin function"), var1Steps(100), clip(false), range([-%pi..%pi,-1..1])]) There is no need to invent a new type of parameter, although not all options in your example seem to be available. Regards, Bill Page. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel